/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | UserIDResolver.h | 25 typedef uint32_t id_t; typedef 28 std::optional<llvm::StringRef> GetUserName(id_t uid) { in GetUserName() 31 std::optional<llvm::StringRef> GetGroupName(id_t gid) { in GetGroupName() 40 virtual std::optional<std::string> DoGetUserName(id_t uid) = 0; 41 virtual std::optional<std::string> DoGetGroupName(id_t gid) = 0; 44 using Map = llvm::DenseMap<id_t, std::optional<std::string>>; 47 Get(id_t id, Map &cache, 48 std::optional<std::string> (UserIDResolver::*do_get)(id_t));
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_set_standard_lookup.c | 69 id_t id; 77 static const char * lookup_gname_helper(struct name_cache *, id_t gid); 78 static const char * lookup_uname_helper(struct name_cache *, id_t uid); 142 const char * (*lookup_fn)(struct name_cache *, id_t), id_t id) in lookup_name() 181 &lookup_uname_helper, (id_t)uid)); in lookup_uname() 186 lookup_uname_helper(struct name_cache *cache, id_t id) 231 lookup_uname_helper(struct name_cache *cache, id_t id) 250 &lookup_gname_helper, (id_t)gid)); in lookup_gname() 255 lookup_gname_helper(struct name_cache *cache, id_t i 143 lookup_name(struct name_cache * cache,const char * (* lookup_fn)(struct name_cache *,id_t),id_t id) lookup_name() argument [all...] |
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | types.h | 73 typedef id_t taskid_t; 74 typedef id_t projid_t; 75 typedef id_t poolid_t; 77 typedef id_t ctid_t;
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | UserIDResolver.cpp | 18 id_t id, Map &cache, in Get() 19 std::optional<std::string> (UserIDResolver::*do_get)(id_t)) { in Get() argument 33 std::optional<std::string> DoGetUserName(id_t uid) override { in DoGetUserName() 37 std::optional<std::string> DoGetGroupName(id_t gid) override { in DoGetGroupName()
|
/freebsd/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | HostInfoPosix.cpp | 60 std::optional<std::string> DoGetUserName(id_t uid) override; 61 std::optional<std::string> DoGetGroupName(id_t gid) override; 70 static std::optional<PasswdEntry> GetPassword(id_t uid) { in GetPassword() 92 std::optional<std::string> PosixUserIDResolver::DoGetUserName(id_t uid) { in DoGetUserName() 98 std::optional<std::string> PosixUserIDResolver::DoGetGroupName(id_t gid) { in DoGetGroupName()
|
/freebsd/lib/libc/sys/ |
H A D | waitid.c | 41 int __waitid(idtype_t, id_t, siginfo_t *, int); 44 __waitid(idtype_t idtype, id_t id, siginfo_t *info, int flags) in __waitid()
|
H A D | wait6.c | 41 wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *ru, in wait6()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | procset.h | 125 id_t p_lid; /* The id of the left operand. */ 130 id_t p_rid; /* The id of the right operand. */ 157 extern id_t getmyid(idtype_t);
|
H A D | processor.h | 121 extern int processor_bind(idtype_t idtype, id_t id,
|
/freebsd/sys/sys/ |
H A D | cpuset.h | 172 int cpuset_which(cpuwhich_t, id_t, struct proc **, 185 int cpuset_setid(cpuwhich_t, id_t, cpusetid_t); 186 int cpuset_getid(cpulevel_t, cpuwhich_t, id_t, cpusetid_t *); 187 int cpuset_getaffinity(cpulevel_t, cpuwhich_t, id_t, size_t, cpuset_t *); 188 int cpuset_setaffinity(cpulevel_t, cpuwhich_t, id_t, size_t, const cpuset_t *);
|
H A D | syscallsubr.h | 103 int kern_clock_getcpuclockid2(struct thread *td, id_t id, int which, 122 cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *maskp, 125 cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *mask); 127 cpuwhich_t which, id_t id, cpuset_t *maskp); 129 cpuwhich_t which, id_t id, size_t cpusetsize, 132 cpuwhich_t which, id_t id, size_t domainsetsize, 135 cpuwhich_t which, id_t id, size_t domainsetsize, 138 cpuwhich_t which, id_t id, cpusetid_t *setid); 140 id_t id, cpusetid_t setid); 285 int kern_procctl(struct thread *td, enum idtype idtype, id_t id, int com, [all …]
|
H A D | wait.h | 160 int waitid(idtype_t, id_t, struct __siginfo *, int); 167 pid_t wait6(idtype_t, id_t, int *, int, struct __wrusage *,
|
H A D | domainset.h | 122 int cpuset_getdomain(cpulevel_t, cpuwhich_t, id_t, size_t, domainset_t *, 124 int cpuset_setdomain(cpulevel_t, cpuwhich_t, id_t, size_t,
|
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | fmd_api.h | 56 #define id_t fmd_timer_t * macro 118 void (*fmdo_timeout)(fmd_hdl_t *, id_t, void *); 204 extern id_t fmd_timer_install(fmd_hdl_t *, void *, fmd_event_t *, hrtime_t); 205 extern void fmd_timer_remove(fmd_hdl_t *, id_t);
|
/freebsd/contrib/ntp/html/hints/ |
H A D | decosf2 | 15 ! extern int waitid(idtype_t, id_t, siginfo_t *, int); 35 ! id_t p_lid; /* The id for the left set. */ 38 ! id_t p_rid; /* The id of the right set. */
|
/freebsd/lib/libsys/ |
H A D | _libsys.h | 211 typedef int (__sys_clock_getcpuclockid2_t)(id_t, int, clockid_t *); 369 typedef int (__sys_cpuset_setid_t)(cpuwhich_t, id_t, cpusetid_t); 370 typedef int (__sys_cpuset_getid_t)(cpulevel_t, cpuwhich_t, id_t, cpusetid_t *); 371 typedef int (__sys_cpuset_getaffinity_t)(cpulevel_t, cpuwhich_t, id_t, size_t, cpuset_t *); 372 typedef int (__sys_cpuset_setaffinity_t)(cpulevel_t, cpuwhich_t, id_t, size_t, const cpuset_t *); 410 typedef int (__sys_wait6_t)(idtype_t, id_t, int *, int, struct __wrusage *, struct __siginfo *); 422 typedef int (__sys_procctl_t)(idtype_t, id_t, int, void *); 437 typedef int (__sys_cpuset_getdomain_t)(cpulevel_t, cpuwhich_t, id_t, size_t, domainset_t *, int *); 438 typedef int (__sys_cpuset_setdomain_t)(cpulevel_t, cpuwhich_t, id_t, size_t, domainset_t *, int); 612 int __sys_clock_getcpuclockid2(id_t id, int which, clockid_t * clock_id); [all …]
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_xlator.h | 61 id_t dx_id; /* global translator id */ 78 extern dt_xlator_t *dt_xlator_lookup_id(dtrace_hdl_t *, id_t);
|
/freebsd/usr.bin/protect/ |
H A D | protect.c | 50 static id_t 73 id_t id; in main()
|
/freebsd/sys/kern/ |
H A D | kern_cpuset.c | 151 static int cpuset_which2(cpuwhich_t *, id_t, struct proc **, struct thread **, 897 cpuset_which(cpuwhich_t which, id_t id, struct proc **pp, struct thread **tdp, in cpuset_which() 992 cpuset_which2(cpuwhich_t *which, id_t id, struct proc **pp, struct thread **tdp, in cpuset_which2() 1767 id_t id) in cpuset_capmode_allowed() 1789 id_t id) in cpuset_check_capabilities() 1869 id_t id; 1882 id_t id, cpusetid_t setid) in kern_cpuset_setid() 1904 id_t id; 1918 id_t id, cpusetid_t *setid) in kern_cpuset_getid() 1971 id_t id; [all …]
|
H A D | kern_exit.c | 876 id_t id; in sys_wait6() 1045 proc_to_reap(struct thread *td, struct proc *p, idtype_t idtype, id_t id, in proc_to_reap() 1203 id_t id; in kern_wait() 1216 id = (id_t)-pid; in kern_wait() 1219 id = (id_t)pid; in kern_wait() 1274 kern_wait6(struct thread *td, idtype_t idtype, id_t id, int *status, in kern_wait6() 1290 id = (id_t)q->p_pgid; in kern_wait6()
|
/freebsd/contrib/libarchive/cpio/ |
H A D | cpio.c | 79 id_t id; 94 const char **name, id_t gid); 97 const char **name, id_t uid); 1354 int (*lookup_fn)(struct cpio *, const char **, id_t), id_t id) in lookup_name() argument 1406 &lookup_uname_helper, (id_t)uid)); in lookup_uname() 1410 lookup_uname_helper(struct cpio *cpio, const char **name, id_t id) in lookup_uname_helper() 1433 &lookup_gname_helper, (id_t)gid)); in lookup_gname() 1437 lookup_gname_helper(struct cpio *cpio, const char **name, id_t id) in lookup_gname_helper()
|
/freebsd/usr.bin/rctl/ |
H A D | rctl.c | 51 parse_user(const char *s, id_t *uidp, const char *unexpanded_rule) in parse_user() 79 parse_group(const char *s, id_t *gidp, const char *unexpanded_rule) in parse_group() 177 id_t id; in expand_rule() 249 id_t id; in humanize_ids()
|
/freebsd/usr.bin/xinstall/ |
H A D | xinstall.c | 157 static int parseid(const char *, id_t *); 329 id_t id; in main() 339 id_t id; in main() 525 parseid(const char *name, id_t *id) in parseid() 529 *id = (id_t)strtoul(name, &ep, 10); in parseid() 1436 id_t id; in metadata_log() 1444 id_t id; in metadata_log()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/ |
H A D | PlatformRemoteGDBServer.h | 188 std::optional<std::string> DoGetUserName(UserIDResolver::id_t uid) override; 189 std::optional<std::string> DoGetGroupName(UserIDResolver::id_t uid) override;
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | types.h | 49 typedef int id_t; typedef
|