Home
last modified time | relevance | path

Searched refs:NO_PID (Results 1 – 13 of 13) sorted by relevance

/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_swrun_tbl.c51 #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 Dpseudofs_vnops.c80 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 Dpseudofs_fileno.c56 pi->pi_unrhdr = new_unrhdr(3, INT_MAX / NO_PID, &pi->pi_mutex); in pfs_fileno_init()
H A Dpseudofs.c423 return (pfs_vncache_alloc(mp, vpp, pi->pi_root, NO_PID)); in pfs_root()
/freebsd/contrib/sendmail/src/
H A Dutil.c2635 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 Dsendmail.h1712 #define NO_PID ((pid_t) 0) macro
/freebsd/sys/kern/
H A Dkern_fail.c283 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 Dkern_thread.c252 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 Dtty_pts.c338 *(int *)data = NO_PID; in ptsdev_ioctl()
H A Dtty.c1833 *(int *)data = NO_PID; in tty_generic_ioctl()
H A Dkern_proc.c1230 kp->ki_tpgid = tp->t_pgrp ? tp->t_pgrp->pg_id : NO_PID; in fill_kinfo_proc_pgrp()
/freebsd/sys/netpfil/pf/
H A Dif_pflog.c259 hdr.pid = NO_PID; in pflog_packet()
/freebsd/sys/sys/
H A Dproc.h947 #define NO_PID (PID_MAX + 1) macro
948 #define THREAD0_TID NO_PID