Searched refs:num_dev (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/staging/goldfish/
H A Dgoldfish_nand.c372 u32 num_dev; goldfish_nand_probe() local
396 num_dev = readl(base + NAND_NUM_DEV); goldfish_nand_probe()
397 if (num_dev == 0) goldfish_nand_probe()
401 sizeof(struct mtd_info) * num_dev, GFP_KERNEL); goldfish_nand_probe()
407 nand->mtd_count = num_dev; goldfish_nand_probe()
411 for (i = 0; i < num_dev; i++) { goldfish_nand_probe()
/linux-4.4.14/arch/powerpc/platforms/ps3/
H A Drepository.c199 unsigned int *num_dev) ps3_repository_read_bus_num_dev()
206 make_field("num_dev", 0), ps3_repository_read_bus_num_dev()
209 *num_dev = v1; ps3_repository_read_bus_num_dev()
318 unsigned int num_dev; ps3_repository_find_device() local
323 result = ps3_repository_read_bus_num_dev(tmp.bus_index, &num_dev); ps3_repository_find_device()
330 pr_devel("%s:%d: bus_type %u, bus_index %u, bus_id %llu, num_dev %u\n", ps3_repository_find_device()
332 num_dev); ps3_repository_find_device()
334 if (tmp.dev_index >= num_dev) { ps3_repository_find_device()
368 unsigned int num_dev; ps3_repository_find_device_by_id() local
399 result = ps3_repository_read_bus_num_dev(tmp.bus_index, &num_dev); ps3_repository_find_device_by_id()
406 for (tmp.dev_index = 0; tmp.dev_index < num_dev; tmp.dev_index++) { ps3_repository_find_device_by_id()
1307 unsigned int num_dev) dump_device_info()
1313 for (repo->dev_index = 0; repo->dev_index < num_dev; dump_device_info()
1360 unsigned int num_dev; ps3_repository_dump_bus_info() local
1385 &num_dev); ps3_repository_dump_bus_info()
1393 pr_devel("%s:%d bus_%u: bus_type %u, bus_id %lu, num_dev %u\n", ps3_repository_dump_bus_info()
1395 (unsigned long)repo.bus_id, num_dev); ps3_repository_dump_bus_info()
1397 dump_device_info(&repo, num_dev); ps3_repository_dump_bus_info()
198 ps3_repository_read_bus_num_dev(unsigned int bus_index, unsigned int *num_dev) ps3_repository_read_bus_num_dev() argument
1306 dump_device_info(struct ps3_repository_device *repo, unsigned int num_dev) dump_device_info() argument
H A Dplatform.h99 unsigned int *num_dev);
/linux-4.4.14/fs/nfs/
H A Dnfs42xdr.c237 WARN_ON(args->num_dev > PNFS_LAYOUTSTATS_MAXDEV); nfs4_xdr_enc_layoutstats()
238 for (i = 0; i < args->num_dev; i++) nfs4_xdr_enc_layoutstats()
403 WARN_ON(res->num_dev > PNFS_LAYOUTSTATS_MAXDEV); nfs4_xdr_dec_layoutstats()
404 for (i = 0; i < res->num_dev; i++) { nfs4_xdr_dec_layoutstats()
/linux-4.4.14/include/linux/
H A Dnfs_xdr.h348 int num_dev; member in struct:nfs42_layoutstat_args
354 int num_dev; member in struct:nfs42_layoutstat_res
/linux-4.4.14/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c2086 args->num_dev = ff_layout_mirror_prepare_stats(args, ff_layout_prepare_layoutstats()
2099 for (i = 0; i < data->args.num_dev; i++) { ff_layout_cleanup_layoutstats()
/linux-4.4.14/fs/btrfs/
H A Dextent-tree.c4259 u64 num_dev; get_profile_num_devs() local
4265 num_dev = root->fs_info->fs_devices->rw_devices; get_profile_num_devs()
4267 num_dev = 2; get_profile_num_devs()
4269 num_dev = 1; /* DUP or single */ get_profile_num_devs()
4271 return num_dev; get_profile_num_devs()

Completed in 724 milliseconds