Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 1278) sorted by relevance

12345678910>>...52

/illumos-gate/usr/src/uts/common/sys/
H A Ddevid_cache.h89 #define DEVID_DEBUG(args) { if (devid_debug) cmn_err args; } argument
90 #define DEVID_DEBUG1(args) { if (devid_debug > 1) cmn_err args; } argument
91 #define DEVID_DEBUG2(args) { if (devid_debug > 2) cmn_err args; } argument
92 #define DEVID_DUMP(args) { if (devid_debug > 2) args; } argument
94 #define DEVID_LOG_FIND(args) { if (devid_log_finds) devid_log args; } argument
95 #define DEVID_LOG_LOOKUP(args) { if (devid_log_lookups) cmn_err args; } argument
97 #define DEVID_LOG_PATHS(args) { if (devid_log_paths) cmn_err args; } argument
98 #define DEVID_LOG_ERR(args) { if (devid_log_failures) devid_log args; } argument
100 #define DEVID_LOG_HOLD(args) { if (devid_log_hold) cmn_err args; } argument
103 #define DEVID_LOG_STALE(args) { if (devid_log_stale) devid_log args; } argument
[all …]
H A Dautoconf.h124 #define NDI_CONFIG_DEBUG(args) if (ddidebug & DDI_DEBUG) cmn_err args argument
134 #define RIO_DEBUG(args) if (ddidebug & DDI_DBG_RETIRE) cmn_err args argument
137 #define LDI_EVDBG(args) if (ddidebug & LDI_EV_DEBUG) cmn_err args argument
138 #define LDI_EVTRC(args) if (ddidebug & LDI_EV_TRACE) cmn_err args argument
140 #define DDI_HP_APIDBG(args) if (ddidebug & DDI_HP_API) cmn_err args argument
141 #define DDI_HP_IMPLDBG(args) if (ddidebug & DDI_HP_IMPL) cmn_err args argument
142 #define DDI_HP_NEXDBG(args) if (ddidebug & DDI_HP_NEXUS) cmn_err args argument
154 #define RIO_DEBUG(args) if (ddidebug & DDI_DBG_RETIRE) cmn_err args argument
157 #define LDI_EVDBG(args) if (ddidebug & LDI_EV_DEBUG) cmn_err args argument
158 #define LDI_EVTRC(args) if (ddidebug & LDI_EV_TRACE) cmn_err args argument
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Derr.c154 va_list args; in warnx() local
158 va_end(args); in warnx()
164 va_list args; in _warnfp() local
168 va_end(args); in _warnfp()
174 va_list args; in _warnxfp() local
178 va_end(args); in _warnxfp()
185 va_list args; in warn() local
189 va_end(args); in warn()
196 va_list args; in err() local
200 va_end(args); in err()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call3.c70 bzero(args, sizeof (*args)); in setattr_arginit()
99 bzero(args, sizeof (*args)); in commit_arginit()
109 bzero(args, sizeof (*args)); in create_arginit()
150 bzero(args, sizeof (*args)); in mkdir_arginit()
161 bzero(args, sizeof (*args)); in mknod_arginit()
186 bzero(args, sizeof (*args)); in read_arginit()
196 bzero(args, sizeof (*args)); in readdir_arginit()
199 args->count = 1024; in readdir_arginit()
207 bzero(args, sizeof (*args)); in readdirplus_arginit()
261 bzero(args, sizeof (*args)); in symlink_arginit()
[all …]
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcaps.c38 struct args { struct
57 struct args *args = arg; in list_cap() local
64 args->colnum = args->margin; in list_cap()
66 args->colnum += fprintf(args->fp, "%s ", name); in list_cap()
156 struct args _args, *args = &_args; in capabilities() local
162 args->fp = fp; in capabilities()
177 args->margin = args->colnum = EVENT_MARGIN; in capabilities()
198 args->margin = args->colnum = EVENT_MARGIN; in capabilities()
214 args->colnum = args->margin = ATTR_MARGIN; in capabilities()
224 args->colnum = 8; in capabilities()
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_ua_common.c70 args = malloc(sizeof (*args)); in slp_ua_common()
71 if (args == NULL) { in slp_ua_common()
76 args->hp = hp; in slp_ua_common()
77 args->cb = cb; in slp_ua_common()
78 args->cookie = cookie; in slp_ua_common()
79 args->msg_cb = msg_cb; in slp_ua_common()
116 free(args); in slp_ua_common()
129 hp = args->hp; in consumer()
138 cont = args->msg_cb(hp, reply, args->cb, args->cookie, in consumer()
149 args->msg_cb(hp, NULL, args->cb, args->cookie, in consumer()
[all …]
/illumos-gate/usr/src/cmd/dtrace/demo/tcp/
H A Dtcpsnoop.d49 this->length = args[2]->ip_plength - args[4]->tcp_offset;
51 timestamp/1000, args[1]->cs_pid, args[2]->ip_saddr,
52 args[4]->tcp_sport, args[2]->ip_daddr, args[4]->tcp_dport,
58 this->length = args[2]->ip_plength - args[4]->tcp_offset;
60 timestamp/1000, args[1]->cs_pid, args[2]->ip_daddr,
61 args[4]->tcp_dport, args[2]->ip_saddr, args[4]->tcp_sport,
68 printf("%s", args[4]->tcp_flags & TH_FIN ? "FIN|" : "");
69 printf("%s", args[4]->tcp_flags & TH_SYN ? "SYN|" : "");
70 printf("%s", args[4]->tcp_flags & TH_RST ? "RST|" : "");
72 printf("%s", args[4]->tcp_flags & TH_ACK ? "ACK|" : "");
[all …]
H A Dtcpioflags.d37 this->length = args[2]->ip_plength - args[4]->tcp_offset;
39 args[2]->ip_saddr, args[4]->tcp_sport,
40 args[2]->ip_daddr, args[4]->tcp_dport, this->length);
45 this->length = args[2]->ip_plength - args[4]->tcp_offset;
47 args[2]->ip_daddr, args[4]->tcp_dport,
48 args[2]->ip_saddr, args[4]->tcp_sport, this->length);
54 printf("%s", args[4]->tcp_flags & TH_FIN ? "FIN|" : "");
55 printf("%s", args[4]->tcp_flags & TH_SYN ? "SYN|" : "");
56 printf("%s", args[4]->tcp_flags & TH_RST ? "RST|" : "");
58 printf("%s", args[4]->tcp_flags & TH_ACK ? "ACK|" : "");
[all …]
H A Dtcptop.d59 / args[1]->cs_pid != -1 /
61 @out[args[1]->cs_zoneid, args[1]->cs_pid, args[2]->ip_saddr,
62 args[4]->tcp_sport, args[2]->ip_daddr, args[4]->tcp_dport] =
63 sum(args[2]->ip_plength - args[4]->tcp_offset);
67 / args[1]->cs_pid != -1 /
69 @out[args[1]->cs_zoneid, args[1]->cs_pid, args[2]->ip_daddr,
70 args[4]->tcp_dport, args[2]->ip_saddr, args[4]->tcp_sport] =
71 sum(args[2]->ip_plength - args[4]->tcp_offset);
77 mib:::tcpOutDataBytes { TCP_out += args[0]; }
78 mib:::tcpRetransBytes { TCP_out += args[0]; }
[all …]
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_states.c107 argArray_t *args; in _z_make_zone_running() local
148 _z_free_args(args); in _z_make_zone_running()
204 _z_free_args(args); in _z_make_zone_running()
276 argArray_t *args; in _z_make_zone_ready() local
309 _z_free_args(args); in _z_make_zone_ready()
325 _z_free_args(args); in _z_make_zone_ready()
331 _z_free_args(args); in _z_make_zone_ready()
347 _z_free_args(args); in _z_make_zone_ready()
383 _z_free_args(args); in _z_make_zone_ready()
458 argArray_t *args; in _z_make_zone_down() local
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dsvc-route112 args="$args`get_daemon_option_from_boolean_property $SMF_FMRI \
114 args="$args`get_daemon_option_from_boolean_property $SMF_FMRI \
116 args="$args`get_daemon_option_from_boolean_property $SMF_FMRI \
118 args="$args`get_daemon_option_from_boolean_property $SMF_FMRI \
120 args="$args`get_daemon_option_from_boolean_property $SMF_FMRI \
122 args="$args`get_daemon_option_from_boolean_property $SMF_FMRI \
124 args="$args`get_daemon_option_from_boolean_property $SMF_FMRI \
126 args="$args`get_daemon_option_from_boolean_property $SMF_FMRI \
129 args="-${args}"
133 args="$args `get_daemon_ordered_multivalue_option_from_property \
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localicmp.ksh50 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
51 args[4]->ipv4_protocol == IPPROTO_ICMP/
54 printf("args[2]: %d %d, ", args[2]->ip_ver, args[2]->ip_plength);
56 args[4]->ipv4_ver, args[4]->ipv4_length, args[4]->ipv4_flags,
57 args[4]->ipv4_offset, args[4]->ipv4_ttl);
61 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
62 args[4]->ipv4_protocol == IPPROTO_ICMP/
65 printf("args[2]: %d %d, ", args[2]->ip_ver, args[2]->ip_plength);
67 args[4]->ipv4_ver, args[4]->ipv4_length, args[4]->ipv4_flags,
68 args[4]->ipv4_offset, args[4]->ipv4_ttl);
H A Dtst.ipv4remoteicmp.ksh61 /args[2]->ip_saddr == "$source" && args[2]->ip_daddr == "$dest" &&
62 args[4]->ipv4_protocol == IPPROTO_ICMP/
65 printf("args[2]: %d %d, ", args[2]->ip_ver, args[2]->ip_plength);
67 args[4]->ipv4_ver, args[4]->ipv4_length, args[4]->ipv4_flags,
68 args[4]->ipv4_offset, args[4]->ipv4_ttl);
72 /args[2]->ip_saddr == "$dest" && args[2]->ip_daddr == "$source" &&
73 args[4]->ipv4_protocol == IPPROTO_ICMP/
76 printf("args[2]: %d %d, ", args[2]->ip_ver, args[2]->ip_plength);
78 args[4]->ipv4_ver, args[4]->ipv4_length, args[4]->ipv4_flags,
79 args[4]->ipv4_offset, args[4]->ipv4_ttl);
H A Dtst.localtcpstate.ksh92 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
99 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
100 (args[4]->tcp_sport == $tcpport || args[4]->tcp_dport == $tcpport)/
106 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
113 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
114 (args[4]->tcp_sport == $tcpport || args[4]->tcp_dport == $tcpport)/
125 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
126 args[4]->tcp_dport == $tcpport/
132 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
133 args[4]->tcp_sport == $tcpport/
[all …]
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/ccm/
H A Daes_ccm.c43 cryptotest_t args = { in main() local
50 args.key = CCM_KEY1; in main()
57 args.param = param; in main()
58 args.plen = ccm_param_len(); in main()
70 args.key = CCM_KEY2; in main()
77 args.param = param; in main()
78 args.plen = ccm_param_len(); in main()
92 args.key = CCM_KEY1; in main()
99 args.param = param; in main()
112 args.key = CCM_KEY2; in main()
[all …]
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dcompat_common.c218 args.iterator = 0;
343 args->returnval = args->buf.result;
345 args->returnval = args->buf.buffer;
346 args->erange = 0;
351 args->erange = 1;
356 args->erange = 0;
363 args->erange = 0;
796 args->returnval = args->buf.result;
916 op_num, args);
954 args->erange = 0;
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dinfotocap.c86 *args++ = val; in lookat()
153 char args[4]; in infotocap() local
167 if (checkparms(args[0])) in infotocap()
173 if (checkparms(args[0])) in infotocap()
179 if (checkparms(args[0])) in infotocap()
185 if (checkparms(args[0])) in infotocap()
191 if (checkparms(args[0])) in infotocap()
197 if (checkparms(args[0])) in infotocap()
203 if (checkparms(args[0])) in infotocap()
217 if (args[0] != args[2]) in infotocap()
[all …]
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dnis_common.c256 args->buf.result, args->buf.buffer, args->buf.buflen);
258 args->returnval = args->buf.result;
301 args->buf.result, args->buf.buffer, args->buf.buflen);
303 args->returnval = args->buf.result;
367 args->buf.result, args->buf.buffer, args->buf.buflen);
369 args->returnval = args->buf.result;
461 data.args = args;
508 nss_XbyY_args_t *args = xydata->args; local
519 args->buf.result, args->buf.buffer, args->buf.buflen);
521 args->returnval = args->buf.result;
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_query_dir.c78 smb2_find_args_t args; in smb2_query_dir() local
94 bzero(&args, sizeof (args)); in smb2_query_dir()
169 args.fa_fixedsize = 64; in smb2_query_dir()
172 args.fa_fixedsize = 68; in smb2_query_dir()
175 args.fa_fixedsize = 94; in smb2_query_dir()
204 args.fa_maxcount = args.fa_maxdata / (args.fa_fixedsize + 4); in smb2_query_dir()
206 args.fa_maxcount = 1; in smb2_query_dir()
210 args.fa_maxcount = 1; in smb2_query_dir()
345 &args->fa_fi, &args->fa_eos); in smb2_find_entries()
362 &args->fa_fi, &args->fa_mi, tbuf, tbuflen); in smb2_find_entries()
[all …]
H A Dsmb2_fsctl_odx.c383 bzero(&args, sizeof (args)); in smb2_fsctl_odx_write()
429 (args.in_dstoff + args.in_xlen) < args.in_dstoff) in smb2_fsctl_odx_write()
463 args.in_dstoff, args.in_xlen, B_TRUE); in smb2_fsctl_odx_write()
481 if (args.in_dstoff >= args.wa_eof) in smb2_fsctl_odx_write()
493 if ((args.in_dstoff + args.in_xlen) > dst_rnd_size) in smb2_fsctl_odx_write()
494 args.in_xlen = dst_rnd_size - args.in_dstoff; in smb2_fsctl_odx_write()
520 args.out_flags, in smb2_fsctl_odx_write()
561 if ((args->in_dstoff + xlen) > args->wa_eof) in smb2_fsctl_odx_write_zeros()
562 xlen = args->wa_eof - args->in_dstoff; in smb2_fsctl_odx_write_zeros()
647 if ((args->in_dstoff + xlen) > args->wa_eof) in smb2_fsctl_odx_write_native1()
[all …]
H A Dsmb_trans2_find.c303 &args.fa_maxcount, &args.fa_fflag, &args.fa_infolev, in smb_com_trans2_find_first2()
323 args.fa_fixedsize = in smb_com_trans2_find_first2()
324 smb_trans2_find_get_fixedsize(sr, args.fa_infolev, args.fa_fflag); in smb_com_trans2_find_first2()
353 (args.fa_eos && (args.fa_fflag & SMB_FIND_CLOSE_AT_EOS))) { in smb_com_trans2_find_first2()
440 bzero(&args, sizeof (args)); in smb_com_trans2_find_next2()
450 &odid, &args.fa_maxcount, &args.fa_infolev, in smb_com_trans2_find_next2()
459 args.fa_fixedsize = in smb_com_trans2_find_next2()
460 smb_trans2_find_get_fixedsize(sr, args.fa_infolev, args.fa_fflag); in smb_com_trans2_find_next2()
505 (args.fa_eos && (args.fa_fflag & SMB_FIND_CLOSE_AT_EOS))) { in smb_com_trans2_find_next2()
601 smb_odir_save_fname(od, args->fa_lastkey, args->fa_lastname); in smb_trans2_find_entries()
[all …]
/illumos-gate/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c267 nvlist_free(args); in lzc_create()
283 nvlist_free(args); in lzc_clone()
366 nvlist_t *args; in lzc_snapshot() local
418 nvlist_t *args; in lzc_destroy_snaps() local
444 nvlist_t *args; in lzc_snaprange_space() local
528 nvlist_t *args; in lzc_hold() local
637 nvlist_t *args; in lzc_send_resume() local
680 nvlist_t *args; in lzc_send_space() local
934 nvlist_t *args; in lzc_rollback() local
959 nvlist_t *args; in lzc_rollback_to() local
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfprints.c34 char* sfvprints(form, args) in sfvprints()
36 va_list args;
69 va_list args; in sfprints() local
72 va_start(args,form); in sfprints()
75 va_start(args); in sfprints()
79 va_end(args); in sfprints()
90 va_list args;
114 va_list args; in sfaprints() local
117 va_start(args,form); in sfaprints()
120 va_start(args); in sfaprints()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dexec.c281 bzero(&args, sizeof (args)); in exec_common()
1540 *--args->stk_offp = args->stk_strp - args->stk_base; in stk_add()
1649 argc = (int *)(args->stk_base + args->stk_size) - args->stk_offp; in stk_copyin()
1650 args->arglen = args->stk_strp - args->stk_base; in stk_copyin()
1672 args->na = (int *)(args->stk_base + args->stk_size) - args->stk_offp; in stk_copyin()
1673 args->ne = args->na - argc; in stk_copyin()
1701 size = (args->na + 4) * args->to_ptrsize + args->auxsize + in stk_copyin()
1717 args->nc = args->stk_strp - args->stk_base; in stk_copyin()
1977 args->stk_strp = args->stk_base; in exec_args()
2059 audit_exec(args->stk_base, args->stk_base + args->arglen, in exec_args()
[all …]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c149 args->bus_listp = NULL; in findevs()
184 clean_paths(args); in findevs()
306 args->bus_listp = bp; in add_bus()
421 di_node_name(args->node), di_instance(args->node)); in add_devpath()
447 di_node_name(args->node), di_instance(args->node)); in add_devpath()
457 args) != 0) { in add_devpath()
523 args->node = node; in add_devs()
524 args->minor = minor; in add_devs()
544 args) != 0) { in add_devs()
623 node = args->node; in add_disk2controller()
[all …]

12345678910>>...52