Home
last modified time | relevance | path

Searched refs:user_req (Results 1 – 6 of 6) sorted by relevance

/drivers/char/
Draw.c253 struct raw32_config_request __user *user_req = compat_ptr(arg); in raw_ctl_compat_ioctl() local
260 if (copy_from_user(&rq, user_req, sizeof(rq))) in raw_ctl_compat_ioctl()
266 if (copy_from_user(&rq, user_req, sizeof(rq))) in raw_ctl_compat_ioctl()
276 if (copy_to_user(user_req, &rq, sizeof(rq))) in raw_ctl_compat_ioctl()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c371 set_bit(BNX2X_ETH_MAC, &ramrod.user_req.vlan_mac_flags); in bnx2x_vf_vlan_mac_clear()
375 &ramrod.user_req.vlan_mac_flags); in bnx2x_vf_vlan_mac_clear()
378 ramrod.user_req.cmd = BNX2X_VLAN_MAC_DEL; in bnx2x_vf_vlan_mac_clear()
389 &ramrod.user_req.vlan_mac_flags, in bnx2x_vf_vlan_mac_clear()
420 &ramrod.user_req.vlan_mac_flags); in bnx2x_vf_mac_vlan_config()
422 ramrod.user_req.u.vlan.vlan = filter->vid; in bnx2x_vf_mac_vlan_config()
424 set_bit(BNX2X_ETH_MAC, &ramrod.user_req.vlan_mac_flags); in bnx2x_vf_mac_vlan_config()
426 memcpy(&ramrod.user_req.u.mac.mac, filter->mac, ETH_ALEN); in bnx2x_vf_mac_vlan_config()
428 ramrod.user_req.cmd = filter->add ? BNX2X_VLAN_MAC_ADD : in bnx2x_vf_mac_vlan_config()
2894 &ramrod_param.user_req.vlan_mac_flags); in bnx2x_set_vf_vlan()
[all …]
Dbnx2x_sp.c1086 memcpy(&p->user_req.u, &pos->u, sizeof(pos->u)); in bnx2x_vlan_mac_restore()
1089 p->user_req.cmd = BNX2X_VLAN_MAC_ADD; in bnx2x_vlan_mac_restore()
1092 p->user_req.vlan_mac_flags = pos->vlan_mac_flags; in bnx2x_vlan_mac_restore()
1729 switch (p->user_req.cmd) { in bnx2x_vlan_mac_push_new_cmd()
1738 memcpy(&elem->cmd_data.vlan_mac, &p->user_req, sizeof(p->user_req)); in bnx2x_vlan_mac_push_new_cmd()
1871 p.user_req.cmd = BNX2X_VLAN_MAC_DEL; in bnx2x_vlan_mac_del_all()
1889 p.user_req.vlan_mac_flags = pos->vlan_mac_flags; in bnx2x_vlan_mac_del_all()
1890 memcpy(&p.user_req.u, &pos->u, sizeof(pos->u)); in bnx2x_vlan_mac_del_all()
Dbnx2x_sp.h285 struct bnx2x_vlan_mac_data user_req; member
Dbnx2x_main.c8362 memcpy(ramrod_param.user_req.u.mac.mac, mac, ETH_ALEN); in bnx2x_set_mac_one()
8364 __set_bit(mac_type, &ramrod_param.user_req.vlan_mac_flags); in bnx2x_set_mac_one()
8368 ramrod_param.user_req.cmd = BNX2X_VLAN_MAC_ADD; in bnx2x_set_mac_one()
8370 ramrod_param.user_req.cmd = BNX2X_VLAN_MAC_DEL; in bnx2x_set_mac_one()
/drivers/block/aoe/
Daoedev.c243 user_req(char *s, size_t slen, struct aoedev *d) in user_req() function
333 if (!user_req(buf, cnt, d)) in flush()