Lines Matching refs:cmd_sg_entries
67 static unsigned int cmd_sg_entries; variable
77 module_param(cmd_sg_entries, uint, 0444);
78 MODULE_PARM_DESC(cmd_sg_entries,
2708 static DEVICE_ATTR(cmd_sg_entries, S_IRUGO, show_cmd_sg_entries, NULL);
3162 target->cmd_sg_cnt = cmd_sg_entries; in srp_create_target()
3163 target->sg_tablesize = indirect_sg_entries ? : cmd_sg_entries; in srp_create_target()
3545 if (!cmd_sg_entries) in srp_init_module()
3546 cmd_sg_entries = srp_sg_tablesize; in srp_init_module()
3549 if (!cmd_sg_entries) in srp_init_module()
3550 cmd_sg_entries = SRP_DEF_SG_TABLESIZE; in srp_init_module()
3552 if (cmd_sg_entries > 255) { in srp_init_module()
3554 cmd_sg_entries = 255; in srp_init_module()
3558 indirect_sg_entries = cmd_sg_entries; in srp_init_module()
3559 else if (indirect_sg_entries < cmd_sg_entries) { in srp_init_module()
3561 cmd_sg_entries); in srp_init_module()
3562 indirect_sg_entries = cmd_sg_entries; in srp_init_module()