Searched refs:num_devices (Results 1 – 11 of 11) sorted by relevance
43 static unsigned int num_devices; variable784 return num_devices; in zram_get_num_devices()791 if (num_devices > max_num_devices) { in zram_init()793 num_devices); in zram_init()805 if (!num_devices) { in zram_init()807 num_devices = 1; in zram_init()811 pr_info("Creating %u devices ...\n", num_devices); in zram_init()812 zram_devices = kzalloc(num_devices * sizeof(struct zram), GFP_KERNEL); in zram_init()818 for (dev_id = 0; dev_id < num_devices; dev_id++) { in zram_init()841 for (i = 0; i < num_devices; i++) { in zram_exit()[all …]
22 modprobe zram num_devices=424 (num_devices parameter is optional. Default: 1)
310 struct ccw_driver *cdrv, int num_devices, in ccwgroup_create_from_string() argument318 gdev = kzalloc(sizeof(*gdev) + num_devices * sizeof(gdev->cdev[0]), in ccwgroup_create_from_string()327 gdev->count = num_devices; in ccwgroup_create_from_string()334 for (i = 0; i < num_devices && curr_buf; i++) { in ccwgroup_create_from_string()364 if (i < num_devices && !curr_buf) { in ccwgroup_create_from_string()369 if (i == num_devices && strlen(curr_buf) > 0) { in ccwgroup_create_from_string()387 for (i = 0; i < num_devices; i++) in ccwgroup_create_from_string()
81 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info)89 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info)744 timberdale_xspi_platform_data.num_devices = in timb_probe()750 timberdale_xspi_platform_data.num_devices = in timb_probe()
190 for (i = 0; i < pdata->num_devices; ++i) { in omap_dss_probe()227 for (i = 0; i < pdata->num_devices; ++i) in omap_dss_remove()
79 u_char num_devices; /* 0x10 */ member
570 __le32 num_devices; /* Number of devices in this array. (Max 64) */ member636 sb->num_devices = cpu_to_le32(mddev->raid_disks); in super_sync()736 (le32_to_cpu(sb->num_devices) != mddev->raid_disks)) { in super_init_validation()
344 for (i = 0; i < pdata->num_devices; i++) in ocores_i2c_probe()
750 for (i = 0; i < pdata->num_devices; i++) in xiic_i2c_probe()
513 for (i = 0; i < pdata->num_devices; i++) in xilinx_spi_probe()
2988 ctrl_cmd->num_devices = MAX_WRITERS; in pkt_get_status()