Searched refs:cmd_in (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/mlx5/ |
D | devx.c | 847 static int devx_get_uid(struct mlx5_ib_ucontext *c, void *cmd_in) in devx_get_uid() argument 849 if (devx_is_whitelist_cmd(cmd_in)) { in devx_get_uid() 985 void *cmd_in = uverbs_attr_get_alloced_ptr( in UVERBS_HANDLER() local 998 uid = devx_get_uid(c, cmd_in); in UVERBS_HANDLER() 1003 if (!devx_is_general_cmd(cmd_in, dev)) in UVERBS_HANDLER() 1010 MLX5_SET(general_obj_in_cmd_hdr, cmd_in, uid, uid); in UVERBS_HANDLER() 1011 err = mlx5_cmd_exec(dev->mdev, cmd_in, in UVERBS_HANDLER() 1354 void *cmd_in = uverbs_attr_get_alloced_ptr(attrs, MLX5_IB_ATTR_DEVX_OBJ_CREATE_CMD_IN); in UVERBS_HANDLER() local 1373 if (MLX5_GET(general_obj_in_cmd_hdr, cmd_in, vhca_tunnel_id)) in UVERBS_HANDLER() 1376 uid = devx_get_uid(c, cmd_in); in UVERBS_HANDLER() [all …]
|
D | fs.c | 1392 void *cmd_in, int inlen, in _create_raw_flow_rule() argument 1409 memcpy(spec->match_value, cmd_in, inlen); in _create_raw_flow_rule() 1478 u32 counter_id, void *cmd_in, int inlen, int dest_id, int dest_type) in raw_fs_rule_add() argument 1497 mcast = raw_fs_is_multicast(fs_matcher, cmd_in); in raw_fs_rule_add() 1533 cmd_in, inlen, dst_num); in raw_fs_rule_add() 1935 void *devx_obj, *cmd_in; in UVERBS_HANDLER() local 1985 cmd_in = uverbs_attr_get_alloced_ptr( in UVERBS_HANDLER() 2019 counter_id, cmd_in, inlen, dest_id, dest_type); in UVERBS_HANDLER()
|
/Linux-v5.10/drivers/scsi/ |
D | st.c | 2697 static int st_int_ioctl(struct scsi_tape *STp, unsigned int cmd_in, unsigned long arg) in st_int_ioctl() argument 2723 switch (cmd_in) { in st_int_ioctl() 2809 if (cmd_in == MTWSM) in st_int_ioctl() 2811 if (cmd_in == MTWEOFI || in st_int_ioctl() 2812 (cmd_in == MTWEOF && STp->immediate_filemark)) in st_int_ioctl() 2819 if (cmd_in != MTWSM) in st_int_ioctl() 2835 at_sm = (cmd_in == MTWSM); in st_int_ioctl() 2901 if ((cmd_in == MTSETBLK || cmd_in == SET_DENS_AND_BLK) && in st_int_ioctl() 2916 if (cmd_in == MTSETDRVBUFFER) in st_int_ioctl() 2922 if (cmd_in == MTSETDENSITY) { in st_int_ioctl() [all …]
|
D | sg.c | 919 unsigned int cmd_in, void __user *p) in sg_ioctl_common() argument 927 "sg_ioctl: cmd=0x%x\n", (int) cmd_in)); in sg_ioctl_common() 930 switch (cmd_in) { in sg_ioctl_common() 1145 cmd_in, filp->f_flags & O_NDELAY); in sg_ioctl_common() 1153 sg_ioctl(struct file *filp, unsigned int cmd_in, unsigned long arg) in sg_ioctl() argument 1163 ret = sg_ioctl_common(filp, sdp, sfp, cmd_in, p); in sg_ioctl() 1167 return scsi_ioctl(sdp->device, cmd_in, p); in sg_ioctl() 1171 static long sg_compat_ioctl(struct file *filp, unsigned int cmd_in, unsigned long arg) in sg_compat_ioctl() argument 1181 ret = sg_ioctl_common(filp, sdp, sfp, cmd_in, p); in sg_compat_ioctl() 1185 return scsi_compat_ioctl(sdp->device, cmd_in, p); in sg_compat_ioctl()
|