/linux-5.19.10/fs/ntfs3/ |
D | attrib.c | 91 CLST svcn = le64_to_cpu(attr->nres.svcn); in attr_load_runs() 92 CLST evcn = le64_to_cpu(attr->nres.evcn); in attr_load_runs() 103 run_off = le16_to_cpu(attr->nres.run_off); in attr_load_runs() 328 attr->nres.data_size = cpu_to_le64(rsize); in attr_make_nonresident() 329 attr->nres.valid_size = attr->nres.data_size; in attr_make_nonresident() 451 align <<= attr_b->nres.c_unit; in attr_set_size() 453 old_valid = le64_to_cpu(attr_b->nres.valid_size); in attr_set_size() 454 old_size = le64_to_cpu(attr_b->nres.data_size); in attr_set_size() 455 old_alloc = le64_to_cpu(attr_b->nres.alloc_size); in attr_set_size() 462 attr_b->nres.data_size = cpu_to_le64(new_size); in attr_set_size() [all …]
|
D | frecord.c | 226 if (attr->nres.svcn) in ni_find_attr() 228 } else if (le64_to_cpu(attr->nres.svcn) > *vcn || in ni_find_attr() 229 *vcn > le64_to_cpu(attr->nres.evcn)) { in ni_find_attr() 325 if (le64_to_cpu(attr->nres.svcn) <= vcn && in ni_load_attr() 326 vcn <= le64_to_cpu(attr->nres.evcn)) in ni_load_attr() 536 svcn = le64_to_cpu(attr->nres.svcn); in ni_repack() 543 alloc = le64_to_cpu(attr->nres.alloc_size) >> in ni_repack() 551 evcn = le64_to_cpu(attr->nres.evcn); in ni_repack() 569 roff = le16_to_cpu(attr->nres.run_off); in ni_repack() 594 next_svcn = le64_to_cpu(attr_p->nres.evcn) + 1; in ni_repack() [all …]
|
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()
|
D | inode.c | 236 ni->i_valid = le64_to_cpu(attr->nres.valid_size); in ntfs_read_mft() 237 inode->i_size = le64_to_cpu(attr->nres.data_size); in ntfs_read_mft() 238 if (!attr->nres.alloc_size) in ntfs_read_mft() 279 inode->i_size = le64_to_cpu(attr->nres.data_size); in ntfs_read_mft() 280 ni->i_valid = le64_to_cpu(attr->nres.valid_size); in ntfs_read_mft() 281 inode_set_bytes(inode, le64_to_cpu(attr->nres.alloc_size)); in ntfs_read_mft() 292 if (le64_to_cpu(attr->nres.alloc_size) >= 0x20000000) 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() 368 err = run_unpack_ex(run, sbi, ino, t64, le64_to_cpu(attr->nres.evcn), in ntfs_read_mft() [all …]
|
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()
|
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()
|
D | fslog.c | 2719 dsize = le64_to_cpu(attr->nres.data_size); in check_attr() 2720 svcn = le64_to_cpu(attr->nres.svcn); in check_attr() 2721 evcn = le64_to_cpu(attr->nres.evcn); in check_attr() 2722 run_off = le16_to_cpu(attr->nres.run_off); in check_attr() 2725 le64_to_cpu(attr->nres.valid_size) > dsize || in check_attr() 2726 dsize > le64_to_cpu(attr->nres.alloc_size)) { in check_attr() 3005 attr->nres.evcn = cpu_to_le64((u64)bytes_to_cluster(sbi, size) - 1); in attr_create_nonres_log() 3006 attr->nres.alloc_size = cpu_to_le64(ntfs_up_cluster(sbi, size)); in attr_create_nonres_log() 3007 attr->nres.data_size = cpu_to_le64(size); in attr_create_nonres_log() 3008 attr->nres.valid_size = attr->nres.data_size; in attr_create_nonres_log() [all …]
|
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()
|
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-5.19.10/arch/arm/mach-mmp/ |
D | devices.c | 22 int i, ret = 0, nres = 0; in mmp_register_device() local 33 res[nres].start = desc->start; in mmp_register_device() 34 res[nres].end = desc->start + desc->size - 1; in mmp_register_device() 35 res[nres].flags = IORESOURCE_MEM; in mmp_register_device() 36 nres++; in mmp_register_device() 40 res[nres].start = desc->irq; in mmp_register_device() 41 res[nres].end = desc->irq; in mmp_register_device() 42 res[nres].flags = IORESOURCE_IRQ; in mmp_register_device() 43 nres++; in mmp_register_device() 46 for (i = 0; i < MAX_RESOURCE_DMA; i++, nres++) { in mmp_register_device() [all …]
|
/linux-5.19.10/drivers/hwtracing/intel_th/ |
D | core.c | 407 struct resource *res, int nres) in intel_th_device_add_resources() argument 411 r = kmemdup(res, sizeof(*res) * nres, GFP_KERNEL); in intel_th_device_add_resources() 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, [all …]
|
/linux-5.19.10/drivers/pci/ |
D | iov.c | 602 int nres; in sriov_enable() local 625 nres = 0; in sriov_enable() 630 nres++; in sriov_enable() 632 if (nres != iov->nres) { in sriov_enable() 744 int nres; in sriov_init() local 786 nres = 0; in sriov_init() 809 nres++; in sriov_init() 813 iov->nres = nres; in sriov_init()
|
D | pci.h | 283 int nres; /* Number of resources */ member
|
/linux-5.19.10/drivers/usb/chipidea/ |
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()
|
D | core.c | 846 struct resource *res, int nres, in ci_hdrc_add_device() argument 869 ret = platform_device_add_resources(pdev, res, nres); in ci_hdrc_add_device()
|
/linux-5.19.10/drivers/staging/board/ |
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()
|
D | board.h | 29 void board_staging_gic_fixup_resources(struct resource *res, unsigned int nres);
|
/linux-5.19.10/arch/powerpc/boot/ |
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()
|
D | ops.h | 99 int dt_get_virtual_reg(void *node, void **addr, int nres);
|
/linux-5.19.10/include/linux/usb/ |
D | chipidea.h | 104 struct resource *res, int nres,
|
/linux-5.19.10/fs/fuse/ |
D | file.c | 1483 ssize_t nres; in fuse_direct_io() local 1496 nres = fuse_send_write(ia, pos, nbytes, owner); in fuse_direct_io() 1498 nres = fuse_send_read(ia, pos, nbytes, owner); in fuse_direct_io() 1501 if (!io->async || nres < 0) { in fuse_direct_io() 1506 if (nres < 0) { in fuse_direct_io() 1508 err = nres; in fuse_direct_io() 1511 WARN_ON(nres > nbytes); in fuse_direct_io() 1513 count -= nres; in fuse_direct_io() 1514 res += nres; in fuse_direct_io() 1515 pos += nres; in fuse_direct_io() [all …]
|
/linux-5.19.10/drivers/pinctrl/qcom/ |
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-5.19.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.h | 90 int nres; /* number of resources */ member
|
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.h | 48 int nres; /* number of resources */ member
|
/linux-5.19.10/Documentation/driver-api/driver-model/ |
D | platform.rst | 149 struct resource *res, unsigned int nres);
|