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

1234567891011>>

/illumos-gate/usr/src/uts/common/inet/
H A Dsqueue.c316 * The proc and arg for each mblk is already stored in the mblk in
1252 squeue_wakeup_conn(void *arg, mblk_t *mp, void *arg2, ip_recv_attr_t *dummy) argument
1254 conn_t *connp = (conn_t *)arg;
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_socket.c378 /* returns UNIX error, the optlen is a value-result arg */
660 tcp_ioctl(sock_lower_handle_t proto_handle, int cmd, intptr_t arg, argument
716 cmd, arg, mode, cr, rvalp);
822 sock_quiesce_arg_t *arg)
892 mp = (*quiesced_cb)(connp->conn_upper_handle, arg, &tca,
923 so_proto_quiesced_cb_t quiesced_cb, sock_quiesce_arg_t *arg)
936 mp = (*quiesced_cb)(connp->conn_upper_handle, arg, NULL, NULL, 0,
999 sock_quiesce_arg_t *arg)
1042 tcp_fallback_eager(tcp, direct_sockfs, quiesced_cb, arg);
1045 quiesced_cb, arg);
820 tcp_fallback_noneager(tcp_t *tcp, mblk_t *stropt_mp, queue_t *q, boolean_t issocket, so_proto_quiesced_cb_t quiesced_cb, sock_quiesce_arg_t *arg) argument
922 tcp_fallback_eager(tcp_t *eager, boolean_t issocket, so_proto_quiesced_cb_t quiesced_cb, sock_quiesce_arg_t *arg) argument
997 tcp_fallback(sock_lower_handle_t proto_handle, queue_t *q, boolean_t direct_sockfs, so_proto_quiesced_cb_t quiesced_cb, sock_quiesce_arg_t *arg) argument
[all...]
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_gld.c42 i40e_group_remove_mac(void *arg, const uint8_t *mac_addr) argument
44 i40e_rx_group_t *rxg = arg;
111 i40e_group_add_mac(void *arg, const uint8_t *mac_addr) argument
113 i40e_rx_group_t *rxg = arg;
171 i40e_m_start(void *arg) argument
173 i40e_t *i40e = arg;
195 i40e_m_stop(void *arg) argument
197 i40e_t *i40e = arg;
217 i40e_m_promisc(void *arg, boolean_t on) argument
219 i40e_t *i40e = arg;
401 i40e_m_multicast(void *arg, boolean_t add, const uint8_t *multicast_address) argument
425 i40e_m_ioctl(void *arg, queue_t *q, mblk_t *mp) argument
498 i40e_fill_tx_ring(void *arg, mac_ring_type_t rtype, const int group_index, const int ring_index, mac_ring_info_t *infop, mac_ring_handle_t rh) argument
531 i40e_fill_rx_ring(void *arg, mac_ring_type_t rtype, const int group_index, const int ring_index, mac_ring_info_t *infop, mac_ring_handle_t rh) argument
569 i40e_fill_rx_group(void *arg, mac_ring_type_t rtype, const int index, mac_group_info_t *infop, mac_group_handle_t gh) argument
592 i40e_transceiver_info(void *arg, uint_t id, mac_transceiver_info_t *infop) argument
627 i40e_transceiver_read(void *arg, uint_t id, uint_t page, void *buf, size_t nbytes, off_t offset, size_t *nread) argument
690 i40e_gld_led_set(void *arg, mac_led_mode_t mode, uint_t flags) argument
734 i40e_m_getcapab(void *arg, mac_capab_t cap, void *cap_data) argument
1037 i40e_m_setprop(void *arg, const char *pr_name, mac_prop_id_t pr_num, uint_t pr_valsize, const void *pr_val) argument
1135 i40e_m_getprop(void *arg, const char *pr_name, mac_prop_id_t pr_num, uint_t pr_valsize, void *pr_val) argument
1275 i40e_m_propinfo(void *arg, const char *pr_name, mac_prop_id_t pr_num, mac_prop_info_handle_t prh) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/vmm/amd/
H A Dsvm.c152 static int svm_setreg(void *arg, int vcpu, int ident, uint64_t val);
168 svm_disable(void *arg __unused)
224 svm_enable(void *arg __unused)
1975 svm_vmrun(void *arg, int vcpu, uint64_t rip, pmap_t pmap, argument
1990 svm_sc = arg;
2150 svm_vmcleanup(void *arg) argument
2152 struct svm_softc *sc = arg;
2205 svm_getreg(void *arg, int vcpu, int ident, uint64_t *val) argument
2213 sc = arg;
2267 svm_setreg(void *arg, in argument
2348 svm_setdesc(void *arg, int vcpu, int reg, struct seg_desc *desc) argument
2398 svm_getdesc(void *arg, int vcpu, int reg, struct seg_desc *desc) argument
2460 svm_setcap(void *arg, int vcpu, int type, int val) argument
2484 svm_getcap(void *arg, int vcpu, int type, int *retval) argument
2509 svm_vlapic_init(void *arg, int vcpuid) argument
2526 svm_vlapic_cleanup(void *arg, struct vlapic *vlapic) argument
2535 svm_savectx(void *arg, int vcpu) argument
2545 svm_restorectx(void *arg, int vcpu) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/vmm/intel/
H A Dvmx.c339 static int vmx_getdesc(void *arg, int vcpu, int reg, struct seg_desc *desc);
340 static int vmx_getreg(void *arg, int vcpu, int reg, uint64_t *retval);
2859 vmx_run(void *arg, int vcpu, uint64_t rip, pmap_t pmap, argument
2875 vmx = arg;
3114 vmx_vmcleanup(void *arg) argument
3117 struct vmx *vmx = arg;
3185 vmx_getreg(void *arg, int vcpu, int reg, uint64_t *retval) argument
3188 struct vmx *vmx = arg;
3228 vmx_setreg(void *arg, int vcpu, int reg, uint64_t val) argument
3231 struct vmx *vmx = arg;
3334 vmx_getdesc(void *arg, int vcpu, int seg, struct seg_desc *desc) argument
3364 vmx_setdesc(void *arg, int vcpu, int seg, struct seg_desc *desc) argument
3392 vmx_getcap(void *arg, int vcpu, int type, int *retval) argument
3433 vmx_setcap(void *arg, int vcpu, int type, int val) argument
3872 vmx_vlapic_init(void *arg, int vcpuid) argument
3910 vmx_vlapic_cleanup(void *arg, struct vlapic *vlapic) argument
3919 vmx_savectx(void *arg, int vcpu) argument
3937 vmx_restorectx(void *arg, int vcpu) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/vmm/io/
H A Dvhpet.c96 struct vhpet_callout_arg arg; member in struct:vhpet::__anon2
295 struct vhpet_callout_arg *arg; local
297 arg = a;
298 vhpet = arg->vhpet;
299 n = arg->timer_num;
366 precision, vhpet_handler, &vhpet->timer[n].arg, C_ABSOLUTE);
718 struct vhpet_callout_arg *arg; local
747 arg = &vhpet->timer[i].arg;
748 arg
[all...]
H A Dvlapic.c712 vlapic_callout_handler(void *arg) argument
718 vlapic = arg;
/illumos-gate/usr/src/uts/i86pc/io/vmm/
H A Dvmm.c2025 vmm_savectx(void *arg) argument
2027 vm_thread_ctx_t *vtc = arg;
2048 vmm_restorectx(void *arg) argument
2050 vm_thread_ctx_t *vtc = arg;
2082 vmm_freectx(void *arg, int isexec) argument
2084 vmm_savectx(arg);
2375 vm_restart_instruction(void *arg, int vcpuid) argument
2383 vm = arg;
3365 vmm_wmem_cb_t wfunc, void *arg, void **cookie)
3389 hook->vmih_arg = arg;
3364 vm_ioport_hook(struct vm *vm, uint_t ioport, vmm_rmem_cb_t rfunc, vmm_wmem_cb_t wfunc, void *arg, void **cookie) argument
[all...]
H A Dvmm_sol_dev.c344 void *arg = lease->vml_expire_arg; local
346 sync_break = lease->vml_expire_func(arg);
410 vmmdev_do_ioctl(vmm_softc_t *sc, int cmd, intptr_t arg, int md, argument
414 void *datap = (void *)arg;
1610 vmm_drv_lease_sign(vmm_hold_t *hold, boolean_t (*expiref)(void *), void *arg) argument
1624 lease->vml_expire_arg = arg;
1687 vmm_drv_wmem_cb_t wfunc, void *arg, void **cookie)
1711 (vmm_wmem_cb_t)wfunc, arg, cookie);
1963 vmm_is_supported(intptr_t arg) argument
1981 if (r != 0 && arg !
1686 vmm_drv_ioport_hook(vmm_hold_t *hold, uint_t ioport, vmm_drv_rmem_cb_t rfunc, vmm_drv_wmem_cb_t wfunc, void *arg, void **cookie) argument
1989 vmm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
2179 vmm_info(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **result) argument
[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
2036 whencearg(int arg) argument
2054 ipcflags(private_t *pri, int arg) argument
2076 msgflags(private_t *pri, int arg) argument
2094 semflags(private_t *pri, int arg) argument
2112 shmflags(private_t *pri, int arg) argument
2180 msgcmd(int arg) argument
2190 semcmd(int arg) argument
2200 shmcmd(int arg) argument
2210 strrdopt(int arg) argument
2225 strevents(private_t *pri, int arg) argument
2250 tiocflush(private_t *pri, int arg) argument
2267 strflush(int arg) argument
2284 mountflags(private_t *pri, int arg) argument
2323 svfsflags(private_t *pri, ulong_t arg) argument
2344 fuiname(int arg) argument
2357 fuflags(private_t *pri, int arg) argument
2387 ipprotos(int arg) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dvnode.c3504 intptr_t arg,
3514 err = (*(vp)->v_op->vop_ioctl)(vp, cmd, arg, flag, cr, rvalp, ct);
3501 fop_ioctl( vnode_t *vp, int cmd, intptr_t arg, int flag, cred_t *cr, int *rvalp, caller_context_t *ct) argument
/illumos-gate/usr/src/uts/common/os/
H A Dclock.c1722 delay_wakeup(void *arg) argument
1724 kthread_t *t = arg;
2004 deadman_online(void *arg, cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when) argument
H A Dkmem.c458 * (arg), follows its pointer to the object (using function f), and tries as
463 * object_hold(object_f f, void *arg)
467 * op = f(arg);
473 * while (op != f(arg)) {
475 * op = f(arg);
487 * pointer f (used to obtain the object pointer from arg) has the following type
490 * typedef object_t *(*object_f)(void *arg);
496 * s_object(void *arg)
498 * something_t *sp = arg;
590 * object_move(void *buf, void *newbuf, size_t size, void *arg)
4145 kmem_cpu_setup(cpu_setup_t what, int id, void *arg) argument
5189 kmem_cache_move_notify_task(void *arg) argument
[all...]
H A Dvm_pageout.c548 schedpaging(void *arg) argument
634 (void) timeout(schedpaging, arg, hz / RATETOSCHEDPAGING);
677 struct async_reqs *arg; local
736 while ((arg = push_list) == NULL || pushes > max_pushes) {
742 push_list = arg->a_next;
743 arg->a_next = NULL;
747 if (VOP_PUTPAGE(arg->a_vp, (offset_t)arg->a_off,
748 arg->a_len, arg
1217 struct async_reqs *arg; local
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_page.c471 void *arg,
481 void *arg,
494 void *arg,
2145 struct seg *seg, caddr_t vaddr, void *arg)
2151 lgrp_id_t *lgrpid = (lgrp_id_t *)arg;
3660 panic("page_sub: bad arg(s): pp %p, *ppp %p",
3795 panic("page_vpsub: bad arg(s): pp %p, *ppp %p",
4384 callb_vm_cpr(void *arg, int code) argument
470 page_mem_config_post_add( void *arg, pgcnt_t delta_pages) argument
480 page_mem_config_pre_del( void *arg, pgcnt_t delta_pages) argument
493 page_mem_config_post_del( void *arg, pgcnt_t delta_pages, int cancelled) argument
2144 page_create_va_large(vnode_t *vp, u_offset_t off, size_t bytes, uint_t flags, struct seg *seg, caddr_t vaddr, void *arg) argument
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.c1283 xnf_set_mac_addr(void *arg, const uint8_t *macaddr) argument
1285 _NOTE(ARGUNUSED(arg, macaddr));
1300 xnf_set_multicast(void *arg, boolean_t add, const uint8_t *mca) argument
1302 xnf_t *xnfp = arg;
1409 xnf_set_promiscuous(void *arg, boolean_t on) argument
1411 _NOTE(ARGUNUSED(arg, on));
1896 xnf_send(void *arg, mblk_t *mp) argument
1898 xnf_t *xnfp = arg;
2062 xnf_intr(caddr_t arg) argument
2064 xnf_t *xnfp = (xnf_t *)arg;
2160 xnf_start(void *arg) argument
2178 xnf_stop(void *arg) argument
2716 xnf_buf_constructor(void *buf, void *arg, int kmflag) argument
2772 xnf_buf_destructor(void *buf, void *arg) argument
2858 xnf_tx_buf_constructor(void *buf, void *arg, int kmflag) argument
2877 xnf_tx_buf_destructor(void *buf, void *arg) argument
2978 xnf_stat(void *arg, uint_t stat, uint64_t *val) argument
3119 xnf_getcapab(void *arg, mac_capab_t cap, void *cap_data) argument
3173 oe_state_change(dev_info_t *dip, ddi_eventcookie_t id, void *arg, void *impl_data) argument
[all...]
/illumos-gate/usr/src/common/util/
H A Dqsort.c52 med3(char *a, char *b, char *c, cmp_f cmp, void *arg) argument
54 if (cmp(a, b, arg) < 0) {
55 if (cmp(b, c, arg) < 0) {
57 } else if (cmp(a, c, arg) < 0) {
63 if (cmp(b, c, arg) > 0) {
65 } else if (cmp(a, c, arg) > 0) {
124 qsort_r_wrapper(const void *a, const void *b, void *arg) argument
127 (int(*)(const void *, const void *))(uintptr_t)arg;
133 cmp_f cmp, void *arg)
233 if ((*cmp)(b_par, b_par + rsiz, arg) <
132 qsort_r(void *basep, size_t nrec, size_t rsiz, cmp_f cmp, void *arg) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_squeue.c741 ip_squeue_cpu_setup(cpu_setup_t what, int id, void *arg) argument
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dpart.c1030 ptable_iterate(const struct ptable *table, void *arg, ptable_iterate_t *iter) argument
1061 ret = iter(arg, name, &entry->part);
/illumos-gate/usr/src/boot/sys/boot/i386/gptzfsboot/
H A Dzfsboot.c425 mount_root(char *arg) argument
431 if (asprintf(&root, "%s:", arg) < 0)
459 fs_list(char *arg) argument
465 fd = open(arg, O_RDONLY);
481 char *arg = cmd; local
487 while ((c = *arg++)) {
491 for (p = arg; *p != '\0' && !isspace(*p); p++)
497 while ((c = *arg++)) {
515 i = strtol(arg, &end, 10);
517 *arg !
619 parttblread(void *arg, void *buf, size_t blocks, uint64_t offset) argument
635 probe_partition(void *arg, const char *partname, const struct ptable_entry *part) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcpuid.c6444 void *arg, int (*func)(void *, const struct cachetab *))
6482 if (func(arg, ct) != 0) {
6493 void *arg, int (*func)(void *, const struct cachetab *))
6506 if (func(arg, ct) != 0)
6514 if (func(arg, ct) != 0)
6526 add_cacheent_props(void *arg, const struct cachetab *ct) argument
6528 dev_info_t *devi = arg;
7026 intel_l2cinfo(void *arg, const struct cachetab *ct) argument
7028 struct l2info *l2i = arg;
6443 intel_walk_cacheinfo(struct cpuid_info *cpi, void *arg, int (*func)(void *, const struct cachetab *)) argument
6492 cyrix_walk_cacheinfo(struct cpuid_info *cpi, void *arg, int (*func)(void *, const struct cachetab *)) argument
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c79 void *arg, void *result);
81 void *arg, dev_info_t **cdipp);
83 ddi_bus_config_op_t op, void *arg);
92 static int t4_devo_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg,
241 t4_devo_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **rp) argument
246 minor = getminor((dev_t)arg); /* same as instance# in our case */
253 ASSERT(sc->dev == (dev_t)arg);
989 t4_bus_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, argument
994 dev_info_t *child = (dev_info_t *)arg;
1024 return (ddi_ctlops(dip, rdip, op, arg, resul
1029 t4_bus_config(dev_info_t *dip, uint_t flags, ddi_bus_config_op_t op, void *arg, dev_info_t **cdipp) argument
1072 t4_bus_unconfig(dev_info_t *dip, uint_t flags, ddi_bus_config_op_t op, void *arg) argument
2936 t4_iterate(void (*func)(int, void *), void *arg) argument
2983 t4_temperature_read(void *arg, sensor_ioctl_scalar_t *scalar) argument
3007 t4_voltage_read(void *arg, sensor_ioctl_scalar_t *scalar) argument
[all...]
/illumos-gate/usr/src/uts/common/io/mlxcx/
H A Dmlxcx_intr.c544 mlxcx_pages_task(void *arg) argument
546 mlxcx_async_param_t *param = arg;
580 mlxcx_link_state_task(void *arg) argument
582 mlxcx_async_param_t *param = arg;
741 mlxcx_intr_async(caddr_t arg, caddr_t arg2) argument
743 mlxcx_t *mlxp = (mlxcx_t *)arg;
1033 mlxcx_intr_n(caddr_t arg, caddr_t arg2) argument
1035 mlxcx_t *mlxp = (mlxcx_t *)arg;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c315 static void metaslab_rt_add(range_tree_t *rt, range_seg_t *rs, void *arg);
1328 metaslab_size_sorted_add(void *arg, uint64_t start, uint64_t size) argument
1330 struct mssa_arg *mssap = arg;
1348 struct mssa_arg arg = {0}; local
1349 arg.rt = rt;
1350 arg.mra = mrap;
1351 range_tree_walk(rt, metaslab_size_sorted_add, &arg);
1360 metaslab_rt_create(range_tree_t *rt, void *arg) argument
1362 metaslab_rt_arg_t *mrap = arg;
1385 metaslab_rt_destroy(range_tree_t *rt, void *arg) argument
1396 metaslab_rt_add(range_tree_t *rt, range_seg_t *rs, void *arg) argument
1410 metaslab_rt_remove(range_tree_t *rt, range_seg_t *rs, void *arg) argument
1424 metaslab_rt_vacate(range_tree_t *rt, void *arg) argument
1814 metaslab_idx_func(multilist_t *ml, void *arg) argument
2234 struct mssa_arg arg = {0}; local
3371 metaslab_preload(void *arg) argument
5247 metaslab_free_impl_cb(uint64_t inner_offset, vdev_t *vd, uint64_t offset, uint64_t size, void *arg) argument
5299 remap_blkptr_cb(uint64_t inner_offset, vdev_t *vd, uint64_t offset, uint64_t size, void *arg) argument
5359 spa_remap_blkptr(spa_t *spa, blkptr_t *bp, spa_remap_cb_t callback, void *arg) argument
5625 metaslab_claim_impl_cb(uint64_t inner_offset, vdev_t *vd, uint64_t offset, uint64_t size, void *arg) argument
5640 metaslab_claim_cb_arg_t arg; local
5832 metaslab_check_free_impl_cb(uint64_t inner, vdev_t *vd, uint64_t offset, uint64_t size, void *arg) argument
[all...]
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_sensor.c75 igb_sensor_reg_temperature(void *arg, sensor_ioctl_scalar_t *scalar) argument
77 igb_t *igb = arg;

Completed in 149 milliseconds

1234567891011>>