Lines Matching refs:cmd_sg_entries
71 static unsigned int cmd_sg_entries; variable
81 module_param(cmd_sg_entries, uint, 0444);
82 MODULE_PARM_DESC(cmd_sg_entries,
3053 static DEVICE_ATTR(cmd_sg_entries, S_IRUGO, show_cmd_sg_entries, NULL);
3655 target->cmd_sg_cnt = cmd_sg_entries; in srp_create_target()
3656 target->sg_tablesize = indirect_sg_entries ? : cmd_sg_entries; in srp_create_target()
4104 if (!cmd_sg_entries) in srp_init_module()
4105 cmd_sg_entries = srp_sg_tablesize; in srp_init_module()
4108 if (!cmd_sg_entries) in srp_init_module()
4109 cmd_sg_entries = SRP_DEF_SG_TABLESIZE; in srp_init_module()
4111 if (cmd_sg_entries > 255) { in srp_init_module()
4113 cmd_sg_entries = 255; in srp_init_module()
4117 indirect_sg_entries = cmd_sg_entries; in srp_init_module()
4118 else if (indirect_sg_entries < cmd_sg_entries) { in srp_init_module()
4120 cmd_sg_entries); in srp_init_module()
4121 indirect_sg_entries = cmd_sg_entries; in srp_init_module()