Home
last modified time | relevance | path

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

12345678910>>...46

/titanic_41/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
93 #define DEVID_LOG_REG(args) { if (devid_log_registers) devid_log 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
96 #define DEVID_LOG_MATCH(args) { if (devid_log_matches) devid_log 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
[all …]
H A Dautoconf.h124 #define NDI_CONFIG_DEBUG(args) if (ddidebug & DDI_DEBUG) cmn_err args argument
125 #define BMDPRINTF(args) if (ddidebug & DDI_DEBUG_BOOTMOD) printf args argument
126 #define DCOMPATPRINTF(args) if (ddidebug & DDI_DEBUG_COMPAT) cmn_err args argument
127 #define LDI_OPENCLOSE(args) if (ddidebug & LDI_DBG_OPENCLOSE) cmn_err args argument
128 #define LDI_ALLOCFREE(args) if (ddidebug & LDI_DBG_ALLOCFREE) cmn_err args argument
129 #define LDI_STREAMS_LNK(args) if (ddidebug & LDI_DBG_STREAMS) cmn_err args argument
130 #define LDI_EVENTCB(args) if (ddidebug & LDI_DBG_EVENTCB) cmn_err args argument
131 #define DDI_INTR_APIDBG(args) if (ddidebug & DDI_INTR_API) cmn_err args argument
132 #define DDI_INTR_IMPLDBG(args) if (ddidebug & DDI_INTR_IMPL) cmn_err args argument
133 #define DDI_INTR_NEXDBG(args) if (ddidebug & DDI_INTR_NEXUS) cmn_err args argument
[all …]
/titanic_41/usr/src/lib/libc/port/gen/
H A Derr.c73 Dl_argsinfo_t args; in init_progname() local
76 if (dlinfo(RTLD_SELF, RTLD_DI_ARGSINFO, &args) < 0 || in init_progname()
77 args.dla_argc <= 0 || in init_progname()
78 (argv0 = args.dla_argv[0]) == NULL) in init_progname()
89 warncore(FILE *fp, const char *fmt, va_list args) in warncore() argument
99 (void) vfprintf(fp, fmt, args); in warncore()
115 _vwarnxfp(FILE *fp, const char *fmt, va_list args) in _vwarnxfp() argument
119 lk = warncore(fp, fmt, args); in _vwarnxfp()
124 vwarnx(const char *fmt, va_list args) in vwarnx() argument
126 _vwarnxfp(stderr, fmt, args); in vwarnx()
[all …]
/titanic_41/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call3.c59 GETATTR3args *args = argp; in getattr_arginit() local
61 args->object.data.data_len = rootfh->fhandle3_len; in getattr_arginit()
62 args->object.data.data_val = rootfh->fhandle3_val; in getattr_arginit()
68 SETATTR3args *args = argp; in setattr_arginit() local
70 bzero(args, sizeof (*args)); in setattr_arginit()
71 args->object.data.data_len = rootfh->fhandle3_len; in setattr_arginit()
72 args->object.data.data_val = rootfh->fhandle3_val; in setattr_arginit()
78 LOOKUP3args *args = argp; in lookup_arginit() local
80 args->what.name = "giant-skunk"; in lookup_arginit()
81 args->what.dir.data.data_len = rootfh->fhandle3_len; in lookup_arginit()
[all …]
/titanic_41/usr/src/cmd/cpc/common/
H A Dcaps.c38 struct args { struct
57 struct args *args = arg; in list_cap() local
60 if ((args->colnum + strlen(name) + 1) > MAX_RHS_COLUMN) { in list_cap()
61 (void) fprintf(args->fp, "\n"); in list_cap()
62 for (i = 0; i < args->margin; i++) in list_cap()
63 (void) fprintf(args->fp, " "); in list_cap()
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()
[all …]
/titanic_41/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|" : "");
71 printf("%s", args[4]->tcp_flags & TH_PUSH ? "PUSH|" : "");
[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|" : "");
57 printf("%s", args[4]->tcp_flags & TH_PUSH ? "PUSH|" : "");
[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 …]
/titanic_41/usr/src/lib/libslp/clib/
H A Dslp_ua_common.c55 struct thr_call_args *args; in slp_ua_common() local
72 args = malloc(sizeof (*args)); in slp_ua_common()
73 if (args == NULL) { in slp_ua_common()
78 args->hp = hp; in slp_ua_common()
79 args->cb = cb; in slp_ua_common()
80 args->cookie = cookie; in slp_ua_common()
81 args->msg_cb = msg_cb; in slp_ua_common()
82 args->targets = targets; in slp_ua_common()
92 NULL, 0, (void *(*)(void *)) slp_call, args, 0, &tid)) != 0) { in slp_ua_common()
104 args, 0, NULL)) != 0) { in slp_ua_common()
[all …]
/titanic_41/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" &&
93 args[4]->ipv4_protocol == IPPROTO_TCP/
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" &&
107 args[4]->ipv4_protocol == IPPROTO_TCP/
113 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
114 (args[4]->tcp_sport == $tcpport || args[4]->tcp_dport == $tcpport)/
121 state_event[args[3]->tcps_state]++;
125 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
[all …]
H A Dtst.ipv6localicmp.ksh60 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
61 args[5]->ipv6_nexthdr == IPPROTO_ICMPV6/
64 printf("args[2]: %d %d, ", args[2]->ip_ver, args[2]->ip_plength);
66 args[5]->ipv6_ver, args[5]->ipv6_tclass, args[5]->ipv6_plen);
70 /args[2]->ip_saddr == "$local" && args[2]->ip_daddr == "$local" &&
71 args[5]->ipv6_nexthdr == IPPROTO_ICMPV6/
74 printf("args[2]: %d %d, ", args[2]->ip_ver, args[2]->ip_plength);
76 args[5]->ipv6_ver, args[5]->ipv6_tclass, args[5]->ipv6_plen);
H A Dtst.ipv6remoteicmp.ksh70 /args[2]->ip_saddr == "$source" && args[2]->ip_daddr == "$dest" &&
71 args[5]->ipv6_nexthdr == IPPROTO_ICMPV6/
74 printf("args[2]: %d %d, ", args[2]->ip_ver, args[2]->ip_plength);
76 args[5]->ipv6_ver, args[5]->ipv6_tclass, args[5]->ipv6_plen);
80 /args[2]->ip_saddr == "$dest" && args[2]->ip_daddr == "$source" &&
81 args[5]->ipv6_nexthdr == IPPROTO_ICMPV6/
84 printf("args[2]: %d %d, ", args[2]->ip_ver, args[2]->ip_plength);
86 args[5]->ipv6_ver, args[5]->ipv6_tclass, args[5]->ipv6_plen);
/titanic_41/usr/src/lib/libinstzones/common/
H A Dzones_states.c107 argArray_t *args; in _z_make_zone_running() local
137 args = _z_new_args(5); /* generate new arg list */ in _z_make_zone_running()
138 (void) _z_add_arg(args, ZONEADM_CMD); in _z_make_zone_running()
139 (void) _z_add_arg(args, "-z"); in _z_make_zone_running()
140 (void) _z_add_arg(args, a_zlem->_zlName); in _z_make_zone_running()
141 (void) _z_add_arg(args, "halt"); in _z_make_zone_running()
144 ZONEADM_CMD, _z_get_argv(args)); in _z_make_zone_running()
148 _z_free_args(args); in _z_make_zone_running()
187 args = _z_new_args(10); /* generate new arg list */ in _z_make_zone_running()
188 (void) _z_add_arg(args, ZONEADM_CMD); in _z_make_zone_running()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dsvc-route108 args="`get_daemon_option_from_boolean_property $SMF_FMRI ignore_auth \
110 args="$args`get_daemon_option_from_boolean_property $SMF_FMRI \
112 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 if [ -n "$args" ]; then
[all …]
/titanic_41/usr/src/lib/libcurses/screen/
H A Dinfotocap.c80 lookat(char *string, char *pattern, char *args) in lookat() argument
86 *args++ = val; in lookat()
153 char args[4]; in infotocap() local
166 else if (lookat(value, "%p*%d", args)) { in infotocap()
167 if (checkparms(args[0])) in infotocap()
172 } else if (lookat(value, "%p*%02d", args)) { in infotocap()
173 if (checkparms(args[0])) in infotocap()
178 } else if (lookat(value, "%p*%03d", args)) { in infotocap()
179 if (checkparms(args[0])) in infotocap()
184 } else if (lookat(value, "%p*%2.2d", args)) { in infotocap()
[all …]
/titanic_41/usr/src/lib/nsswitch/compat/common/
H A Dcompat_common.c215 struct nss_setnetgrent_args args; local
217 args.netgroup = netgroup;
218 args.iterator = 0;
220 NSS_DBOP_NETGROUP_SET, &args);
221 be->getnetgrent_backend = args.iterator;
237 struct nss_getnetgrent_args args; local
239 args.buffer = be->netgr_buffer;
240 args.buflen = NSS_BUFLEN_NETGROUP;
241 args.status = NSS_NETGR_NO;
245 NSS_DBOP_GETENT, &args);
[all …]
/titanic_41/usr/src/lib/nsswitch/nis/common/
H A Dnis_common.c217 _nss_nis_lookup(be, args, netdb, map, key, ypstatusp) in _nss_nis_lookup() argument
219 nss_XbyY_args_t *args;
253 args->returnval = NULL;
254 args->returnlen = 0;
255 parsestat = (*args->str2ent)(val, vallen,
256 args->buf.result, args->buf.buffer, args->buf.buflen);
258 args->returnval = args->buf.result;
259 args->returnlen = vallen;
262 args->erange = 1;
273 _nss_nis_lookup_rsvdport(be, args, netdb, map, key, ypstatusp) in _nss_nis_lookup_rsvdport() argument
[all …]
/titanic_41/usr/src/lib/libast/common/sfio/
H A Dsfprints.c32 char* sfvprints(const char* form, va_list args) in sfvprints() argument
34 char* sfvprints(form, args) in sfvprints()
36 va_list args;
49 rv = sfvprintf(f,form,args);
66 va_list args; in sfprints() local
69 va_start(args,form); in sfprints()
72 va_start(args); in sfprints()
73 form = va_arg(args,char*); in sfprints()
75 s = sfvprints(form, args); in sfprints()
76 va_end(args); in sfprints()
[all …]
/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_misc.c642 convert_ioctl_args(int cmd, void *arg, int mode, _sdbc_ioctl_t *args) in convert_ioctl_args() argument
658 bzero((void *) args, sizeof (_sdbc_ioctl_t)); in convert_ioctl_args()
665 args->sdbc_ustatus = (spcs_s_info_t)args32.sdbc_ustatus; in convert_ioctl_args()
671 args->arg0 = args32.arg0; /* cd */ in convert_ioctl_args()
672 args->arg1 = (uint32_t)args32.arg1; /* &tt */ in convert_ioctl_args()
673 args->arg2 = (uint32_t)args32.arg2; /* NULL (buf) */ in convert_ioctl_args()
674 args->arg3 = args32.arg3; /* size of buf */ in convert_ioctl_args()
675 args->arg4 = args32.arg4; /* flag */ in convert_ioctl_args()
676 args->sdbc_ustatus = (spcs_s_info_t)args32.sdbc_ustatus; in convert_ioctl_args()
680 args->arg0 = (uint32_t)args32.arg0; /* fname (char *) */ in convert_ioctl_args()
[all …]
/titanic_41/usr/src/uts/intel/io/drm/
H A Di915_gem_tiling.c271 struct drm_i915_gem_set_tiling args; in i915_gem_set_tiling() local
280 DRM_COPYFROM_WITH_RETURN(&args, in i915_gem_set_tiling()
281 (struct drm_i915_gem_set_tiling __user *) data, sizeof(args)); in i915_gem_set_tiling()
283 obj = drm_gem_object_lookup(fpriv, args.handle); in i915_gem_set_tiling()
288 if (!i915_tiling_ok(dev, args.stride, obj->size, args.tiling_mode)) { in i915_gem_set_tiling()
296 if (args.tiling_mode == I915_TILING_NONE) { in i915_gem_set_tiling()
297 args.swizzle_mode = I915_BIT_6_SWIZZLE_NONE; in i915_gem_set_tiling()
299 if (args.tiling_mode == I915_TILING_X) in i915_gem_set_tiling()
300 args.swizzle_mode = dev_priv->mm.bit_6_swizzle_x; in i915_gem_set_tiling()
302 args.swizzle_mode = dev_priv->mm.bit_6_swizzle_y; in i915_gem_set_tiling()
[all …]
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_trans2_find.c288 smb_find_args_t args; in smb_com_trans2_find_first2() local
291 bzero(&args, sizeof (smb_find_args_t)); in smb_com_trans2_find_first2()
302 &args.fa_maxcount, &args.fa_fflag, &args.fa_infolev, in smb_com_trans2_find_first2()
317 if (args.fa_fflag & SMB_FIND_WITH_BACKUP_INTENT) { in smb_com_trans2_find_first2()
322 args.fa_maxdata = in smb_com_trans2_find_first2()
323 smb_trans2_find_get_maxdata(sr, args.fa_infolev, args.fa_fflag); in smb_com_trans2_find_first2()
324 if (args.fa_maxdata == 0) in smb_com_trans2_find_first2()
340 count = smb_trans2_find_entries(sr, xa, od, &args); in smb_com_trans2_find_first2()
355 if ((args.fa_fflag & SMB_FIND_CLOSE_AFTER_REQUEST) || in smb_com_trans2_find_first2()
356 (args.fa_eos && (args.fa_fflag & SMB_FIND_CLOSE_AT_EOS))) { in smb_com_trans2_find_first2()
[all …]
/titanic_41/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c176 nvlist_t *args = fnvlist_alloc(); in lzc_create() local
177 fnvlist_add_int32(args, "type", type); in lzc_create()
179 fnvlist_add_nvlist(args, "props", props); in lzc_create()
180 error = lzc_ioctl(ZFS_IOC_CREATE, fsname, args, NULL); in lzc_create()
181 nvlist_free(args); in lzc_create()
190 nvlist_t *args = fnvlist_alloc(); in lzc_clone() local
191 fnvlist_add_string(args, "origin", origin); in lzc_clone()
193 fnvlist_add_nvlist(args, "props", props); in lzc_clone()
194 error = lzc_ioctl(ZFS_IOC_CLONE, fsname, args, NULL); in lzc_clone()
195 nvlist_free(args); in lzc_clone()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dexec.c127 struct uarg args; in exec_common() local
256 bzero(&args, sizeof (args)); in exec_common()
257 args.pathname = resolvepn.pn_path; in exec_common()
265 error = pfexec_call(p->p_cred, &resolvepn, &args.pfcred, in exec_common()
266 &args.scrubenv); in exec_common()
278 if (args.pfcred != NULL && in exec_common()
280 crfree(args.pfcred); in exec_common()
281 args.pfcred = NULL; in exec_common()
282 args.scrubenv = B_FALSE; in exec_common()
290 args.stk_prot = PROT_ZFOD; in exec_common()
[all …]

12345678910>>...46