Home
last modified time | relevance | path

Searched refs:max_loop (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/lustre/lustre/llite/
Dlloop.c162 static int max_loop = MAX_LOOP_DEFAULT; variable
688 for (i = 0; i < max_loop; i++, lo = NULL) { in lloop_ioctl()
739 if (minor > max_loop - 1) { in lloop_ioctl()
779 if (max_loop < 1 || max_loop > 256) { in lloop_init()
780 max_loop = MAX_LOOP_DEFAULT; in lloop_init()
782 " 1 and 256), using default (%u)\n", max_loop); in lloop_init()
790 lloop_major, max_loop); in lloop_init()
796 loop_dev = kzalloc(max_loop * sizeof(*loop_dev), GFP_KERNEL); in lloop_init()
800 disks = kzalloc(max_loop * sizeof(*disks), GFP_KERNEL); in lloop_init()
804 for (i = 0; i < max_loop; i++) { in lloop_init()
[all …]
/drivers/phy/
Dphy-xgene.c1436 int max_loop = 10; in xgene_phy_gen_avg_val() local
1466 while (avg_loop < max_loop) { in xgene_phy_gen_avg_val()
1524 xgene_phy_get_avg(lat_do, max_loop)); in xgene_phy_gen_avg_val()
1526 xgene_phy_get_avg(lat_xo, max_loop)); in xgene_phy_gen_avg_val()
1531 xgene_phy_get_avg(lat_eo, max_loop)); in xgene_phy_gen_avg_val()
1533 xgene_phy_get_avg(lat_so, max_loop)); in xgene_phy_gen_avg_val()
1538 xgene_phy_get_avg(lat_de, max_loop)); in xgene_phy_gen_avg_val()
1540 xgene_phy_get_avg(lat_xe, max_loop)); in xgene_phy_gen_avg_val()
1545 xgene_phy_get_avg(lat_ee, max_loop)); in xgene_phy_gen_avg_val()
1547 xgene_phy_get_avg(lat_se, max_loop)); in xgene_phy_gen_avg_val()
[all …]
/drivers/block/
Dloop.c1564 static int max_loop; variable
1565 module_param(max_loop, int, S_IRUGO);
1566 MODULE_PARM_DESC(max_loop, "Maximum number of loop devices");
1858 if (max_loop > 1UL << (MINORBITS - part_shift)) { in loop_init()
1871 if (max_loop) { in loop_init()
1872 nr = max_loop; in loop_init()
1873 range = max_loop << part_shift; in loop_init()
1913 range = max_loop ? max_loop << part_shift : 1UL << MINORBITS; in loop_exit()
1930 max_loop = simple_strtol(str, NULL, 0); in max_loop_setup()
DKconfig263 line or with module-parameter loop.max_loop.
/drivers/staging/media/omap24xx/
Domap24xxcam.c603 int max_loop = RESET_TIMEOUT_NS; in omap24xxcam_poweron_reset() local
613 && --max_loop) { in omap24xxcam_poweron_reset()
/drivers/net/wireless/b43/
Dmain.c748 unsigned int i, max_loop; in b43_dummy_transmission() local
759 max_loop = 0x1E; in b43_dummy_transmission()
762 max_loop = 0xFA; in b43_dummy_transmission()
808 for (i = 0x00; i < max_loop; i++) { in b43_dummy_transmission()
/drivers/net/wireless/b43legacy/
Dmain.c628 unsigned int max_loop; in b43legacy_dummy_transmission() local
641 max_loop = 0xFA; in b43legacy_dummy_transmission()
668 for (i = 0x00; i < max_loop; i++) { in b43legacy_dummy_transmission()