Home
last modified time | relevance | path

Searched refs:cmd_in (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Ddevx.c917 static int devx_get_uid(struct mlx5_ib_ucontext *c, void *cmd_in) in devx_get_uid() argument
919 if (devx_is_whitelist_cmd(cmd_in)) { in devx_get_uid()
1055 void *cmd_in = uverbs_attr_get_alloced_ptr( in UVERBS_HANDLER() local
1068 uid = devx_get_uid(c, cmd_in); in UVERBS_HANDLER()
1073 if (!devx_is_general_cmd(cmd_in, dev)) in UVERBS_HANDLER()
1080 MLX5_SET(general_obj_in_cmd_hdr, cmd_in, uid, uid); in UVERBS_HANDLER()
1081 err = mlx5_cmd_do(dev->mdev, cmd_in, in UVERBS_HANDLER()
1450 void *cmd_in = uverbs_attr_get_alloced_ptr(attrs, MLX5_IB_ATTR_DEVX_OBJ_CREATE_CMD_IN); in UVERBS_HANDLER() local
1469 if (MLX5_GET(general_obj_in_cmd_hdr, cmd_in, vhca_tunnel_id)) in UVERBS_HANDLER()
1472 uid = devx_get_uid(c, cmd_in); in UVERBS_HANDLER()
[all …]
Dfs.c1523 void *cmd_in, int inlen, in _create_raw_flow_rule() argument
1540 memcpy(spec->match_value, cmd_in, inlen); in _create_raw_flow_rule()
1609 u32 counter_id, void *cmd_in, int inlen, int dest_id, int dest_type) in raw_fs_rule_add() argument
1628 mcast = raw_fs_is_multicast(fs_matcher, cmd_in); in raw_fs_rule_add()
1665 cmd_in, inlen, dst_num); in raw_fs_rule_add()
1918 void *devx_obj, *cmd_in; in UVERBS_HANDLER() local
1968 cmd_in = uverbs_attr_get_alloced_ptr( in UVERBS_HANDLER()
2002 counter_id, cmd_in, inlen, dest_id, dest_type); in UVERBS_HANDLER()
/linux-6.1.9/drivers/scsi/
Dst.c2696 static int st_int_ioctl(struct scsi_tape *STp, unsigned int cmd_in, unsigned long arg) in st_int_ioctl() argument
2722 switch (cmd_in) { in st_int_ioctl()
2808 if (cmd_in == MTWSM) in st_int_ioctl()
2810 if (cmd_in == MTWEOFI || in st_int_ioctl()
2811 (cmd_in == MTWEOF && STp->immediate_filemark)) in st_int_ioctl()
2818 if (cmd_in != MTWSM) in st_int_ioctl()
2834 at_sm = (cmd_in == MTWSM); in st_int_ioctl()
2899 if ((cmd_in == MTSETBLK || cmd_in == SET_DENS_AND_BLK) && in st_int_ioctl()
2914 if (cmd_in == MTSETDRVBUFFER) in st_int_ioctl()
2920 if (cmd_in == MTSETDENSITY) { in st_int_ioctl()
[all …]
Dsg.c918 unsigned int cmd_in, void __user *p) in sg_ioctl_common() argument
926 "sg_ioctl: cmd=0x%x\n", (int) cmd_in)); in sg_ioctl_common()
929 switch (cmd_in) { in sg_ioctl_common()
1106 return scsi_ioctl(sdp->device, filp->f_mode, cmd_in, p); in sg_ioctl_common()
1141 cmd_in, filp->f_flags & O_NDELAY); in sg_ioctl_common()
1149 sg_ioctl(struct file *filp, unsigned int cmd_in, unsigned long arg) in sg_ioctl() argument
1159 ret = sg_ioctl_common(filp, sdp, sfp, cmd_in, p); in sg_ioctl()
1162 return scsi_ioctl(sdp->device, filp->f_mode, cmd_in, p); in sg_ioctl()