/freebsd/sys/netinet6/ |
H A D | scope6.c | 141 scope6_set(struct ifnet *ifp, struct scope6_id *idlist) in scope6_set() argument 166 if (idlist->s6id_list[i] && in scope6_set() 167 idlist->s6id_list[i] != sid->s6id_list[i]) { in scope6_set() 173 idlist->s6id_list[i] != ifp->if_index) { in scope6_set() 182 if (!ifnet_byindex(idlist->s6id_list[i])) { in scope6_set() 201 sid->s6id_list[i] = idlist->s6id_list[i]; in scope6_set() 210 scope6_get(struct ifnet *ifp, struct scope6_id *idlist) in scope6_get() argument 223 *idlist = *sid; in scope6_get() 281 scope6_get_default(struct scope6_id *idlist) in scope6_get_default() argument 285 *idlist = V_sid_default; in scope6_get_default()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_os_freebsd.c | 86 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 D | drmP.h | 1738 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/crypto/openssh/ |
H A D | ssh-add.c | 258 struct ssh_identitylist *idlist; in add_file() local 341 (r = ssh_fetch_identitylist(agent_fd, &idlist)) == 0) { in add_file() 342 for (i = 0; i < idlist->nkeys; i++) { in add_file() 343 if (!sshkey_equal_public(idlist->keys[i], private)) 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 540 if ((r = ssh_fetch_identitylist(agent_fd, &idlist)) != 0) { in list_identities() 548 for (i = 0; i < idlist->nkeys; i++) { in list_identities() [all …]
|
H A D | sshconnect2.c | 300 typedef struct idlist Idlist; 311 TAILQ_HEAD(idlist, identity); 327 struct idlist keys; 722 TAILQ_FOREACH_REVERSE(id, &authctxt->keys, idlist, next) { in input_userauth_pk_ok() 1635 struct ssh_identitylist *idlist; in get_agent_identities() local 1648 if ((r = ssh_fetch_identitylist(agent_fd, &idlist)) != 0) { in get_agent_identities() 1655 *idlistp = idlist; in get_agent_identities() 1656 debug_f("agent returned %zu keys", idlist->nkeys); in get_agent_identities() 1672 struct idlist agent, files, *preferred; in pubkey_prepare() 1676 struct ssh_identitylist *idlist; in pubkey_prepare() local [all …]
|
H A D | authfd.c | 362 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 D | ssh-agent.c | 153 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() 1068 for (id = TAILQ_FIRST(&idtab->idlist); id; id = nxt) { in reaper() 1074 TAILQ_REMOVE(&idtab->idlist, id, next); in reaper() [all …]
|
/freebsd/crypto/openssh/regress/misc/fuzz-harness/ |
H A D | agent_fuzz_helper.c | 66 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/usr.bin/last/ |
H A D | last.c | 70 static SLIST_HEAD(, idtab) idlist; 228 SLIST_INIT(&idlist); in wtmp() 272 while ((tt = SLIST_FIRST(&idlist)) != NULL) { in doentry() 273 SLIST_REMOVE_HEAD(&idlist, list); in doentry() 307 SLIST_FOREACH(tt, &idlist, list) in doentry() 318 SLIST_INSERT_HEAD(&idlist, tt, list); in doentry()
|