Home
last modified time | relevance | path

Searched refs:arg_name (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/prctl/
H A Dprctl.c101 static char *arg_name = NULL; variable
262 arg_name = optarg; in main()
340 if (arg_operation && (arg_name == NULL)) { in main()
416 if (getrctl(arg_name, NULL, rctlblkA, RCTL_FIRST)) { in main()
418 "for %s: %s"), arg_name, strerror(errno)); in main()
422 while (getrctl(arg_name, rctlblkA, rctlblkB, RCTL_NEXT) == 0) { in main()
440 "for %s: %s"), arg_name, strerror(errno)); in main()
475 arg_valuestring, arg_name); in main()
556 arg_name); in main()
607 (arg_name) && in main()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_fn_arg_link.c34 char *fn_name, *arg_name; in save_in_fn_ptr_data_link_table() local
40 arg_name = expr_to_var_sym(arg, &arg_sym); in save_in_fn_ptr_data_link_table()
41 if (!fn_sym || !fn_sym->ident || !arg_sym || !fn_name || !arg_name) in save_in_fn_ptr_data_link_table()
52 if (strncmp(fn_name, arg_name, sym_len) != 0) in save_in_fn_ptr_data_link_table()
68 arg_name + sym_len); in save_in_fn_ptr_data_link_table()
72 free_string(arg_name); in save_in_fn_ptr_data_link_table()
H A Dcheck_frees_argument.c41 const char *arg_name; in is_arg() local
44 arg_name = (arg->ident?arg->ident->name:"-"); in is_arg()
45 if (sym == arg && !strcmp(name, arg_name)) in is_arg()
H A Dcheck_uninitialized.c238 char *arg_name; in match_call_struct_members() local
255 arg_name = expr_to_var_sym(arg->unop, &sym); in match_call_struct_members()
256 if (!arg_name || !sym) in match_call_struct_members()
263 snprintf(buf, sizeof(buf), "$->%s", sm->name + strlen(arg_name) + 1); in match_call_struct_members()
270 free_string(arg_name); in match_call_struct_members()
H A Dcheck_locking.c1173 char *arg_name; in get_caller_param_lock_name() local
1178 arg_name = sm_to_arg_name(arg, sm); in get_caller_param_lock_name()
1179 if (arg_name) { in get_caller_param_lock_name()
1180 *name = arg_name; in get_caller_param_lock_name()
H A Dsmatch_comparison.c2157 char *arg_name; in match_call_info() local
2187 arg_name = expr_to_var(arg); in match_call_info()
2188 if (!arg_name) in match_call_info()
2192 if (strcmp(data->left_var, arg_name) == 0) { in match_call_info()
2196 } else if (strcmp(data->right_var, arg_name) == 0) { in match_call_info()
2214 free_string(arg_name); in match_call_info()
/illumos-gate/usr/src/uts/common/sys/usb/clients/video/usbvc/
H A Dusbvc_var.h265 #define USBVC_COPYOUT(arg_name) \ argument
266 if (ddi_copyout(&arg_name, (caddr_t)arg, sizeof (arg_name), mode)) { \
275 #define USBVC_COPYIN(arg_name) \ argument
276 if (ddi_copyin((caddr_t)arg, &arg_name, sizeof (arg_name), mode)) { \
/illumos-gate/usr/src/uts/common/os/
H A Ddacf.c399 ASSERT(p->arg_name); in dacf_rule_ctor()
405 (void) dacf_arg_insert(&rule->r_args, p->arg_name, p->arg_val); in dacf_rule_ctor()
604 if (strcmp(arg->arg_name, name) == 0) { in dacf_arg_insert()
610 arg->arg_name = kmem_alloc(strlen(name) + 1, KM_SLEEP); in dacf_arg_insert()
611 (void) strcpy(arg->arg_name, name); in dacf_arg_insert()
632 kmem_free(arg->arg_name, strlen(arg->arg_name) + 1); in dacf_arglist_delete()
1227 dacf_get_arg(dacf_arghdl_t arghdl, char *arg_name) in dacf_get_arg() argument
1230 ASSERT(arg_name); in dacf_get_arg()
1233 if (strcmp(arg_list->arg_name, arg_name) == 0) { in dacf_get_arg()
/illumos-gate/usr/src/uts/common/sys/
H A Ddacf_impl.h69 char *arg_name; /* operation argument name */ member
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Ddcs.h95 char *arg_name; member
H A Ddcs.c411 for (alg = algs; alg->arg_name != NULL && arg != NULL; alg++) { in dcs_get_alg()
412 if (strncmp(alg->arg_name, arg, strlen(alg->arg_name) + 1) in dcs_get_alg()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_xml.c864 xmlChar *arg_name = NULL; in pmeth_record() local
925 if ((arg_name = xmlGetProp(cn, (xmlChar *)Name)) in pmeth_record()
935 xmlFree(arg_name); in pmeth_record()
939 (const char *)arg_name) != 0) { in pmeth_record()
941 xmlFree(arg_name); in pmeth_record()
945 if (arg_name) { in pmeth_record()
946 xmlFree(arg_name); in pmeth_record()
947 arg_name = NULL; in pmeth_record()