Searched refs:idtab (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/crypto/openssh/regress/misc/fuzz-harness/ |
| H A D | agent_fuzz_helper.c | 66 TAILQ_INSERT_TAIL(&idtab->idlist, id, next); in add_key() 67 idtab->nentries++; in add_key() 75 TAILQ_INSERT_TAIL(&idtab->idlist, id, next); in add_key() 76 idtab->nentries++; in add_key() 98 if (idtab == NULL) return; in cleanup_idtab() 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() 104 free(idtab); in cleanup_idtab() 105 idtab = NULL; in cleanup_idtab()
|
| /freebsd-14.2/usr.bin/last/ |
| H A D | last.c | 81 static SLIST_HEAD(, idtab) idlist; 83 struct idtab { struct 86 SLIST_ENTRY(idtab) list; argument 107 static void printentry(struct utmpx *, struct idtab *); 274 struct idtab *tt; in doentry() 317 tt = malloc(sizeof(struct idtab)); in doentry() 346 printentry(struct utmpx *bp, struct idtab *tt) in printentry()
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | ssh-agent.c | 157 struct idtable *idtab; variable 241 idtab = xcalloc(1, sizeof(*idtab)); in idtab_init() 242 TAILQ_INIT(&idtab->idlist); in idtab_init() 243 idtab->nentries = 0; in idtab_init() 1030 if (idtab->nentries < 1) in process_remove_identity() 1034 idtab->nentries--; in process_remove_identity() 1055 idtab->nentries = 0; in process_remove_all_identities() 1076 idtab->nentries--; in reaper() 1439 idtab->nentries++; in process_add_identity() 1575 idtab->nentries++; in add_p11_identity() [all …]
|