Home
last modified time | relevance | path

Searched refs:prof (Results 1 – 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/lib/libsecdb/common/
H A Dgetprofattr.c48 profstr_t prof; in getprofattr() local
51 tmp = _getprofattr(&prof, buf, NSS_BUFLEN_PROFATTR, &err); in getprofattr()
61 profstr_t prof; in getprofnam() local
64 (void) memset(&prof, 0, sizeof (profstr_t)); in getprofnam()
66 resptr = _getprofnam(name, &prof, buf, NSS_BUFLEN_PROFATTR, &err); in getprofnam()
88 free_profattr(profattr_t *prof) in free_profattr() argument
90 if (prof) { in free_profattr()
91 free(prof->name); in free_profattr()
92 free(prof->res1); in free_profattr()
93 free(prof->res2); in free_profattr()
[all …]
H A Dchkauthattr.c93 char *prof, *last; in _enum_common_p() local
107 while (prof = strtok_r(profiles, KV_SEPSTR, &last)) { in _enum_common_p()
112 if (strcmp(profs[i], prof) == 0) in _enum_common_p()
119 profs[(*pcnt)++] = strdup(prof); in _enum_common_p()
125 pa = getprofnam(prof); in _enum_common_p()
128 res = cb(prof, pa ? pa->attr : NULL, ctxt, pres); in _enum_common_p()
H A Dgetexecattr.c235 findexecattr(const char *prof, kva_t *kva, void *ctxt, void *res) in findexecattr() argument
241 if ((exec = getexecprof(prof, c->type, c->id, c->sflag)) != NULL) { in findexecattr()
/illumos-gate/usr/src/uts/common/dtrace/
H A Dprofile.c140 profile_probe_t *prof = pcpu->profc_probe; in profile_fire() local
146 dtrace_probe(prof->prof_id, CPU->cpu_profile_pc, in profile_fire()
153 profile_probe_t *prof = arg; in profile_tick() local
155 dtrace_probe(prof->prof_id, CPU->cpu_profile_pc, in profile_tick()
162 profile_probe_t *prof; in profile_create() local
180 prof = kmem_zalloc(sizeof (profile_probe_t), KM_SLEEP); in profile_create()
181 (void) strcpy(prof->prof_name, name); in profile_create()
182 prof->prof_interval = interval; in profile_create()
183 prof->prof_cyclic = CYCLIC_NONE; in profile_create()
184 prof->prof_kind = kind; in profile_create()
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_profile.c74 di_prof_fini(di_prof_t prof) in di_prof_fini() argument
76 nvlist_free((nvlist_t *)prof); in di_prof_fini()
83 di_prof_commit(di_prof_t prof) in di_prof_commit() argument
89 if (nvlist_pack((nvlist_t *)prof, &buf, &buflen, NV_ENCODE_NATIVE, 0)) in di_prof_commit()
104 di_prof_add_dev(di_prof_t prof, const char *dev) in di_prof_add_dev() argument
106 if (nvlist_add_string((nvlist_t *)prof, SDEV_NVNAME_INCLUDE, dev)) in di_prof_add_dev()
116 di_prof_add_exclude(di_prof_t prof, const char *dev) in di_prof_add_exclude() argument
118 if (nvlist_add_string((nvlist_t *)prof, SDEV_NVNAME_EXCLUDE, dev)) in di_prof_add_exclude()
127 di_prof_add_symlink(di_prof_t prof, const char *linkname, const char *target) in di_prof_add_symlink() argument
129 nvlist_t *nvl = (nvlist_t *)prof; in di_prof_add_symlink()
[all …]
/illumos-gate/usr/src/cmd/getent/
H A Ddogetprofattr.c34 putprofattr(const profattr_t *prof, FILE *fp) in putprofattr() argument
40 if (prof == NULL) in putprofattr()
44 prof->name != NULL ? prof->name : "", in putprofattr()
45 prof->res1 != NULL ? prof->res1 : "", in putprofattr()
46 prof->res2 != NULL ? prof->res2 : "", in putprofattr()
47 prof->desc != NULL ? prof->desc : "") == EOF) in putprofattr()
49 attrs = prof->attr; in putprofattr()
/illumos-gate/usr/src/test/smbclient-tests/config/
H A DMakefile20 fileio.prof \
21 filemacro.prof \
22 filemicro.prof \
24 randomread.prof \
25 seqread.prof
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgetprofattr.c65 profstr_t *prof = (profstr_t *)ent; in str2profattr() local
83 prof->name = _strtok_escape(buffer, sep, &last); in str2profattr()
84 prof->res1 = _strtok_escape(NULL, sep, &last); in str2profattr()
85 prof->res2 = _strtok_escape(NULL, sep, &last); in str2profattr()
86 prof->desc = _strtok_escape(NULL, sep, &last); in str2profattr()
87 prof->attr = _strtok_escape(NULL, sep, &last); in str2profattr()
H A Dgetexecattr.c215 profstr_t prof; in _getexecprof() local
225 NSS_XbyY_INIT(&parg, &prof, pbuf, NSS_BUFLEN_PROFATTR, in _getexecprof()
/illumos-gate/usr/src/cmd/sh/
H A Dmain.c344 exfile(int prof) in exfile() argument
358 setmode(prof); in exfile()
360 if (setjmp(errshell) && prof) { in exfile()
564 setmode(int prof) in setmode() argument
587 flags |= prof; in setmode()
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c1701 di_prof_t prof = NULL; in create_znode() local
1715 if (di_prof_init(zonepath, &prof)) { in create_znode()
1751 if (di_prof_add_dev(prof, tmpfile)) { in create_znode()
1753 di_prof_fini(prof); in create_znode()
1760 di_prof_fini(prof); in create_znode()
1767 di_prof_fini(prof); in create_znode()
1775 if (di_prof_commit(prof)) in create_znode()
1777 di_prof_fini(prof); in create_znode()
1789 di_prof_t prof = NULL; in remove_znode() local
1806 if (di_prof_init(zonepath, &prof)) { in remove_znode()
[all …]
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dsymprof.pl230 my ($prof, $sym);
231 $prof = '';
243 $prof .= "$object|TEXT|GLOB|" .
246 $prof .= "$object|TEXT|WEAK|" .
253 if ($prof ne '') {
263 print $static_prof_fh $prof;
/illumos-gate/usr/src/cmd/ypcmd/net_files/
H A DMakefile84 auth.attr exec.attr prof.attr user.attr
404 prof.attr.time: $(RBACDIR)/prof_attr
412 touch prof.attr.time; \
476 prof.attr:prof.attr.time
/illumos-gate/usr/src/cmd/profiles/
H A Dprofiles.c106 show_profs_callback(const char *prof, kva_t *pa, void *pflag, void *vcnt) in show_profs_callback() argument
118 (void) printf("%s%s", indent, prof); in show_profs_callback()
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-test-smbclient.p5m39 file path=opt/smbclient-tests/config/fileio.prof mode=0444
40 file path=opt/smbclient-tests/config/filemacro.prof mode=0444
41 file path=opt/smbclient-tests/config/filemicro.prof mode=0444
43 file path=opt/smbclient-tests/config/randomread.prof mode=0444
44 file path=opt/smbclient-tests/config/seqread.prof mode=0444
H A Ddeveloper-dtrace.p5m80 file path=usr/demo/dtrace/prof.d
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c1061 di_prof_t prof = arg; in mount_one_dev_device_cb() local
1064 return (di_prof_add_dev(prof, match)); in mount_one_dev_device_cb()
1065 return (di_prof_add_map(prof, match, name)); in mount_one_dev_device_cb()
1071 di_prof_t prof = arg; in mount_one_dev_symlink_cb() local
1073 return (di_prof_add_symlink(prof, source, target)); in mount_one_dev_symlink_cb()
1111 di_prof_t prof = NULL; in mount_one_dev() local
1117 if (di_prof_init(devpath, &prof)) { in mount_one_dev()
1155 mount_one_dev_device_cb, prof, curr_iptype) != 0) { in mount_one_dev()
1161 mount_one_dev_symlink_cb, prof) != 0) { in mount_one_dev()
1182 if (di_prof_add_dev(prof, ztab.zone_dev_match)) { in mount_one_dev()
[all …]
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dfuncs.c56 static const char prof[] = "profile name"; variable
85 { USERATTR_PROFILES_KW, check_prof, prof },
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dmanifest-import279 for prof in $pln $plmn etc_svc_profile_platform_none_xml \
282 if /usr/bin/svcprop -p $prof smf/manifest >/dev/null 2>&1
/illumos-gate/usr/src/cmd/dtrace/demo/
H A DMakefile69 prof.d \
/illumos-gate/usr/src/man/man7/
H A DMakefile114 prof.7 \
/illumos-gate/usr/src/uts/common/sys/
H A Dproc.h62 struct prof { struct
283 struct prof p_prof; /* profile arguments */
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c251 ggp_callback(const char *prof, kva_t *attr, void *ctxt, void *vres) in ggp_callback() argument
/illumos-gate/usr/src/head/
H A DMakefile149 prof.h \
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c1788 di_prof_t prof = NULL; in i_dladm_update_deventry() local
1797 if (di_prof_init(path, &prof) != 0) in i_dladm_update_deventry()
1805 ret = di_prof_add_dev(prof, name); in i_dladm_update_deventry()
1807 ret = di_prof_add_exclude(prof, name); in i_dladm_update_deventry()
1814 if (di_prof_commit(prof) != 0) in i_dladm_update_deventry()
1817 if (prof) in i_dladm_update_deventry()
1818 di_prof_fini(prof); in i_dladm_update_deventry()

12