/linux/fs/ntfs3/ |
A D | attrib.c | 329 attr->nres.valid_size = attr->nres.data_size; in attr_make_nonresident() 600 attr_b->nres.data_size = attr_b->nres.alloc_size; in attr_set_size() 610 attr_b->nres.data_size = attr_b->nres.alloc_size; in attr_set_size() 612 attr_b->nres.valid_size = attr_b->nres.data_size; in attr_set_size() 663 attr_b->nres.data_size = attr_b->nres.alloc_size; in attr_set_size() 664 attr_b->nres.valid_size = attr_b->nres.alloc_size; in attr_set_size() 714 attr_b->nres.valid_size = in attr_set_size() 715 attr_b->nres.data_size; in attr_set_size() 719 attr_b->nres.data_size = in attr_set_size() 720 attr_b->nres.alloc_size; in attr_set_size() [all …]
|
A D | frecord.c | 226 if (attr->nres.svcn) in ni_find_attr() 1437 attr->nres.alloc_size = in ni_insert_nonresident() 1439 attr->nres.data_size = attr->nres.alloc_size; in ni_insert_nonresident() 1440 attr->nres.valid_size = attr->nres.alloc_size; in ni_insert_nonresident() 1445 attr->nres.total_size = attr->nres.alloc_size; in ni_insert_nonresident() 1692 if (attr->nres.data_size) { in ni_new_attr_flags() 1710 attr->nres.c_unit = 0; in ni_new_attr_flags() 1720 attr->nres.c_unit = 0; in ni_new_attr_flags() 2282 attr->nres.c_unit = 0; in ni_decompress_file() 3079 ? attr->nres.total_size in ni_update_parent() [all …]
|
A D | attrlist.c | 61 } else if (attr->nres.svcn) { in ntfs_load_attr_list() 65 u16 run_off = le16_to_cpu(attr->nres.run_off); in ntfs_load_attr_list() 67 lsize = le64_to_cpu(attr->nres.data_size); in ntfs_load_attr_list() 72 0, le64_to_cpu(attr->nres.evcn), 0, in ntfs_load_attr_list() 449 attr->nres.valid_size = attr->nres.data_size; in al_update()
|
A D | inode.c | 238 if (!attr->nres.alloc_size) in ntfs_read_mft() 365 roff = le16_to_cpu(attr->nres.run_off); in ntfs_read_mft() 367 t64 = le64_to_cpu(attr->nres.svcn); in ntfs_read_mft() 1426 attr->nres.evcn = cpu_to_le64(-1ll); in ntfs_create_inode() 1436 attr->nres.c_unit = COMPRESSION_UNIT; in ntfs_create_inode() 1443 attr->nres.run_off = attr->name_off; in ntfs_create_inode() 1497 attr->nres.evcn = cpu_to_le64(clst - 1); in ntfs_create_inode() 1499 attr->nres.run_off = attr->name_off; in ntfs_create_inode() 1501 attr->nres.valid_size = attr->nres.data_size; in ntfs_create_inode() 1502 attr->nres.alloc_size = in ntfs_create_inode() [all …]
|
A D | record.c | 269 le16_to_cpu(attr->nres.run_off)) { in mi_enum_attr() 273 if (attr->nres.svcn || !is_attr_ext(attr)) { in mi_enum_attr() 277 if (attr->nres.c_unit) in mi_enum_attr() 571 CLST svcn = le64_to_cpu(attr->nres.svcn); in mi_pack_runs() 576 u16 run_off = le16_to_cpu(attr->nres.run_off); in mi_pack_runs() 597 attr->nres.evcn = cpu_to_le64(svcn + plen - 1); in mi_pack_runs()
|
A D | ntfs.h | 376 struct ATTR_NONRESIDENT nres; // 0x10 member 393 le64_to_cpu(attr->nres.total_size) : in attr_ondisk_size() 394 le64_to_cpu(attr->nres.alloc_size)) in attr_ondisk_size() 400 return attr->non_res ? le64_to_cpu(attr->nres.data_size) : in attr_size() 436 return attr->non_res ? le64_to_cpu(attr->nres.svcn) : 0; in attr_svcn() 444 static_assert(sizeof(((struct ATTRIB *)NULL)->nres) == 0x38); 474 return Add2Ptr(attr, le16_to_cpu(attr->nres.run_off)); in attr_run()
|
A D | fslog.c | 2722 svcn = le64_to_cpu(attr->nres.svcn); in check_attr() 2723 evcn = le64_to_cpu(attr->nres.evcn); in check_attr() 3010 attr->nres.valid_size = attr->nres.data_size; in attr_create_nonres_log() 3014 attr->nres.c_unit = COMPRESSION_UNIT; in attr_create_nonres_log() 3016 attr->nres.run_off = in attr_create_nonres_log() 3022 attr->nres.run_off = in attr_create_nonres_log() 3361 attr->nres.evcn = cpu_to_le64(t64); in do_action() 3364 oa2->attr->nres.evcn = attr->nres.evcn; in do_action() 4840 attr->nres.valid_size = attr->nres.data_size = in log_replay() 5070 attr->nres.valid_size = attr->nres.data_size = in log_replay() [all …]
|
A D | index.c | 238 data_size = le64_to_cpu(b->nres.data_size); in bmp_buf_get() 244 valid_size = le64_to_cpu(b->nres.valid_size); in bmp_buf_get() 301 b->nres.valid_size = cpu_to_le64(bbuf->new_valid); in bmp_buf_put() 372 u64 valid_size = le64_to_cpu(bitmap->nres.valid_size); in scan_nres_bitmap() 373 u64 data_size = le64_to_cpu(bitmap->nres.data_size); in scan_nres_bitmap() 1361 alloc->nres.valid_size = alloc->nres.data_size = cpu_to_le64(data_size); in indx_create_allocate() 1411 bmp_size = le64_to_cpu(bmp->nres.data_size); in indx_add_allocate() 1412 bmp_size_v = le64_to_cpu(bmp->nres.valid_size); in indx_add_allocate() 1963 nbits = le64_to_cpu(b->nres.data_size) * 8; in indx_shrink()
|
A D | fsntfs.c | 491 attr->nres.valid_size = attr->nres.data_size; in ntfs_extend_mft() 492 new_mft_total = le64_to_cpu(attr->nres.alloc_size) >> sbi->record_bits; in ntfs_extend_mft()
|
/linux/arch/arm/mach-mmp/ |
A D | devices.c | 22 int i, ret = 0, nres = 0; in pxa_register_device() local 33 res[nres].start = desc->start; in pxa_register_device() 35 res[nres].flags = IORESOURCE_MEM; in pxa_register_device() 36 nres++; in pxa_register_device() 40 res[nres].start = desc->irq; in pxa_register_device() 41 res[nres].end = desc->irq; in pxa_register_device() 42 res[nres].flags = IORESOURCE_IRQ; in pxa_register_device() 43 nres++; in pxa_register_device() 50 res[nres].start = desc->dma[i]; in pxa_register_device() 51 res[nres].end = desc->dma[i]; in pxa_register_device() [all …]
|
/linux/drivers/hwtracing/intel_th/ |
A D | core.c | 407 struct resource *res, int nres) in intel_th_device_add_resources() argument 416 thdev->num_resources = nres; in intel_th_device_add_resources() 439 unsigned nres; member 447 .nres = 1, 461 .nres = 2, 482 .nres = 2, 503 .nres = 2, 521 .nres = 2, 539 .nres = 1, 554 .nres = 1, [all …]
|
/linux/drivers/pci/ |
A D | iov.c | 559 int nres; in sriov_enable() local 582 nres = 0; in sriov_enable() 587 nres++; in sriov_enable() 589 if (nres != iov->nres) { in sriov_enable() 701 int nres; in sriov_init() local 743 nres = 0; in sriov_init() 766 nres++; in sriov_init() 770 iov->nres = nres; in sriov_init()
|
A D | pci.h | 283 int nres; /* Number of resources */ member
|
/linux/drivers/usb/chipidea/ |
A D | ci_hdrc_pci.c | 60 int retval = 0, nres = 2; in ci_hdrc_pci_probe() local 95 ci->ci = ci_hdrc_add_device(&pdev->dev, res, nres, platdata); in ci_hdrc_pci_probe()
|
A D | core.c | 846 struct resource *res, int nres, in ci_hdrc_add_device() argument 868 ret = platform_device_add_resources(pdev, res, nres); in ci_hdrc_add_device()
|
/linux/drivers/staging/board/ |
A D | board.c | 114 unsigned int nres) in board_staging_gic_fixup_resources() argument 118 for (i = 0; i < nres; i++) in board_staging_gic_fixup_resources()
|
A D | board.h | 29 void board_staging_gic_fixup_resources(struct resource *res, unsigned int nres);
|
/linux/arch/powerpc/boot/ |
A D | devtree.c | 356 int dt_get_virtual_reg(void *node, void **addr, int nres) in dt_get_virtual_reg() argument 361 n = getprop(node, "virtual-reg", addr, nres * 4); in dt_get_virtual_reg() 368 for (n = 0; n < nres; n++) { in dt_get_virtual_reg()
|
A D | ops.h | 99 int dt_get_virtual_reg(void *node, void **addr, int nres);
|
/linux/include/linux/usb/ |
A D | chipidea.h | 104 struct resource *res, int nres,
|
/linux/fs/fuse/ |
A D | file.c | 1460 ssize_t nres; in fuse_direct_io() local 1475 nres = fuse_send_read(ia, pos, nbytes, owner); in fuse_direct_io() 1478 if (!io->async || nres < 0) { in fuse_direct_io() 1483 if (nres < 0) { in fuse_direct_io() 1485 err = nres; in fuse_direct_io() 1488 WARN_ON(nres > nbytes); in fuse_direct_io() 1490 count -= nres; in fuse_direct_io() 1491 res += nres; in fuse_direct_io() 1492 pos += nres; in fuse_direct_io() 1493 if (nres != nbytes) { in fuse_direct_io() [all …]
|
/linux/drivers/pinctrl/qcom/ |
A D | pinctrl-sc8180x.c | 1633 struct resource *mres, *nres, *res; in sc8180x_pinctrl_add_tile_resources() local 1644 nres = devm_kzalloc(&pdev->dev, sizeof(*nres) * nres_num, GFP_KERNEL); in sc8180x_pinctrl_add_tile_resources() 1645 if (!nres) in sc8180x_pinctrl_add_tile_resources() 1648 res = nres; in sc8180x_pinctrl_add_tile_resources() 1677 ret = platform_device_add_resources(pdev, nres, nres_num); in sc8180x_pinctrl_add_tile_resources()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_sriov.h | 89 int nres; /* number of resources */ member
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_sriov.h | 48 int nres; /* number of resources */ member
|
/linux/Documentation/driver-api/driver-model/ |
A D | platform.rst | 149 struct resource *res, unsigned int nres);
|