Home
last modified time | relevance | path

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

/freebsd/sys/netinet6/
H A Dscope6.c137 scope6_set(struct ifnet *ifp, struct scope6_id *idlist) in scope6_set() argument
162 if (idlist->s6id_list[i] && in scope6_set()
163 idlist->s6id_list[i] != sid->s6id_list[i]) { in scope6_set()
169 idlist->s6id_list[i] != ifp->if_index) { in scope6_set()
178 if (!ifnet_byindex(idlist->s6id_list[i])) { in scope6_set()
197 sid->s6id_list[i] = idlist->s6id_list[i]; in scope6_set()
206 scope6_get(struct ifnet *ifp, struct scope6_id *idlist) in scope6_get() argument
219 *idlist = *sid; in scope6_get()
277 scope6_get_default(struct scope6_id *idlist) in scope6_get_default() argument
281 *idlist = V_sid_default; in scope6_get_default()
/freebsd/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/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/usr.bin/last/
H A Dlast.c70 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()
/freebsd/crypto/openssh/
H A Dssh-add.c536 struct ssh_identitylist *idlist; in list_identities() local
539 if ((r = ssh_fetch_identitylist(agent_fd, &idlist)) != 0) { in list_identities()
547 for (i = 0; i < idlist->nkeys; i++) { in list_identities()
549 fp = sshkey_fingerprint(idlist->keys[i], in list_identities()
551 printf("%u %s %s (%s)\n", sshkey_size(idlist->keys[i]), in list_identities()
552 fp == NULL ? "(null)" : fp, idlist->comments[i], in list_identities()
553 sshkey_type(idlist->keys[i])); in list_identities()
556 if ((r = sshkey_write(idlist->keys[i], stdout)) != 0) { in list_identities()
561 fprintf(stdout, " %s\n", idlist->comments[i]); in list_identities()
564 ssh_free_identitylist(idlist); in list_identities()
H A Dsshconnect2.c301 typedef struct idlist Idlist;
312 TAILQ_HEAD(idlist, identity);
328 struct idlist keys;
723 TAILQ_FOREACH_REVERSE(id, &authctxt->keys, idlist, next) { in input_userauth_pk_ok()
1643 struct ssh_identitylist *idlist; in get_agent_identities() local
1656 if ((r = ssh_fetch_identitylist(agent_fd, &idlist)) != 0) { in get_agent_identities()
1663 *idlistp = idlist; in get_agent_identities()
1664 debug_f("agent returned %zu keys", idlist->nkeys); in get_agent_identities()
1680 struct idlist agent, files, *preferred; in pubkey_prepare()
1684 struct ssh_identitylist *idlist; in pubkey_prepare() local
[all …]
H A Dauthfd.c361 struct ssh_identitylist *idlist = NULL; in ssh_agent_has_key() local
363 if ((r = ssh_fetch_identitylist(sock, &idlist)) != 0) { in ssh_agent_has_key()
367 for (i = 0; i < idlist->nkeys; i++) { in ssh_agent_has_key()
368 if (sshkey_equal_public(idlist->keys[i], key)) { in ssh_agent_has_key()
374 ssh_free_identitylist(idlist); in ssh_agent_has_key()
H A Dssh-agent.c146 TAILQ_HEAD(idqueue, identity) idlist;
237 TAILQ_INIT(&idtab->idlist); in idtab_init()
593 TAILQ_FOREACH(id, &idtab->idlist, next) { in lookup_identity()
649 TAILQ_FOREACH(id, &idtab->idlist, next) { in process_request_identities()
1033 TAILQ_REMOVE(&idtab->idlist, id, next); in process_remove_identity()
1049 for (id = TAILQ_FIRST(&idtab->idlist); id; in remove_all_identities()
1050 id = TAILQ_FIRST(&idtab->idlist)) { in remove_all_identities()
1051 TAILQ_REMOVE(&idtab->idlist, id, next); in remove_all_identities()
1075 for (id = TAILQ_FIRST(&idtab->idlist); id; id = nxt) { in reaper()
1081 TAILQ_REMOVE(&idtab->idlist, id, next); in reaper()
[all …]