Searched defs:arg (Results 1 - 25 of 2390) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dllabs.c37 llabs(longlong_t arg) argument
39 return (arg >= 0 ? arg : -arg);
H A Dimaxabs.c38 imaxabs(intmax_t arg) argument
40 return ((intmax_t)llabs((long long)arg));
54 _imaxabs_c89(int32_t arg) argument
56 return (abs(arg));
H A Dswapctl.c38 swapctl(int cmd, void *arg) argument
40 return (uadmin(A_SWAPCTL, cmd, (uintptr_t)arg));
H A Dgetspent.c46 free_spbuf(void *arg) argument
48 nss_XbyY_buf_t **buffer = arg;
/illumos-gate/usr/src/lib/libc/port/sys/
H A D_autofssys.c36 _autofssys(enum autofssys_op op, void *arg) argument
38 return (syscall(SYS_autofssys, op, arg, NULL, NULL, NULL, NULL));
H A Dfcntl.c62 s_ioctl(int fd, int cmd, intptr_t arg) argument
64 return (ioctl(fd, cmd, arg));
73 intptr_t arg; local
77 arg = va_arg(ap, intptr_t);
82 pid = (int)arg;
91 return (syscall(SYS_fcntl, fd, cmd, arg));
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcsys.c46 rpcsys(enum rpcsys_op opcode, void *arg) argument
56 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra)))
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dmctl.c53 mctl(caddr_t addr, size_t len, int function, int arg) argument
59 return (memcntl(addr, len, function, (caddr_t)(uintptr_t)arg, 0, 0));
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam_reg.c43 dcam_reg_read(dcam_state_t *soft_state, dcam1394_reg_io_t *arg) argument
53 (uint64_t)(arg->offs & 0x00000FFC);
77 arg->val = cmdp->cmd_u.q.quadlet_data;
89 dcam_reg_write(dcam_state_t *soft_state, dcam1394_reg_io_t *arg) argument
99 (uint64_t)(arg->offs & 0x00000FFC);
103 cmdp->cmd_u.q.quadlet_data = T1394_DATA32(arg->val);
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dgetmessage.c47 va_list arg; local
52 va_start(arg, type);
54 va_start(arg);
57 rval = _getmessage(buf, type, arg);
58 va_end(arg);
H A Dputmessage.c46 va_list arg; local
50 va_start(arg, type);
52 va_start(arg);
55 size = _putmessage(buf, type, arg);
56 va_end(arg);
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dmsgsvc_svc.c69 msgsvcsend_NetrSendMessage(void *arg, ndr_xa_t *mxa) argument
71 msgsvcsend_NetrSendMessage_t *param = arg;
/illumos-gate/usr/src/lib/libtnf/
H A Drecord.c45 * Retrieve the tag arg, encoded in low 16 bits of tag word
52 tnf_ref32_t *arg; local
60 arg = _tnf_get_tag_arg(tnf, DATUM_RECORD(datum));
62 if (arg == TNF_NULL)
64 else /* repackage the tag arg with its taginfo */
65 return (RECORD_DATUM(tnf, arg));
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dexit.c32 caddr_t arg; member in struct:handlers
52 (*h->handler)(code, h->arg);
H A Don_exit.c34 caddr_t arg; member in struct:handlers
41 on_exit(handler, arg)
43 caddr_t arg;
51 h->arg = arg;
/illumos-gate/usr/src/cmd/mdb/intel/amd64/kmdb/
H A Dkmdb_makecontext.c43 kmdb_makecontext(ucontext_t *ucp, void (*func)(void *), void *arg, caddr_t stk, argument
53 ucp->uc_mcontext.gregs[REG_RDI] = (greg_t)arg;
/illumos-gate/usr/src/cmd/mdb/intel/ia32/kmdb/
H A Dkmdb_makecontext.c43 kmdb_makecontext(ucontext_t *ucp, void (*func)(void *), void *arg, caddr_t stk, argument
50 *stack = (uintptr_t)arg;
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_makecontext.c44 kmdb_makecontext(ucontext_t *ucp, void (*func)(void *), void *arg, caddr_t stk, argument
60 ucp->uc_mcontext.gregs[REG_O0] = (greg_t)arg;
/illumos-gate/usr/src/uts/common/syscall/
H A Dcladm.c37 cladm(int fac, int cmd, void *arg) argument
56 if (copyout(&copyout_bootflags, arg, sizeof (int))) {
77 error = copyout(&nid, arg, sizeof (nid));
88 error = cladmin(fac, cmd, arg);
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dscsi_reset_notify.h50 caddr_t arg; member in struct:scsi_reset_notify_entry
55 _NOTE(SCHEME_PROTECTS_DATA("protected by lock passed as arg",
58 scsi_reset_notify_entry::arg
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcleanup.h7 void * arg; member in struct:cleanup
16 cleanup_data[cleanup_count].arg = x; \
22 cleanup_data[cleanup_count].func(cleanup_data[cleanup_count].arg);
27 cleanup_data[cleanup_count].func(cleanup_data[cleanup_count].arg);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dcflow.c48 register char *arg; local
56 errormsg(SH_DICT,2, "%s", opt_info.arg);
59 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg);
67 n = (((arg= *argv)?(int)strtol(arg, (char**)0, 10)&SH_EXITMASK:shp->oldexit));
85 char *arg; local
91 errormsg(SH_DICT,2, "%s", opt_info.arg);
94 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg);
101 if(arg= *argv)
103 n = strtol(arg,
[all...]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dty_regexp.c79 copy_rexp(char *arg) argument
83 if (arrayAlloc(rexp, (strlen(arg) + 1), char))
84 (void) strcpy(rexp, arg);
89 free_rexp(char *arg) argument
91 Free(arg);
95 fcheck_rexp(FIELD *f, char *arg) argument
97 return (libform_regex(arg, field_buffer(f, 0), NULL) ? TRUE : FALSE);
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem_update_thread.c36 umem_update_thread(void *arg) argument
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgexecl.c54 char *arg[MAXARGS+1]; local
59 /* construct arg[] array from varargs passed in */
68 arg[0] ? arg[0] : "??");
71 arg[n++] = pt;
74 arg[n] = NULL;
77 /* return results of executing command based on arg[] list */
79 return (pkgexecv(filein, fileout, uname, gname, arg));

Completed in 2941 milliseconds

1234567891011>>