Lines Matching refs:cmd_sg_entries
71 static unsigned int cmd_sg_entries; variable
82 module_param(cmd_sg_entries, uint, 0444);
83 MODULE_PARM_DESC(cmd_sg_entries,
3184 static DEVICE_ATTR(cmd_sg_entries, S_IRUGO, show_cmd_sg_entries, NULL);
3751 target->cmd_sg_cnt = cmd_sg_entries; in srp_create_target()
3752 target->sg_tablesize = indirect_sg_entries ? : cmd_sg_entries; in srp_create_target()
4184 if (!cmd_sg_entries) in srp_init_module()
4185 cmd_sg_entries = srp_sg_tablesize; in srp_init_module()
4188 if (!cmd_sg_entries) in srp_init_module()
4189 cmd_sg_entries = SRP_DEF_SG_TABLESIZE; in srp_init_module()
4191 if (cmd_sg_entries > 255) { in srp_init_module()
4193 cmd_sg_entries = 255; in srp_init_module()
4197 indirect_sg_entries = cmd_sg_entries; in srp_init_module()
4198 else if (indirect_sg_entries < cmd_sg_entries) { in srp_init_module()
4200 cmd_sg_entries); in srp_init_module()
4201 indirect_sg_entries = cmd_sg_entries; in srp_init_module()