Searched refs:NO_PID (Results 1 – 13 of 13) sorted by relevance
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_swrun_tbl.c | 51 #define NO_PID 100000 macro 376 entry = swrun_entry_find_by_index(NO_PID + 1 + stat.id); in swrun_OS_get_kinfo() 379 entry = swrun_entry_create(NO_PID + 1 + stat.id); in swrun_OS_get_kinfo() 434 if (entry->index >= NO_PID + 1) { in fetch_swrun_entry() 442 if (kldstat(entry->index - NO_PID - 1, &stat) == -1) { in fetch_swrun_entry() 448 entry->index - NO_PID - 1); in fetch_swrun_entry() 478 if (entry->index >= NO_PID + 1) { in invalidate_swrun_entry() 481 entry->index - NO_PID - 1); in invalidate_swrun_entry() 489 if (kldstat(entry->index - NO_PID - 1, &stat) == -1) { in invalidate_swrun_entry() 496 entry->index - NO_PID - 1); in invalidate_swrun_entry()
|
/freebsd/sys/fs/pseudofs/ |
H A D | pseudofs_vnops.c | 80 if (pid != NO_PID) in pn_fileno() 81 return (pn->pn_fileno * NO_PID + pid); in pn_fileno() 115 if (pid == NO_PID) in pfs_visible() 193 if (pvd->pvd_pid != NO_PID) { in pfs_close() 525 pid = NO_PID; in pfs_lookup() 878 if (pid != NO_PID && !pfs_lookup_proc(pid, &proc)) in pfs_readdir() 884 KASSERT(pid == NO_PID || proc != NULL, in pfs_readdir() 887 if (pid != NO_PID) { in pfs_readdir() 1000 if (pvd->pvd_pid != NO_PID) { in pfs_readlink()
|
H A D | pseudofs_fileno.c | 56 pi->pi_unrhdr = new_unrhdr(3, INT_MAX / NO_PID, &pi->pi_mutex); in pfs_fileno_init()
|
H A D | pseudofs.c | 423 return (pfs_vncache_alloc(mp, vpp, pi->pi_root, NO_PID)); in pfs_root()
|
/freebsd/contrib/sendmail/src/ |
H A D | util.c | 2635 if (ProcListVec[i].proc_pid == NO_PID) 2646 if (ProcListVec[i].proc_pid == NO_PID) 2672 npv[i].proc_pid = NO_PID; 2762 ProcListVec[i].proc_pid = NO_PID; 2816 ProcListVec[i].proc_pid = NO_PID; in proc_list_clear() 2847 if (pid == NO_PID || pid == CurrentPid) in proc_list_probe() 2855 ProcListVec[i].proc_pid = NO_PID; in proc_list_probe() 2904 if (ProcListVec[i].proc_pid == NO_PID) 2950 if (ProcListVec[i].proc_pid == NO_PID || 2995 if (ProcListVec[i].proc_pid == NO_PID)
|
H A D | sendmail.h | 1712 #define NO_PID ((pid_t) 0) macro
|
/freebsd/sys/kern/ |
H A D | kern_fail.c | 283 fp_entry->fe_pid = NO_PID; in fail_point_entry_new() 570 if (ent->fe_pid != NO_PID && ent->fe_pid != curproc->p_pid) in fail_point_eval_nontrivial() 720 if (ent->fe_pid != NO_PID) in fail_point_get()
|
H A D | kern_thread.c | 252 return (tid + NO_PID); in tid_alloc() 261 KASSERT(rtid >= NO_PID, in tid_free_locked() 263 tid = rtid - NO_PID; in tid_free_locked()
|
H A D | tty_pts.c | 338 *(int *)data = NO_PID; in ptsdev_ioctl()
|
H A D | tty.c | 1833 *(int *)data = NO_PID; in tty_generic_ioctl()
|
H A D | kern_proc.c | 1230 kp->ki_tpgid = tp->t_pgrp ? tp->t_pgrp->pg_id : NO_PID; in fill_kinfo_proc_pgrp()
|
/freebsd/sys/netpfil/pf/ |
H A D | if_pflog.c | 259 hdr.pid = NO_PID; in pflog_packet()
|
/freebsd/sys/sys/ |
H A D | proc.h | 947 #define NO_PID (PID_MAX + 1) macro 948 #define THREAD0_TID NO_PID
|