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
61 profstr_t prof; in getprofnam() local
90 if (prof) { in free_profattr()
91 free(prof->name); in free_profattr()
92 free(prof->res1); in free_profattr()
96 free(prof); in free_profattr()
106 if (prof == NULL) in profstr2attr()
161 printf("name=%s\n", prof->name ? prof->name : empty); in print_profattr()
162 printf("res1=%s\n", prof->res1 ? prof->res1 : empty); in print_profattr()
163 printf("res2=%s\n", prof->res2 ? prof->res2 : empty); in print_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.c153 profile_probe_t *prof = arg; in profile_tick() local
162 profile_probe_t *prof; in profile_create() local
184 prof->prof_kind = kind; in profile_create()
325 profile_probe_t *prof = parg; in profile_destroy() local
338 profile_probe_t *prof = arg; in profile_online() local
342 pcpu->profc_probe = prof; in profile_online()
369 profile_probe_t *prof = parg; in profile_enable() local
379 hdlr.cyh_arg = prof; in profile_enable()
388 omni.cyo_arg = prof; in profile_enable()
403 profile_probe_t *prof = parg; in profile_disable() local
[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()
129 nvlist_t *nvl = (nvlist_t *)prof; in di_prof_add_symlink()
143 di_prof_add_map(di_prof_t prof, const char *source, const char *target) in di_prof_add_map() argument
[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()
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
1826 di_prof_fini(prof); in remove_znode()
1832 if (di_prof_commit(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
1071 di_prof_t prof = arg; in mount_one_dev_symlink_cb() local
1111 di_prof_t prof = NULL; in mount_one_dev() local
1191 if (di_prof_commit(prof)) { in mount_one_dev()
1203 if (prof) in mount_one_dev()
1204 di_prof_fini(prof); in mount_one_dev()
2922 di_prof_t prof = NULL; in configure_exclusive_network_interfaces() local
2945 if (prof == NULL) { in configure_exclusive_network_interfaces()
3013 if (prof != NULL && added) { in configure_exclusive_network_interfaces()
3019 if (prof != NULL) in configure_exclusive_network_interfaces()
[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