/illumos-gate/usr/src/cmd/dtrace/test/tst/common/scripting/ |
H A D | tst.projid.d | 41 printf("The projid is %d\n", $projid);
|
H A D | tst.projid.ksh | 32 # To verify projid of child process. 54 /\$projid != \$1/ 60 /\$projid == \$1/ 72 projectid=`ps -o pid,projid | grep "$$ " | awk '{print $2}' 2>/dev/null`
|
/illumos-gate/usr/src/cmd/oamuser/lib/ |
H A D | vprojid.c | 40 valid_projid(projid_t projid, struct project *pptr, void *buf, size_t len) argument 45 if (projid < 0) 48 if (projid > MAXPROJID) 51 if (t_pptr = getprojbyid(projid, pptr, buf, len))
|
H A D | vproj.c | 50 projid_t projid; local 55 projid = (projid_t)strtol(project, &ptr, (int)10); 57 return (valid_projid(projid, pptr, buf, len));
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | getproject.c | 69 return (_NSC_INT_KEY_CMP(e1->key.projid, e2->key.projid)); 74 return (db_gethash(&key->projid, sizeof (key->projid), htsize)); 79 (void) snprintf(whoami, len, "%s [key=%d]", name, argp->key.projid);
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getprojent.c | 68 return ((uint_t)argp->key.projid); 75 /* projid */ 99 projid_t projid; local 112 /* projid */ 114 projid = (projid_t)strtol(linep, (char **)&end, 10); 116 /* empty projid is not valid */ 120 return (projid == argp->key.projid);
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetproject.c | 81 projid_t projid; local 93 projid = strtol(*list, &ptr, 10); 98 pproj = getprojbyid(projid, &proj,
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | tasksys.c | 57 * taskid_t tasksys_settaskid(projid_t projid, uint_t flags); 67 tasksys_settaskid(projid_t projid, uint_t flags) argument 80 if (projid < 0 || projid > MAXPROJID) 106 kpj = project_hold_by_id(projid, p->p_zone, PROJECT_HOLD_INSERT); 174 tk = task_create(projid, curproc->p_zone); 284 tasksys(int code, projid_t projid, uint_t flags, void *projidbuf, size_t pbufsz) argument 288 return (tasksys_settaskid(projid, flags));
|
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getprojent.c | 44 (void) snprintf(projstr, PROJNAME_MAX, "%ld", argp->key.projid);
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
H A D | Project.pm | 157 my ($projname, $projid, $comment, $users, $groups, $attributes); 225 # "projid", "comment", "userlist", "grouplist" 262 # "projid" - numeric id of project 279 my ($projname, $projid, $comment, $users, $groups, $attributes); 285 ($projname, $projid, $comment, $users, $groups, $attributes) = 295 ($projname, $projid, $comment, $users, $groups, $attributes) = 306 if (defined($projid)) { 307 $projent->{'projid'} = $projid; 308 ($ret, $ref) = projent_parse_projid($projid); [all...] |
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | classifier.h | 71 projid_t projid; /* project id for packet */ member in struct:ipgpc_packet_s
|
H A D | classifier.c | 115 ipgpc_findfilters(IPGPC_TABLE_PROJID, packet->projid, fid_table); 580 * attempt to discern the uid and projid of the originator of a packet by 585 * whole packet. We also suck the projid from the same fragment. 595 packet->projid = crgetprojid(cr); 598 packet->projid = -1; 683 " if_index = %d, projid = %d, direction = %d", saddrbuf, 686 pkt->projid, pkt->direction)); 695 " if_index = %d, projid = %d, direction = %d", saddrbuf, 698 pkt->projid, pkt->direction));
|
H A D | classifier-objects.h | 106 projid_t projid; /* project id, " " */ member in struct:ipgpc_filter_s
|
H A D | filters.c | 619 /* parse projid */ 620 if (nvlist_lookup_int32(nvlp, IPGPC_PROJID, &filter->projid) != 0) { 621 filter->projid = IPGPC_WILDCARD; 997 fid->filter.projid) == NORMAL_VALUE) { 1402 fid->filter.projid); 2292 /* add projid */ 2293 if (in_filter->projid != IPGPC_WILDCARD) { 2295 in_filter->projid)) != 0) {
|
/illumos-gate/usr/src/lib/libproject/common/ |
H A D | setproject.c | 580 projid_t projid; local 626 projid = proj->pj_projid; 628 projid = getprojid(); 661 if (pr_settaskid(Pr, projid, flags & TASK_MASK) == -1) { 683 if (pr_settaskid(Pr, projid, flags & TASK_MASK) == -1) { 698 return (projid);
|
H A D | getprojent.c | 104 _getprojbyid(projid_t projid, struct project *result, argument 110 arg.key.projid = projid; 414 * projid field shouldn't be empty
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct_impl.h | 124 projid_t projid; member in struct:flow_item_s 157 projid_t projid; member in struct:header
|
H A D | flowacct.c | 51 * dsfield, projid & user id is present. If it is, then the number of packets 202 * attempt to discern the uid and projid of the originator of a packet by 217 header->projid = crgetprojid(cr); 220 header->projid = -1; 415 if ((item->dsfield != dsfield) || (item->projid != proj_id) || 489 item = flowacct_item_present(flow, header->dsfield, header->projid, 568 item->projid = header->projid; 702 tmp_frec->fl_use->fu_projid = item->projid;
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prutil.c | 283 getprojname(projid_t projid, char *str, size_t len, int noresolve, argument 289 if (noresolve || getprojbyid(projid, &proj, projbuf, PROJECT_BUFSZ) == 291 (void) snprintf(str, len, "%-6d", (int)projid);
|
H A D | prstat.c | 265 * projid in diffrent zones as the same project. 1319 projid_t projid; local 1325 if ((projid = getprojidbyname(p)) == -1) 1326 projid = Atoi(p); 1327 add_element(&prj_tbl, (long)projid); 1330 if ((projid = getprojidbyname(p)) == -1) 1331 projid = Atoi(p); 1332 add_element(&prj_tbl, (long)projid);
|
/illumos-gate/usr/src/lib/libexacct/demo/ |
H A D | exdump.c | 85 { EXD_PROC_PROJID, "projid" }, 119 { EXD_TASK_PROJID, "projid" }, 156 { EXD_FLOW_PROJID, "projid" }, 327 projid_t projid = o->eo_item.ei_uint32; local 329 (void) printf("%-15lu", projid); 334 if (getprojbyid(projid, &proj, projbuf,
|
/illumos-gate/usr/src/cmd/prctl/ |
H A D | prctl.c | 65 projid_t projid; member in struct:pr_info_handle 240 strcmp(optarg, "projid") == 0) 1059 if (getprojbyid(p.projid, &projent, buf, 1424 "project: %d: %.70s\n", (int)p->projid, 2031 projid_t projid; local 2069 * Set up zoneid, projid or taskid, as appropriate, so that comparisons 2087 projid = proj.pj_projid; 2122 ((p->psinfo).pr_projid != projid || 2141 if (pr_getprojid(p->pr) != projid || 2184 p->projid [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | task.c | 488 task_create(projid_t projid, zone_t *zone) argument 508 tk->tk_proj = project_hold_by_id(projid, zone, PROJECT_HOLD_INSERT); 839 projid_t projid = tk->tk_proj->kpj_id; local 860 if (crgetprojid(p->p_cred) == projid) 868 crsetprojid(newcr, projid);
|
/illumos-gate/usr/src/cmd/pgrep/ |
H A D | pgrep.c | 105 { OPT_FUNC | OPT_CRIT, 0, opt_projid, 0 }, /* -J projid */ 468 projid_t projid; local 481 if ((projid = getprojidbyname(ptr)) != -1) 482 idtab_append(idt, projid);
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getprojent.c | 209 (long)argp->key.projid) < 0)
|