Searched defs:prof (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_profile.c74 di_prof_fini(di_prof_t prof) argument
76 nvlist_free((nvlist_t *)prof);
83 di_prof_commit(di_prof_t prof) argument
89 if (nvlist_pack((nvlist_t *)prof, &buf, &buflen, NV_ENCODE_NATIVE, 0))
104 di_prof_add_dev(di_prof_t prof, const char *dev) argument
106 if (nvlist_add_string((nvlist_t *)prof, SDEV_NVNAME_INCLUDE, dev))
116 di_prof_add_exclude(di_prof_t prof, const char *dev) argument
118 if (nvlist_add_string((nvlist_t *)prof, SDEV_NVNAME_EXCLUDE, dev))
127 di_prof_add_symlink(di_prof_t prof, const char *linkname, const char *target) argument
129 nvlist_t *nvl = (nvlist_t *)prof;
143 di_prof_add_map(di_prof_t prof, const char *source, const char *target) argument
[all...]
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dgetprofattr.c48 profstr_t prof; local
51 tmp = _getprofattr(&prof, buf, NSS_BUFLEN_PROFATTR, &err);
61 profstr_t prof; local
64 (void) memset(&prof, 0, sizeof (profstr_t));
66 resptr = _getprofnam(name, &prof, buf, NSS_BUFLEN_PROFATTR, &err);
88 free_profattr(profattr_t *prof) argument
90 if (prof) {
91 free(prof->name);
92 free(prof->res1);
93 free(prof
102 profstr2attr(profstr_t *prof) argument
151 print_profattr(profattr_t *prof) argument
[all...]
H A Dgetexecattr.c235 findexecattr(const char *prof, kva_t *kva, void *ctxt, void *res) argument
241 if ((exec = getexecprof(prof, c->type, c->id, c->sflag)) != NULL) {
H A Dchkauthattr.c93 char *prof, *last; local
107 while (prof = strtok_r(profiles, KV_SEPSTR, &last)) {
112 if (strcmp(profs[i], prof) == 0)
119 profs[(*pcnt)++] = strdup(prof);
125 pa = getprofnam(prof);
128 res = cb(prof, pa ? pa->attr : NULL, ctxt, pres);
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgetprofattr.c67 profstr_t *prof = (profstr_t *)ent; local
85 prof->name = _strtok_escape(buffer, sep, &last);
86 prof->res1 = _strtok_escape(NULL, sep, &last);
87 prof->res2 = _strtok_escape(NULL, sep, &last);
88 prof->desc = _strtok_escape(NULL, sep, &last);
89 prof->attr = _strtok_escape(NULL, sep, &last);
H A Dgetexecattr.c215 profstr_t prof; local
225 NSS_XbyY_INIT(&parg, &prof, pbuf, NSS_BUFLEN_PROFATTR,
/illumos-gate/usr/src/cmd/profiles/
H A Dprofiles.c106 show_profs_callback(const char *prof, kva_t *pa, void *pflag, void *vcnt) argument
118 (void) printf("%s%s", indent, prof);
/illumos-gate/usr/src/cmd/sh/
H A Dmain.c344 exfile(int prof) argument
358 setmode(prof);
360 if (setjmp(errshell) && prof) {
564 setmode(int prof) argument
587 flags |= prof;
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dfuncs.c55 static const char prof[] = "profile name"; variable
86 { USERATTR_PROFILES_KW, check_prof, prof },
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c250 ggp_callback(const char *prof, kva_t *attr, void *ctxt, void *vres) argument
/illumos-gate/usr/src/uts/common/dtrace/
H A Dprofile.c140 profile_probe_t *prof = pcpu->profc_probe; local
146 dtrace_probe(prof->prof_id, CPU->cpu_profile_pc,
153 profile_probe_t *prof = arg; local
155 dtrace_probe(prof->prof_id, CPU->cpu_profile_pc,
162 profile_probe_t *prof; local
180 prof = kmem_zalloc(sizeof (profile_probe_t), KM_SLEEP);
181 (void) strcpy(prof->prof_name, name);
182 prof->prof_interval = interval;
183 prof->prof_cyclic = CYCLIC_NONE;
184 prof
325 profile_probe_t *prof = parg; local
338 profile_probe_t *prof = arg; local
369 profile_probe_t *prof = parg; local
403 profile_probe_t *prof = parg; local
416 profile_probe_t *prof = parg; local
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c1702 di_prof_t prof = NULL; local
1716 if (di_prof_init(zonepath, &prof)) {
1752 if (di_prof_add_dev(prof, tmpfile)) {
1754 di_prof_fini(prof);
1761 di_prof_fini(prof);
1768 di_prof_fini(prof);
1776 if (di_prof_commit(prof))
1778 di_prof_fini(prof);
1790 di_prof_t prof = NULL; local
1807 if (di_prof_init(zonepath, &prof)) {
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dproc.h60 struct prof { struct
274 struct prof p_prof; /* profile arguments */
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c1047 di_prof_t prof = arg; local
1050 return (di_prof_add_dev(prof, match));
1051 return (di_prof_add_map(prof, match, name));
1057 di_prof_t prof = arg; local
1059 return (di_prof_add_symlink(prof, source, target));
1097 di_prof_t prof = NULL; local
1103 if (di_prof_init(devpath, &prof)) {
1138 mount_one_dev_device_cb, prof, curr_iptype) != 0) {
1144 mount_one_dev_symlink_cb, prof) != 0) {
1165 if (di_prof_add_dev(prof, zta
2904 di_prof_t prof = NULL; local
[all...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c1546 di_prof_t prof = NULL; local
1555 if (di_prof_init(path, &prof) != 0)
1563 ret = di_prof_add_dev(prof, name);
1565 ret = di_prof_add_exclude(prof, name);
1572 if (di_prof_commit(prof) != 0)
1575 if (prof)
1576 di_prof_fini(prof);
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c9565 xmlNodePtr prof; local
9567 prof = xmlNewChild(ctxt, NULL,
9569 if (prof == NULL)
9574 set_attr_from_prop(exp_prop, prof,
9814 xmlNodePtr n, prof, cred, env; local
9830 prof =
9889 prof, name_attr) != 0)

Completed in 129 milliseconds