Lines Matching refs:exec
59 execstr_t exec;
62 tmp = _getexecattr(&exec, buf, NSS_BUFLEN_EXECATTR, &err);
76 execstr_t exec;
80 (void) memset(&exec, 0, sizeof (execstr_t));
108 &exec,
175 match_execattr(execattr_t *exec, const char *profname, const char *type,
180 for (execp = exec; execp != NULL; execp = execp->next) {
207 free_execattr(execattr_t *exec)
209 if (exec != NULL) {
210 free(exec->name);
211 free(exec->type);
212 free(exec->policy);
213 free(exec->res1);
214 free(exec->res2);
215 free(exec->id);
216 _kva_free(exec->attr);
217 free_execattr(exec->next);
218 free(exec);
237 execattr_t *exec;
241 if ((exec = getexecprof(prof, c->type, c->id, c->sflag)) != NULL) {
243 r->head = exec;
247 r->head = exec;
250 r->prev->next = exec;
251 r->prev = get_tail(exec);
288 get_tail(execattr_t *exec)
293 if (exec != NULL) {
294 if (exec->next == NULL) {
295 j_exec = exec;
297 for (i_exec = exec->next; i_exec != NULL;
337 print_execattr(execattr_t *exec)
342 if (exec != NULL) {
343 printf("name=%s\n", exec->name ? exec->name : empty);
344 printf("policy=%s\n", exec->policy ? exec->policy : empty);
345 printf("type=%s\n", exec->type ? exec->type : empty);
346 printf("res1=%s\n", exec->res1 ? exec->res1 : empty);
347 printf("res2=%s\n", exec->res2 ? exec->res2 : empty);
348 printf("id=%s\n", exec->id ? exec->id : empty);
350 print_kva(exec->attr);
352 if (exec->next) {
353 print_execattr(exec->next);