Home
last modified time | relevance | path

Searched refs:pentry (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/ntp/include/
H A Dntp_lists.h19 * LINK_SLIST(listhead, pentry, nextlink)
22 * LINK_TAIL_SLIST(listhead, pentry, nextlink, entrytype)
26 * LINK_SORT_SLIST(listhead, pentry, beforecur, nextlink, entrytype)
28 * pentry with the current list entry. The current entry can be
30 * LINK_SORT_SLIST_CUR(). beforecur is nonzero if pentry sorts
72 * void somefunc(myentry *pentry)
74 * LINK_FIFO(my_fifo, pentry, next_link);
85 * LINK_FIFO(anchor, pentry, nextlink)
128 #define LINK_SLIST(listhead, pentry, nextlink) \ argument
130 (pentry)
134 LINK_TAIL_SLIST(listhead,pentry,nextlink,entrytype) global() argument
149 LINK_SORT_SLIST(listhead,pentry,beforecur,nextlink,entrytype) global() argument
264 LINK_FIFO(anchor,pentry,nextlink) global() argument
395 LINK_DLIST(listhead,pentry,link) global() argument
403 LINK_TAIL_DLIST(listhead,pentry,link) global() argument
[all...]
/freebsd/libexec/atrun/
H A Datrun.c134 struct passwd *pentry; in run_file() local
168 pentry = getpwuid(uid); in run_file()
169 if (pentry == NULL) in run_file()
176 pam_err = pam_start(atrun, pentry->pw_name, &pamc, &pamh); in run_file()
184 pentry->pw_name, (unsigned long)uid, in run_file()
314 if (setusercontext(NULL, pentry, uid, LOGIN_SETALL & in run_file()
318 if (initgroups(pentry->pw_name,pentry->pw_gid)) in run_file()
321 if (setgid(gid) < 0 || setegid(pentry->pw_gid) < 0) in run_file()
324 if (setlogin(pentry->pw_name)) in run_file()
331 if (chdir(pentry->pw_dir)) in run_file()
[all …]
/freebsd/usr.bin/at/
H A Dperm.c88 struct passwd *pentry; in check_permission() local
93 if ((pentry = getpwuid(uid)) == NULL) in check_permission()
104 return check_for_user(fp, pentry->pw_name); in check_permission()
117 return !check_for_user(fp, pentry->pw_name); in check_permission()
/freebsd/stand/common/
H A Dpart.c62 struct pentry { struct
70 STAILQ_ENTRY(pentry) entry; argument
78 STAILQ_HEAD(, pentry) entries;
230 struct pentry *entry; in ptable_gptread()
383 struct pentry *e1, *entry; in ptable_ebrread()
460 struct pentry *entry; in ptable_bsdread()
524 struct pentry *entry; in ptable_iso9660read()
564 struct pentry *entry; in ptable_open()
688 struct pentry *entry; in ptable_close()
724 struct pentry *entry; in ptable_getpart()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_config.c3476 bc_entry *pentry; in apply_enable_disable()
3542 pentry = bc_list; in config_system_opts()
3543 while (pentry->token) { in config_system_opts()
3544 if (pentry->token == option) in config_system_opts()
3546 pentry++;
3548 if (!pentry->token) {
3554 pentry->enabled = enable; in free_config_system_opts()
3452 bc_entry *pentry; apply_enable_disable() local