Home
last modified time | relevance | path

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

12345678910>>...31

/freebsd-src/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-src/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-src/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-src/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-src/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 - 1
2102 size_t id, size; linprocfs_dosysvipc_msg() local
2146 size_t id, size; linprocfs_dosysvipc_sem() local
2185 size_t id, size; linprocfs_dosysvipc_shm() local
[all...]
/freebsd-src/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 *chil
876 id_t id; sys_wait6() local
1049 proc_to_reap(struct thread * td,struct proc * p,idtype_t idtype,id_t id,int * status,int options,struct __wrusage * wrusage,siginfo_t * siginfo,int check_only) proc_to_reap() argument
1207 id_t id; kern_wait() local
1278 kern_wait6(struct thread * td,idtype_t idtype,id_t id,int * status,int options,struct __wrusage * wrusage,siginfo_t * siginfo) kern_wait6() argument
[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_tid)) in thr_create_initthr()
112 return (set_mcontext(td, &args->ctx.uc_mcontext)); in thr_create_initthr()
117 /* ucontext_t *ctx, long *id, int flags */ in sys_thr_create()
122 if ((error = copyin(uap->ctx, &args.ctx, sizeof(args.ctx)))) in sys_thr_create()
124 args.tid = uap->id; in sys_thr_create()
135 if (uap->param_size < 0 || uap->param_size > sizeof(param)) in sys_thr_new()
[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 *, int);
98 static void itimers_alloc(struct proc *);
139 * a miscreant to make the clock march double-time, but no worse. in settime()
141 if (securelevel_gt(td->td_ucred, 1) != 0) { in settime()
150 if (tv2.tv_sec < -1) { in settime()
151 tv->tv_sec = maxtime.tv_sec - 1; in settime()
[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 * in protect_setchildren()
1163 kern_procctl(struct thread * td,idtype_t idtype,id_t id,int com,void * data) kern_procctl() argument
[all...]
/freebsd-src/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-src/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-src/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-src/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-src/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-src/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_leade
651 struct proc { global() struct
654 p_slockproc global() argument
672 p_pidproc global() argument
674 p_pptrproc global() argument
677 p_reaperproc global() argument
686 p_ksiproc global() argument
687 p_sigqueueproc global() argument
689 p_oppidproc global() argument
693 p_vmspaceproc global() argument
694 p_swtickproc global() argument
695 p_cowgenproc global() argument
719 p_procdescproc global() argument
720 p_treeflagproc global() argument
721 p_pendingexitsproc global() argument
722 p_filemonproc global() argument
723 p_pdeathsigproc global() argument
751 p_pgrpproc global() argument
752 p_klistproc global() argument
754 p_mdproc global() argument
757 p_peersproc global() argument
758 p_leaderproc global() argument
763 p_dtraceproc global() argument
774 p_throttledproc global() argument
[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 */
[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-aligne
[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 */
121 IPCID_TO_IX(id) global() argument
122 IPCID_TO_SEQ(id) global() argument
[all...]
/freebsd-src/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-src/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
H A Dnullfs4.sh34 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
38 mount | grep -q /proc || mount -t procfs procfs /proc
39 mount -t nullfs /bin $mntpoint
41 r1=`/bin/ls -l /proc/curproc/file`
42 r2=`$mntpoint/ls -l /proc/curproc/file | sed "s#$mntpoint#/bin#"`
44 echo "/bin/ls -l /proc/curproc/file"
46 echo "$mntpoint/ls -l /proc/curproc/file"
/freebsd-src/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-src/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 …]
/freebsd-src/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp2 * kmp_affinity.cpp -- affinity management
5 //===--------
280 int id = hw_threads[i].ids[target_layer]; _insert_layer() local
462 int id = hw_thread.ids[layer]; _gather_enumeration_information() local
1625 int proc; __kmp_affinity_entire_machine_mask() local
2739 unsigned int proc; __kmp_affinity_create_x2apicid_map() local
4271 __kmp_affinity_find_core(int proc,int bottom_level,int core_level) __kmp_affinity_find_core() argument
4324 int id = hw_thread.sub_ids[level]; __kmp_affinity_get_mask_topology_info() local
4832 int proc = __kmp_topology->at(i).os_id; __kmp_aux_affinity_initialize() local
4999 for (int id = 0; id < KMP_HW_LAST; ++id) __kmp_affinity_set_init_mask() local
5191 unsigned proc; __kmp_aux_set_affinity() local
5302 __kmp_aux_set_affinity_mask_proc(int proc,void ** mask) __kmp_aux_set_affinity_mask_proc() argument
5335 __kmp_aux_unset_affinity_mask_proc(int proc,void ** mask) __kmp_aux_unset_affinity_mask_proc() argument
5368 __kmp_aux_get_affinity_mask_proc(int proc,void ** mask) __kmp_aux_get_affinity_mask_proc() argument
[all...]

12345678910>>...31