Lines Matching refs:prof

48 	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()
94 free(prof->desc); in free_profattr()
95 _kva_free(prof->attr); in free_profattr()
96 free(prof); in free_profattr()
102 profstr2attr(profstr_t *prof) in profstr2attr() argument
106 if (prof == NULL) in profstr2attr()
112 newprof->name = _do_unescape(prof->name); in profstr2attr()
113 newprof->res1 = _do_unescape(prof->res1); in profstr2attr()
114 newprof->res2 = _do_unescape(prof->res2); in profstr2attr()
115 newprof->desc = _do_unescape(prof->desc); in profstr2attr()
116 newprof->attr = _str2kva(prof->attr, KV_ASSIGN, KV_DELIMITER); in profstr2attr()
151 print_profattr(profattr_t *prof) in print_profattr() argument
156 if (prof == NULL) { in print_profattr()
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()
164 printf("desc=%s\n", prof->desc ? prof->desc : empty); in print_profattr()
166 print_kva(prof->attr); in print_profattr()