Home
last modified time | relevance | path

Searched refs:projid_t (Results 1 – 25 of 64) sorted by relevance

123

/titanic_50/usr/src/head/
H A Dproject.h48 projid_t pj_projid; /* numerical project id */
60 extern struct project *getprojbyid(projid_t, struct project *, void *, size_t);
65 extern projid_t getprojidbyname(const char *);
67 extern projid_t getprojid(void);
69 extern projid_t setproject(const char *, const char *, int);
70 extern int project_walk(int (*)(projid_t, void *), void *);
H A Ducred.h70 extern projid_t ucred_getprojid(const ucred_t *);
H A Duserdefs.h110 projid_t defproj; /* default project id */
/titanic_50/usr/src/lib/libproject/common/
H A Dproject_walk.c42 project_walk(int (*callback)(projid_t, void *), void *init_data) in project_walk() argument
45 projid_t *projids = NULL; in project_walk()
46 projid_t *curr_projid; in project_walk()
50 while ((sz = projlist(projids, osz * sizeof (projid_t))) != osz) { in project_walk()
53 if ((projids = realloc(projids, sz * sizeof (projid_t))) in project_walk()
H A Dgetprojent.c104 _getprojbyid(projid_t projid, struct project *result, in _getprojbyid()
338 projid_t
347 return ((projid_t)-1); in _getprojidbyname()
418 project->pj_projid = (projid_t)strtol(p, NULL, 10); in str2project()
/titanic_50/usr/src/lib/libc/port/sys/
H A Dtasksys.c41 settaskid(projid_t project, uint_t flags) in settaskid()
58 projid_t
61 return ((projid_t)syscall(SYS_tasksys, 2, 0, 0, NULL, 0)); in getprojid()
/titanic_50/usr/src/cmd/oamuser/lib/
H A Dvproj.c40 valid_projid(projid_t, struct project *, void *, size_t);
50 projid_t projid; in valid_project()
55 projid = (projid_t)strtol(project, &ptr, (int)10); in valid_project()
H A Dvprojid.c40 valid_projid(projid_t projid, struct project *pptr, void *buf, size_t len) in valid_projid()
/titanic_50/usr/src/uts/common/sys/
H A Dproject.h65 projid_t kpj_id; /* project ID */
99 kproject_t *project_hold_by_id(projid_t, struct zone *, int);
102 projid_t curprojid(void);
H A Dtask.h94 extern task_t *task_create(projid_t, struct zone *);
112 extern taskid_t settaskid(projid_t, uint_t);
H A Dcred.h96 extern projid_t crgetprojid(const cred_t *);
142 extern void crsetprojid(cred_t *, projid_t);
H A Dexacct_impl.h100 projid_t pu_projid; /* project ID */
123 projid_t fu_projid; /* project ID */
H A Dcred_impl.h84 projid_t cr_projid; /* project */
/titanic_50/usr/src/uts/common/syscall/
H A Dtasksys.c52 projid_t *pw_buf;
67 tasksys_settaskid(projid_t projid, uint_t flags) in tasksys_settaskid()
237 if (pw && pw->pw_bufsz >= sizeof (projid_t)) { in tasksys_projlist_cb()
240 pw->pw_bufsz -= sizeof (projid_t); in tasksys_projlist_cb()
284 tasksys(int code, projid_t projid, uint_t flags, void *projidbuf, size_t pbufsz) in tasksys()
/titanic_50/usr/src/cmd/prstat/
H A Dprutil.h55 extern void getprojname(projid_t, char *, size_t, int, int, size_t);
56 extern void getzonename(projid_t, char *, size_t, int, size_t);
/titanic_50/usr/src/lib/nsswitch/files/common/
H A Dgetprojent.c99 projid_t projid; in check_projid()
114 projid = (projid_t)strtol(linep, (char **)&end, 10); in check_projid()
/titanic_50/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.xs76 pwalk_cb(const projid_t project, void *walk_data) in pwalk_cb()
148 projid_t
202 projid_t id
H A Dtypemap6 projid_t T_IV
/titanic_50/usr/src/uts/common/ipp/flowacct/
H A Dflowacct_impl.h124 projid_t projid;
157 projid_t projid;
/titanic_50/usr/src/lib/libproc/common/
H A Dpr_tasksys.c77 projid_t
132 pr_settaskid(struct ps_prochandle *Pr, projid_t project, int flags) in pr_settaskid()
/titanic_50/usr/src/cmd/perl/contrib/Sun/Solaris/Task/
H A Dtypemap7 projid_t T_IV
/titanic_50/usr/src/cmd/oamuser/user/
H A Duserdefs.c197 FIELD(&defaults, pe, projid_t) = in getusrdef()
198 (projid_t)strtol(ptr, NULL, 10); in getusrdef()
389 (int)FIELD(defs, &tab[i], projid_t)); in putusrdef()
H A Dval_lprj.c42 static projid_t projlist[NPROJECTS_MAX + 1];
/titanic_50/usr/src/lib/libfakekernel/common/sys/
H A Dcred.h77 extern projid_t crgetprojid(const cred_t *);
/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h162 projid_t kpj_id;
234 projid_t pc_projid;

123