Lines Matching refs:cmd_sg_entries
68 static unsigned int cmd_sg_entries; variable
78 module_param(cmd_sg_entries, uint, 0444);
79 MODULE_PARM_DESC(cmd_sg_entries,
2764 static DEVICE_ATTR(cmd_sg_entries, S_IRUGO, show_cmd_sg_entries, NULL);
3217 target->cmd_sg_cnt = cmd_sg_entries; in srp_create_target()
3218 target->sg_tablesize = indirect_sg_entries ? : cmd_sg_entries; in srp_create_target()
3594 if (!cmd_sg_entries) in srp_init_module()
3595 cmd_sg_entries = srp_sg_tablesize; in srp_init_module()
3598 if (!cmd_sg_entries) in srp_init_module()
3599 cmd_sg_entries = SRP_DEF_SG_TABLESIZE; in srp_init_module()
3601 if (cmd_sg_entries > 255) { in srp_init_module()
3603 cmd_sg_entries = 255; in srp_init_module()
3607 indirect_sg_entries = cmd_sg_entries; in srp_init_module()
3608 else if (indirect_sg_entries < cmd_sg_entries) { in srp_init_module()
3610 cmd_sg_entries); in srp_init_module()
3611 indirect_sg_entries = cmd_sg_entries; in srp_init_module()