Home
last modified time | relevance | path

Searched +full:proc +full:- +full:id (Results 1 – 25 of 761) sorted by relevance

12345678910>>...31

/freebsd/cddl/usr.sbin/dwatch/libexec/
H A Dproc1 # -*- tab-width: 4 -*- ;; Emacs
6 # $Copyright: 2014-2018 Devin Teske. All rights reserved. $
15 proc)
17 proc:::create, \
18 proc:::exec, \
19 proc:::exec-failure, \
20 proc:::exec-success, \
21 proc:::exit, \
22 proc:::signal-clear, \
23 proc:::signal-discard, \
[all …]
/freebsd/share/man/man4/
H A Ddtrace_proc.432 .Fn proc:::create "struct proc *" "struct proc *" "int"
33 .Fn proc:::exec "char *"
34 .Fn proc:::exec-failure "int"
35 .Fn proc:::exec-success "char *"
36 .Fn proc:::exit "int"
37 .Fn proc:::signal-clear "int" "ksiginfo_t *"
38 .Fn proc:::signal-discard "struct thread *" "struct proc *" "int"
39 .Fn proc:::signal-send "struct thread *" "struct proc *" "int"
42 .Nm proc
47 .Fn proc:::create
[all …]
H A Dprocfs.411 .Bd -literal
12 proc /proc procfs rw 0 0
15 .Bf -symbolic
28 .Pa /proc .
32 provides a two-level view of process space, unlike the previous
44 .Bl -tag -width status
73 .Bl -tag -compact -width private-resident
74 .It start-address
76 .It end-address
80 .It private-resident
[all …]
/freebsd/share/man/man5/
H A Dprocfs.5
/freebsd/tools/debugscripts/
H A Dgdbinit.kernel5 p (char *)curproc->p_comm
16 if $bp->b_io.bio_dev
19 $bp->b_io.bio_dev->si_udev, \
20 $bp->b_io.bio_data, \
21 $bp->b_io.bio_bcount, \
22 $bp->b_io.bio_blkno, \
23 $bp->b_io.bio_resid
27 $bp->b_io.bio_data, \
28 $bp->b_io.bio_bcount, \
29 $bp->b_io.bio_blkno, \
[all …]
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
4 * Copyright (c) 2000 Dag-Erling Smørgrav
6 * Copyright (c) 1993 Jan-Simon Pendry
11 * Jan-Simon Pendry.
60 #include <sys/proc.h>
126 #define P2K(x) ((x) << (PAGE_SHIFT - 10)) /* pages to kbytes */
127 #define TV2J(x) ((x)->tv_sec * 100UL + (x)->tv_usec / 10000)
140 * This character array is used with ki_stati-1 as an index and tries to
146 * Filler function for proc/meminfo
[all …]
/freebsd/usr.sbin/rtprio/
H A Drtprio.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
56 pid_t proc = 0; in main() local
69 proc = parseint(argv[1], "pid"); in main()
70 proc = abs(proc); in main()
73 if (rtprio(RTP_LOOKUP, proc, &rtp) != 0) in main()
92 if (argv[1][0] == '-' || isdigit(argv[1][0])) { in main()
93 if (argv[1][0] == '-') { in main()
94 if (strcmp(argv[1], "-t") == 0) { in main()
108 if (argv[2][0] == '-') { in main()
[all …]
/freebsd/sys/kern/
H A Dkern_exit.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
51 #include <sys/proc.h>
96 SDT_PROVIDER_DECLARE(proc);
97 SDT_PROBE_DEFINE1(proc, , , exit, "int");
109 struct proc *
110 proc_realparent(struct proc *child) in proc_realparent()
112 struct proc *p, *parent; in proc_realparent()
115 if ((child->p_treeflag & P_TREE_ORPHANED) == 0) in proc_realparent()
116 return (child->p_pptr->p_pid == child->p_oppid ? in proc_realparent()
[all …]
H A Dkern_thr.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
38 #include <sys/proc.h>
69 &max_threads_per_proc, 0, "Limit on threads per proc");
109 if (args->tid != NULL && suword_lwpid(args->tid, td->td_ti in thr_create_initthr()
[all...]
H A Dkern_time.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
49 #include <sys/proc.h>
80 * the time-of-day and per-process interval timers. Subroutines
97 static struct itimer *itimer_find(struct proc *, in
173 id_t id; global() member
192 kern_clock_getcpuclockid2(struct thread * td,id_t id,int which,clockid_t * clk_id) kern_clock_getcpuclockid2() argument
896 int id; itimer_proc_continue() local
1210 int id; sys_ktimer_create() local
1236 int id; kern_ktimer_create() local
1615 realtimer_clocktime(clockid_t id,struct timespec * ts) realtimer_clocktime() argument
[all...]
H A Dkern_procctl.c1 /*-
41 #include <sys/proc.h>
55 protect_setchild(struct thread *td, struct proc *p, int flags) in protect_setchild()
59 if (p->p_flag & P_SYSTEM || p_cansched(td, p) != 0) in protect_setchild()
62 p->p_flag |= P_PROTECTED; in protect_setchild()
64 p->p_flag2 |= P2_INHERIT_PROTECTED; in protect_setchild()
66 p->p_flag &= ~P_PROTECTED; in protect_setchild()
67 p->p_flag2 &= ~P2_INHERIT_PROTECTED; in protect_setchild()
73 protect_setchildren(struct thread *td, struct proc *top, int flags) in protect_setchildren()
75 struct proc *p; in protect_setchildren()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_objset_id.ksh22 # zdb -d pool/<objset id> will display the dataset
28 # 4. Run zdb -d to get the objset ID of the dataset
29 # 5. Run zdb -dddddd pool/objsetID objectID (decimal)
31 # 7. Run zdb -dddddd pool/objsetID objectID (hex)
33 # 9. Repeat with zdb -NNNNNN pool/objsetID objectID
34 # 10. Obtain dataset name from testpool.objset-0x<objsetID>.dataset_name kstat
35 # 11. Run zdb -dddddd pool/objsetID (hex)
39 # 15. zdb -
[all...]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DTargetID.cpp1 //===--- TargetID.cpp - Utilities for parsing target ID -------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
21 llvm::StringRef Proc) { in getAllPossibleAMDGPUTargetIDFeatures() argument
24 auto ProcKind = T.isAMDGCN() ? llvm::AMDGPU::parseArchAMDGCN(Proc) in getAllPossibleAMDGPUTargetIDFeatures()
25 : llvm::AMDGPU::parseArchR600(Proc); in getAllPossibleAMDGPUTargetIDFeatures()
60 // Parse a target ID with format checking only. Do not check whether processor
63 // A target ID is a processor name followed by a list of target features
64 // delimited by colon. Each target feature is a string post-fixed by a plus
65 // or minus sign, e.g. gfx908:sramecc+:xnack-.
[all …]
/freebsd/sys/sys/
H A Dproc.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
72 #include <machine/proc.h> /* Machine-dependent proc substruct. */
86 u_int s_count; /* Ref cnt; pgrps in session - atomic. */
87 struct proc *s_leader; /* (m + e) Session leader. */
91 pid_t s_sid; /* (c) Session ID. */
107 LIST_HEAD(, proc) pg_members; /* (m + e) Pointer to pgrp members. */
110 pid_t pg_id; /* (c) Process group id. */
128 /*-
139 * Below is a key of locks used to protect each member of struct proc. The
[all …]
H A Ducred.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
67 * c - cr_mtx
76 u_int cr_users; /* (c) proc + thread using this cred */
80 uid_t cr_uid; /* effective user id */
81 uid_t cr_ruid; /* real user id */
82 uid_t cr_svuid; /* saved user id */
88 gid_t cr_rgid; /* real group id */
89 gid_t cr_svgid; /* saved group id */
103 #define FSCRED ((struct ucred *)-1) /* filesystem credential */
[all …]
H A Duser.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
48 #include <sys/proc.h>
66 * KERN_PROC subtype ops return arrays of selected proc structure entries:
69 * for different standard C-types. When adding new variables to this struct,
70 * the space for byte-aligned data should be taken from the ki_sparestring,
71 * pointers from ki_spareptrs, word-aligned data from ki_spareints, and
72 * doubleword-aligned data from ki_sparelongs. Make sure the space for new
122 struct proc *ki_paddr; /* address of proc */
123 struct user *ki_addr; /* kernel virtual addr of u-area */
[all …]
H A Dipc.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
75 unsigned short cuid; /* creator user id */
76 unsigned short cgid; /* creator group id */
77 unsigned short uid; /* user id */
78 unsigned short gid; /* group id */
86 uid_t cuid; /* creator user id */
87 gid_t cgid; /* creator group id */
88 uid_t uid; /* user id */
89 gid_t gid; /* group id */
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeFunctionSig.cpp1 //===- NativeTypeFunctionSig.cpp - info about function signature -*- C++-*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
42 SymIndexId getTypeId() const override { return RealType->getSymIndexId(); } in getTypeId()
54 return TypeEnumerator->getChildCount(); in getChildCount()
57 return wrap(TypeEnumerator->getChildAtIndex(Index)); in getChildAtIndex()
60 return wrap(TypeEnumerator->getNext()); in getNext()
63 void reset() override { TypeEnumerator->reset(); } in reset()
78 SymIndexId Id, in NativeTypeFunctionSig() argument
80 codeview::ProcedureRecord Proc) in NativeTypeFunctionSig() argument
[all …]
/freebsd/contrib/ntp/libntp/lib/isc/unix/
H A Dinterfaceiter.c3 * Copyright (C) 1999-2003 Internet Software Consortium.
18 /* $Id: interfaceiter.c,v 1.45 2008/12/01 03:51:47 marka Exp $ */
64 * instead of using src->sa_family, because the latter does not work
83 dst->family = family; in get_addr()
86 memcpy(&dst->type.in, in get_addr()
87 &((struct sockaddr_in *)(void *)src)->sin_addr, in get_addr()
92 memcpy(&dst->type.in6, &sa6->sin6_addr, in get_addr()
95 if (sa6->sin6_scope_id != 0) in get_addr()
96 isc_netaddr_setzone(dst, sa6->sin6_scope_id); in get_addr()
104 * part and the zone ID part. in get_addr()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mailbox/
H A Dst,stm32-ipcc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mailbox/st,stm32-ipcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
16 - Fabien Dessenne <fabien.dessenne@foss.st.com>
17 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
21 const: st,stm32mp1-ipcc
31 - description: rx channel occupied
32 - description: tx channel free
34 interrupt-names:
[all …]
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dcred.h52 #define CRED() curthread->t_cred
54 struct proc; /* cred.h is included in proc.h */
80 extern void crset(struct proc *, cred_t *);
85 extern int prochasprocperm(struct proc *, struct proc *, const cred_t *);
113 * -1 argument accepted as "no change".
120 * values. Both values must be non-negative and <= MAXUID
140 * Private interface for setting project id in credential.
164 #define VALID_UID(id, zn) \ argument
165 ((id) <= MAXUID || valid_ephemeral_uid((zn), (id)))
167 #define VALID_GID(id, zn) \ argument
[all …]
/freebsd/tools/test/stress2/misc/
H A Dprocfs6.sh4 # SPDX-License-Identifier: BSD-2-Clause
32 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
34 if ! mount | grep -q /proc; then
35 mount -t procfs null /proc || exit 1
38 [ `ls /proc | wc -l` -eq 0 ] && { ls -l /proc; exit 1; }
39 [ `ls /proc/$$ | wc -l` -eq 0 ] && { ls -l /proc; exit 1; }
41 [ $mounted ] && umount /proc
/freebsd/sys/x86/acpica/
H A Dmadt.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
109 return (-50); in madt_probe()
120 madt_length = madt->Header.Length; in madt_probe_cpus()
121 KASSERT(madt != NULL, ("Unable to re-map MADT")); in madt_probe_cpus()
154 if ((dmartbl->Flags & ACPI_DMAR_X2APIC_OPT_OUT) != 0) in madt_x2apic_disable_reason()
174 * It seems that some SandyBridge-based notebook in madt_x2apic_disable_reason()
177 * CPU is to check northbridge pci id, which cannot be in madt_x2apic_disable_reason()
247 lapic_init(madt->Address); in madt_setup_local()
249 (int)sizeof(madt->Header.OemId), madt->Header.OemId, in madt_setup_local()
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp2 * kmp_affinity.cpp -- affinity management
5 //===----------------------------------------------------------------------===//
9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
11 //===----------------------------------------------------------------------===//
62 return __kmp_topology->restrict_to_mask(mask); in restrict_to_mask()
92 thr_bar->depth = depth; in __kmp_get_hierarchy()
93 __kmp_type_convert(machine_hierarchy.numPerLevel[0] - 1, in __kmp_get_hierarchy()
94 &(thr_bar->base_leaf_kids)); in __kmp_get_hierarchy()
95 thr_bar->skip_per_level = machine_hierarchy.skipPerLevel; in __kmp_get_hierarchy()
204 int depth = __kmp_topology->get_depth(); in compare_ids()
[all …]
/freebsd/cddl/usr.sbin/dwatch/
H A Ddwatch2 #-
3 # Copyright (c) 2014-2018 Devin Teske
40 " # END-QUOTE
49 VERSION='$Version: 1.4 $' # -V
54 # Command-line arguments
59 # Command-line defaults
61 _MAX_ARGS=64 # -B num
62 _MAX_DEPTH=64 # -K num
65 # Command-line options
67 CONSOLE= # -y
[all …]

12345678910>>...31