Searched defs:arg (Results 1 - 25 of 2458) sorted by last modified time

1234567891011>>

/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasRefreshAdapterConfiguration.c38 find_matching_hba(di_node_t node, void *arg) argument
41 walkarg_t *wa = (walkarg_t *)arg;
H A Ddevlink_disco.c54 get_devlink(di_devlink_t devlink, void *arg) argument
57 walk_devlink_t *warg = (walk_devlink_t *)arg;
H A Ddevtree_hba_disco.c599 lookup_smhba_sas_hba(di_node_t node, void *arg) argument
603 walkarg_t *wa = (walkarg_t *)arg;
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c676 /* the walker arg switches between walking by list (0) and walking by id (1). */
1674 const mdb_arg_t *arg; local
1689 arg = &argv[0];
1691 if (arg->a_type == MDB_TYPE_IMMEDIATE) {
1692 xid = arg->a_un.a_val;
1694 xid = (callout_id_t)mdb_strtoull(arg->a_un.a_str);
2075 whereopen_fwalk(uintptr_t addr, const void *farg, void *arg) argument
2078 mdb_whereopen_t *mwo = arg;
2093 whereopen_pwalk(uintptr_t addr, const void *ignored, void *arg) argument
2095 mdb_whereopen_t *mwo = arg;
[all...]
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c789 uint64_t size, void *arg)
792 zio_t *zio = arg;
836 vdev_indirect_remap(vdev_t *vd, uint64_t offset, uint64_t asize, void *arg) argument
840 zio_t *zio = arg;
889 inner_size, arg);
788 vdev_indirect_gather_splits(uint64_t split_offset, vdev_t *vd, uint64_t offset, uint64_t size, void *arg) argument
H A Dzfs.c490 zfs_diskread(void *arg, void *buf, size_t blocks, uint64_t offset)
494 ppa = (struct zfs_probe_args *)arg;
513 zfs_probe_partition(void *arg, const char *partname,
530 ppa = (struct zfs_probe_args *)arg;
455 zfs_diskread(void *arg, void *buf, size_t blocks, uint64_t offset) argument
478 zfs_probe_partition(void *arg, const char *partname, const struct ptable_entry *part) argument
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c1222 long ap; /* arg pointer for recvmsg */
1282 long arg; /* struct shmid_ds * */ member in struct:b
1336 long arg; member in struct:b
1430 long arg; member in struct:a
1471 long arg; member in struct:a
1476 flags = (uint32_t)uap->arg;
1895 long arg; member in struct:b
2343 au_uwrite(au_to_arg32(3, "arg", (uint32_t)cmarg));
2345 au_uwrite(au_to_arg64(3, "arg", (uint64_t)cmarg));
2366 au_uwrite(au_to_arg32(3, "arg", (uint32_
2411 long arg; member in struct:a
2537 long arg; member in struct:a
5356 long arg; /* aclent_t */ member in struct:a
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c235 cksummer(void *arg) argument
237 dedup_arg_t *dda = arg;
650 send_iterate_snap(zfs_handle_t *zhp, void *arg) argument
652 send_data_t *sd = arg;
809 send_iterate_fs(zfs_handle_t *zhp, void *arg) argument
811 send_data_t *sd = arg;
1184 send_progress_thread(void *arg) argument
1186 progress_arg_t *pa = arg;
1273 dump_snapshot(zfs_handle_t *zhp, void *arg) argument
1275 send_dump_data_t *sdd = arg;
1404 dump_filesystem(zfs_handle_t *zhp, void *arg) argument
1471 dump_filesystems(zfs_handle_t *rzhp, void *arg) argument
2491 guid_to_name_cb(zfs_handle_t *zhp, void *arg) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c1123 zfs_get_data(void *arg, lr_write_t *lr, char *buf, struct lwb *lwb, zio_t *zio) argument
1125 zfsvfs_t *zfsvfs = arg;
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c77 void *arg, void **result);
87 int tgtlen, int flags, int (*callback) (), caddr_t arg);
105 void (*callback) (caddr_t), caddr_t arg);
107 ddi_bus_config_op_t op, void *arg, dev_info_t **childp);
109 ddi_bus_config_op_t op, void *arg);
127 void *arg, void *result);
132 static int iscsi_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
329 void *arg, void **result)
332 int instance = getminor((dev_t)arg);
817 int (*callback) (), caddr_t arg)
328 iscsi_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument
815 iscsi_tran_init_pkt(struct scsi_address *ap, struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen, int tgtlen, int flags, int (*callback) (), caddr_t arg) argument
1129 iscsi_tran_reset_notify(struct scsi_address *ap, int flag, void (*callback) (caddr_t), caddr_t arg) argument
1158 iscsi_tran_bus_config(dev_info_t *parent, uint_t flags, ddi_bus_config_op_t op, void *arg, dev_info_t **childp) argument
1261 iscsi_tran_bus_unconfig(dev_info_t *parent, uint_t flag, ddi_bus_config_op_t op, void *arg) argument
1448 iscsi_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
[all...]
H A Discsid.c967 isns_scn_callback(void *arg) argument
975 if (arg == NULL) {
981 kmem_free(arg, sizeof (isns_scn_callback_arg_t));
991 kmem_free(arg, sizeof (isns_scn_callback_arg_t));
995 scn_type = ((isns_scn_callback_arg_t *)arg)->scn_type;
1005 ((isns_scn_callback_arg_t *)arg)->source_key_attr,
1062 (char *)((isns_scn_callback_arg_t *)arg)->
1067 (char *)((isns_scn_callback_arg_t *)arg)->
1079 (char *)((isns_scn_callback_arg_t *)arg)->
1093 kmem_free(arg, sizeo
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c221 static void process_filter(char *arg);
7535 flag_bits(const char *arg) argument
7540 if (*arg == '\0')
7544 while (*arg != '\0') {
7545 if ((cp = strchr(flag_list, *arg)) == NULL)
7546 fatal(1, "%c: illegal flag\n", *arg);
7548 arg++;
7558 process_filter(char *arg) argument
7571 if (strchr(arg, ':') == NULL) {
7576 if (strncmp(filter_keys[idx], arg, kle
[all...]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_sops.c869 so_ioctl(struct sonode *so, int cmd, intptr_t arg, int mode, argument
874 SO_BLOCK_FALLBACK(so, SOP_IOCTL(so, cmd, arg, mode, cr, rvalp));
893 (error = sof_filter_ioctl(so, cmd, arg, mode,
895 (error = socket_ioctl_common(so, cmd, arg, mode, cr, rvalp)) < 0 &&
896 (error = socket_strioc_common(so, cmd, arg, mode, cr, rvalp)) < 0) {
898 cmd, arg, mode, rvalp, cr);
1075 uintptr_t arg)
1094 so->so_backlog = (unsigned int)arg;
1074 so_opctl(sock_upper_handle_t sock_handle, sock_opctl_action_t action, uintptr_t arg) argument
H A Dsocksubr.c1719 sock_kstat_fini(zoneid_t zoneid, void *arg) argument
1721 kstat_t *ksp = (kstat_t *)arg;
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c1263 spec_ioctl(struct vnode *vp, int cmd, intptr_t arg, int mode, struct cred *cr, argument
1282 error = strioctl(vp, cmd, arg, mode, U_TO_K, cr, rvalp);
1284 error = cdev_ioctl(dev, cmd, arg, mode, cr, rvalp);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipclassifier.c175 * void ipcl_walk(func, arg, ip_stack)
178 * (*func)(connp, arg). The walk is non-atomic so connections may be
2336 ipcl_walk(pfv_t func, void *arg, ip_stack_t *ipst) argument
2358 (*func)(connp, arg);
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.c105 uintptr_t arg);
1440 sosctp_ioctl(struct sonode *so, int cmd, intptr_t arg, int mode, argument
1460 if (so_copyin((void *)arg, &value, sizeof (int32_t),
1474 if (so_copyin((void *)arg, &value, sizeof (int32_t),
1492 if (so_copyin((void *)arg, &pid, sizeof (pid_t),
1504 if (so_copyout(&so->so_pgrp, (void *)arg,
1513 * in queue in "arg".
1519 if (so_copyout(&intval, (void *)arg, sizeof (intval),
1529 if (so_copyout(&intval, (void *)arg, sizeof (int),
1545 k_peercred_t *kp = (k_peercred_t *)arg;
2042 sctp_assoc_disconnecting(sock_upper_handle_t handle, sock_opctl_action_t action, uintptr_t arg) argument
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c3193 strioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, int copyflag, argument
3220 "strioctl:stp %p cmd %X arg %lX", stp, cmd, arg);
3348 int native_arg = (int)arg;
3359 strioc.ic_dp = (char *)arg;
3367 strioc.ic_dp = (char *)arg;
3373 strioc.ic_dp = (char *)arg;
3379 strioc.ic_dp = (char *)arg;
3400 strioc.ic_dp = (char *)arg;
3406 strioc.ic_dp = (char *)arg;
[all...]
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c251 char *arg;
258 arg = strrchr(*argv, '/');
259 if (arg++ == NULL)
260 arg = *argv;
264 pid = strtoul(arg, &next, 10);
266 struct passwd *pw = getpwnam(arg);
268 warnx("invalid username: %s", arg);
614 getzone(const char *arg)
618 if (zone_get_id(arg, &zoneid) != 0)
619 err(EXIT_FAILURE, "unknown zone: %s", arg);
310 char *arg; local
654 getzone(const char *arg) argument
667 parse_svc(const char *arg, char **instp) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp.c270 void tcp_input_data(void *arg, mblk_t *mp, void *arg2,
272 static void tcp_linger_interrupted(void *arg, mblk_t *mp, void *arg2,
294 static void tcp_stack_fini(netstackid_t stackid, void *arg);
789 tcp_clean_death_wrapper(void *arg, mblk_t *mp, void *arg2, argument
792 tcp_t *tcp = ((conn_t *)arg)->conn_tcp;
796 (void) tcp_clean_death(((conn_t *)arg)->conn_tcp, ETIMEDOUT);
1166 tcp_linger_interrupted(void *arg, mblk_t *mp, void *arg2, ip_recv_attr_t *dummy) argument
1168 conn_t *connp = (conn_t *)arg;
1464 tcp_get_conn(void *arg, tcp_stack_t *tcps) argument
1468 squeue_t *sqp = (squeue_t *)arg;
3386 tcp_notify(void *arg, ip_xmit_attr_t *ixa, ixa_notify_type_t ntype, ixa_notify_arg_t narg) argument
3858 tcp_stack_fini(netstackid_t stackid, void *arg) argument
3931 struct { uint32_t ports; in6_addr_t src; in6_addr_t dst; } arg; local
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dcodes.c1968 openarg(private_t *pri, int arg) argument
1972 if ((arg & ~(O_ACCMODE | ALL_O_FLAGS)) != 0)
1975 switch (arg & O_ACCMODE) {
1995 if (arg & O_NDELAY)
1997 if (arg & O_APPEND)
1999 if (arg & O_SYNC)
2001 if (arg & O_DSYNC)
2003 if (arg & O_NONBLOCK)
2005 if (arg & O_CREAT)
2007 if (arg
2032 whencearg(int arg) argument
2050 ipcflags(private_t *pri, int arg) argument
2072 msgflags(private_t *pri, int arg) argument
2090 semflags(private_t *pri, int arg) argument
2108 shmflags(private_t *pri, int arg) argument
2176 msgcmd(int arg) argument
2186 semcmd(int arg) argument
2196 shmcmd(int arg) argument
2206 strrdopt(int arg) argument
2221 strevents(private_t *pri, int arg) argument
2246 tiocflush(private_t *pri, int arg) argument
2263 strflush(int arg) argument
2280 mountflags(private_t *pri, int arg) argument
2319 svfsflags(private_t *pri, ulong_t arg) argument
2340 fuiname(int arg) argument
2353 fuflags(private_t *pri, int arg) argument
2383 ipprotos(int arg) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dcpuid_drv.c56 cpuid_getinfo(dev_info_t *devi, ddi_info_cmd_t cmd, void *arg, void **result) argument
66 switch (getminor((dev_t)arg)) {
151 cpuid_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval) argument
161 if (ddi_copyin((void *)arg,
182 (void *)arg, STRUCT_SIZE(h), mode))
195 if (ddi_copyin((void *)arg, &crm, sizeof (crm), mode))
210 if (ddi_copyout(&crm, (void *)arg, sizeof (crm), mode))
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcpuid.c6188 void *arg, int (*func)(void *, const struct cachetab *))
6226 if (func(arg, ct) != 0) {
6237 void *arg, int (*func)(void *, const struct cachetab *))
6250 if (func(arg, ct) != 0)
6258 if (func(arg, ct) != 0)
6270 add_cacheent_props(void *arg, const struct cachetab *ct)
6272 dev_info_t *devi = arg;
6770 intel_l2cinfo(void *arg, const struct cachetab *ct)
6772 struct l2info *l2i = arg;
6153 intel_walk_cacheinfo(struct cpuid_info *cpi, void *arg, int (*func)(void *, const struct cachetab *)) argument
6202 cyrix_walk_cacheinfo(struct cpuid_info *cpi, void *arg, int (*func)(void *, const struct cachetab *)) argument
6236 add_cacheent_props(void *arg, const struct cachetab *ct) argument
6736 intel_l2cinfo(void *arg, const struct cachetab *ct) argument
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_dispatch.c233 smb2_tq_work(void *arg) argument
238 sr = (smb_request_t *)arg;
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_authsvc.c224 smbd_authsvc_listen(void *arg) argument
232 _NOTE(ARGUNUSED(arg))
384 smbd_authsvc_work(void *arg) argument
386 authsvc_context_t *ctx = arg;

Completed in 307 milliseconds

1234567891011>>