Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/netinet6/
HDscope6.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-stable/sys/dev/drm2/
HDdrm_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()
HDdrmP.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-stable/crypto/openssh/
HDssh-add.c258 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 …]
HDsshconnect2.c300 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 …]
HDauthfd.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()
HDssh-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()
1068 for (id = TAILQ_FIRST(&idtab->idlist); id; id = nxt) { in reaper()
1074 TAILQ_REMOVE(&idtab->idlist, id, next); in reaper()
[all …]
/freebsd-14-stable/crypto/openssh/regress/misc/fuzz-harness/
HDagent_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-stable/usr.bin/last/
HDlast.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()