Home
last modified time | relevance | path

Searched refs:idlist (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/sys/netinet6/
H A Dscope6.c142 scope6_set(struct ifnet *ifp, struct scope6_id *idlist) in scope6_set() argument
167 if (idlist->s6id_list[i] && in scope6_set()
168 idlist->s6id_list[i] != sid->s6id_list[i]) { in scope6_set()
174 idlist->s6id_list[i] != ifp->if_index) { in scope6_set()
183 if (!ifnet_byindex(idlist->s6id_list[i])) { in scope6_set()
202 sid->s6id_list[i] = idlist->s6id_list[i]; in scope6_set()
211 scope6_get(struct ifnet *ifp, struct scope6_id *idlist) in scope6_get() argument
224 *idlist = *sid; in scope6_get()
282 scope6_get_default(struct scope6_id *idlist) in scope6_get_default() argument
286 *idlist = V_sid_default; in scope6_get_default()
/freebsd-14.2/sys/dev/drm2/
H A Ddrm_os_freebsd.c86 drm_find_description(int vendor, int device, const drm_pci_id_list_t *idlist) in drm_find_description() argument
90 for (i = 0; idlist[i].vendor != 0; i++) { in drm_find_description()
91 if ((idlist[i].vendor == vendor) && in drm_find_description()
92 ((idlist[i].device == device) || in drm_find_description()
93 (idlist[i].device == 0))) { in drm_find_description()
94 return (&idlist[i]); in drm_find_description()
105 drm_probe_helper(device_t kdev, const drm_pci_id_list_t *idlist) in drm_probe_helper() argument
118 id_entry = drm_find_description(vendor, device, idlist); in drm_probe_helper()
139 drm_attach_helper(device_t kdev, const drm_pci_id_list_t *idlist, in drm_attach_helper() argument
150 dev->id_entry = drm_find_description(vendor, device, idlist); in drm_attach_helper()
H A DdrmP.h1738 int drm_probe_helper(device_t kdev, const drm_pci_id_list_t *idlist);
1739 int drm_attach_helper(device_t kdev, const drm_pci_id_list_t *idlist,
/freebsd-14.2/crypto/openssh/
H A Dssh-add.c258 struct ssh_identitylist *idlist; in add_file() local
342 for (i = 0; i < idlist->nkeys; i++) { in add_file()
345 left = sshkey_signatures_left(idlist->keys[i]); in add_file()
360 ssh_free_identitylist(idlist); in add_file()
363 ssh_free_identitylist(idlist); in add_file()
536 struct ssh_identitylist *idlist; in list_identities() local
548 for (i = 0; i < idlist->nkeys; i++) { in list_identities()
550 fp = sshkey_fingerprint(idlist->keys[i], in list_identities()
554 sshkey_type(idlist->keys[i])); in list_identities()
562 fprintf(stdout, " %s", idlist->comments[i]); in list_identities()
[all …]
H A Dsshconnect2.c301 typedef struct idlist Idlist;
312 TAILQ_HEAD(idlist, identity);
328 struct idlist keys;
1636 struct ssh_identitylist *idlist; in get_agent_identities() local
1656 *idlistp = idlist; in get_agent_identities()
1677 struct ssh_identitylist *idlist; in pubkey_prepare() local
1733 for (j = 0; j < idlist->nkeys; j++) { in pubkey_prepare()
1757 id->key = idlist->keys[j]; in pubkey_prepare()
1759 idlist->keys[j] = NULL; in pubkey_prepare()
1760 idlist->comments[j] = NULL; in pubkey_prepare()
[all …]
H A Dauthfd.c362 struct ssh_identitylist *idlist = NULL; in ssh_agent_has_key() local
364 if ((r = ssh_fetch_identitylist(sock, &idlist)) != 0) { in ssh_agent_has_key()
368 for (i = 0; i < idlist->nkeys; i++) { in ssh_agent_has_key()
369 if (sshkey_equal_public(idlist->keys[i], key)) { in ssh_agent_has_key()
375 ssh_free_identitylist(idlist); in ssh_agent_has_key()
H A Dssh-agent.c153 TAILQ_HEAD(idqueue, identity) idlist;
242 TAILQ_INIT(&idtab->idlist); in idtab_init()
598 TAILQ_FOREACH(id, &idtab->idlist, next) { in lookup_identity()
648 TAILQ_FOREACH(id, &idtab->idlist, next) { in process_request_identities()
1032 TAILQ_REMOVE(&idtab->idlist, id, next); in process_remove_identity()
1048 for (id = TAILQ_FIRST(&idtab->idlist); id; in process_remove_all_identities()
1049 id = TAILQ_FIRST(&idtab->idlist)) { in process_remove_all_identities()
1050 TAILQ_REMOVE(&idtab->idlist, id, next); in process_remove_all_identities()
1074 TAILQ_REMOVE(&idtab->idlist, id, next); in reaper()
1574 TAILQ_INSERT_TAIL(&idtab->idlist, id, next); in add_p11_identity()
[all …]
/freebsd-14.2/crypto/openssh/regress/misc/fuzz-harness/
H A Dagent_fuzz_helper.c66 TAILQ_INSERT_TAIL(&idtab->idlist, id, next); in add_key()
75 TAILQ_INSERT_TAIL(&idtab->idlist, id, next); in add_key()
99 for (id = TAILQ_FIRST(&idtab->idlist); id; in cleanup_idtab()
100 id = TAILQ_FIRST(&idtab->idlist)) { in cleanup_idtab()
101 TAILQ_REMOVE(&idtab->idlist, id, next); in cleanup_idtab()
/freebsd-14.2/usr.bin/last/
H A Dlast.c81 static SLIST_HEAD(, idtab) idlist;
235 SLIST_INIT(&idlist); in wtmp()
279 while ((tt = SLIST_FIRST(&idlist)) != NULL) { in doentry()
280 SLIST_REMOVE_HEAD(&idlist, list); in doentry()
311 SLIST_FOREACH(tt, &idlist, list) in doentry()
322 SLIST_INSERT_HEAD(&idlist, tt, list); in doentry()