/linux/fs/exfat/ |
H A D | inode.c | 84 if (on_disk_size < ei->valid_size) in __exfat_write_inode() 85 ep2->dentry.stream.valid_size = ep2->dentry.stream.size; in __exfat_write_inode() 87 ep2->dentry.stream.valid_size = cpu_to_le64(ei->valid_size); in __exfat_write_inode() 309 valid_blks = EXFAT_B_TO_BLK_ROUND_UP(ei->valid_size, sb); in exfat_get_block() 326 ei->valid_size = EXFAT_BLK_TO_B(iblock + max_blocks, sb); in exfat_get_block() 329 valid_blks = EXFAT_B_TO_BLK(ei->valid_size, sb); in exfat_get_block() 342 (ei->valid_size & (sb->s_blocksize - 1))) { in exfat_get_block() 359 size = ei->valid_size - pos; in exfat_get_block() 397 if (ei->valid_size < i_size_read(inode) && in exfat_readahead() 398 pos <= ei->valid_size && in exfat_readahead() [all …]
|
H A D | file.c | 194 if (i_size_read(inode) < ei->valid_size) in __exfat_truncate() 195 ei->valid_size = i_size_read(inode); in __exfat_truncate() 544 pos = ei->valid_size; in exfat_extend_valid_size() 583 loff_t valid_size; in exfat_file_write_iter() local 587 valid_size = ei->valid_size; in exfat_file_write_iter() 603 if (pos > valid_size) { in exfat_file_write_iter() 608 valid_size, pos, ret); in exfat_file_write_iter() 620 if (pos > valid_size) in exfat_file_write_iter() 621 pos = valid_size; in exfat_file_write_iter() 654 if (ei->valid_size < end) { in exfat_page_mkwrite()
|
H A D | namei.c | 393 ei->valid_size += sbi->cluster_size; in exfat_find_empty_entry() 541 info->valid_size = info->size; in exfat_add_entry() 650 info->size = le64_to_cpu(ep2->dentry.stream.valid_size); in exfat_find() 651 info->valid_size = le64_to_cpu(ep2->dentry.stream.valid_size); in exfat_find() 659 info->valid_size = 0; in exfat_find() 662 if (info->valid_size > info->size) { in exfat_find() 664 info->valid_size, info->size); in exfat_find() 665 info->valid_size = info->size; in exfat_find() 1218 new_ei->valid_size = 0; in __exfat_rename()
|
H A D | exfat_raw.h | 140 __le64 valid_size; member
|
H A D | exfat_fs.h | 216 loff_t valid_size; member 324 loff_t valid_size; member
|
H A D | dir.c | 412 ep->dentry.stream.valid_size = cpu_to_le64(size); in exfat_init_stream_entry()
|
/linux/fs/ntfs3/ |
H A D | attrib.c | 325 attr->nres.valid_size = attr->nres.data_size; in attr_make_nonresident() 454 old_valid = le64_to_cpu(attr_b->nres.valid_size); in attr_set_size() 626 attr_b->nres.valid_size = attr_b->nres.data_size; in attr_set_size() 687 attr_b->nres.valid_size = attr_b->nres.data_size = in attr_set_size() 739 attr_b->nres.valid_size = in attr_set_size() 747 le64_to_cpu(attr_b->nres.valid_size)) in attr_set_size() 748 attr_b->nres.valid_size = in attr_set_size() 802 if (attr_b->nres.valid_size != valid) { in attr_set_size() 803 attr_b->nres.valid_size = valid; in attr_set_size() 835 attr_b->nres.valid_size = cpu_to_le64(old_valid); in attr_set_size() [all …]
|
H A D | index.c | 208 size_t data_size, valid_size, vbo, off = bit >> 3; in bmp_buf_get() local 244 valid_size = le64_to_cpu(b->nres.valid_size); in bmp_buf_get() 266 if (bbuf->new_valid <= valid_size) in bmp_buf_get() 271 if (vbo >= valid_size) { in bmp_buf_get() 273 } else if (vbo + blocksize > valid_size) { in bmp_buf_get() 274 u32 voff = valid_size & sbi->block_mask; 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() local 423 if (vbo >= valid_size) { in scan_nres_bitmap() 425 } else if (vbo + blocksize > valid_size) { in scan_nres_bitmap() [all …]
|
H A D | frecord.c | 1502 attr->nres.valid_size = attr->nres.alloc_size; in ni_insert_nonresident() 2450 u64 valid_size = ni->i_valid; in ni_read_frame() local 2491 if (frame_vbo >= valid_size) { in ni_read_frame() 2683 if (!err && valid_size < frame_vbo + frame_size) { in ni_read_frame() 2684 size_t ok = valid_size - frame_vbo; in ni_read_frame() 3166 if (valid_le != attr->nres.valid_size) { in ni_update_parent() 3167 attr->nres.valid_size = valid_le; in ni_update_parent()
|
H A D | attrlist.c | 411 attr->nres.valid_size = attr->nres.data_size; in al_update()
|
H A D | inode.c | 153 le64_to_cpu(attr->nres.valid_size) > t64) in ntfs_read_mft() 265 ni->i_valid = le64_to_cpu(attr->nres.valid_size); in ntfs_read_mft() 309 ni->i_valid = le64_to_cpu(attr->nres.valid_size); in ntfs_read_mft() 1538 attr->nres.valid_size = attr->nres.data_size; in ntfs_create_inode()
|
H A D | fslog.c | 217 __le64 valid_size; member 2724 le64_to_cpu(attr->nres.valid_size) > dsize || in check_attr() 3010 attr->nres.valid_size = attr->nres.data_size; in attr_create_nonres_log() 3376 attr->nres.valid_size = new_sz->valid_size; in do_action() 4862 attr->nres.valid_size = attr->nres.data_size = in log_replay() 5092 attr->nres.valid_size = attr->nres.data_size = in log_replay()
|
H A D | record.c | 317 if (le64_to_cpu(attr->nres.valid_size) > data_size) in mi_enum_attr()
|
H A D | ntfs.h | 355 __le64 valid_size; // 0x38: The size of valid part in bytes <= data_size. member
|
H A D | fsntfs.c | 520 attr->nres.valid_size = attr->nres.data_size; in ntfs_extend_mft()
|
/linux/drivers/hid/ |
H A D | hid-rmi.c | 360 int valid_size = size; in rmi_check_sanity() local 368 while ((data[valid_size - 1] == 0xff) && valid_size > 0) in rmi_check_sanity() 369 valid_size--; in rmi_check_sanity() 371 return valid_size; in rmi_check_sanity()
|
/linux/drivers/firmware/arm_scmi/ |
H A D | protocols.h | 278 u32 valid_size, u32 domain,
|
H A D | driver.c | 1835 u8 describe_id, u32 message_id, u32 valid_size, in scmi_common_fastchannel_init() argument 1876 if (size != valid_size) { in scmi_common_fastchannel_init()
|
/linux/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 389 descr->hw_regs.valid_size = 0; in gelic_descr_prepare_rx() 518 descr->hw_regs.valid_size = 0; in gelic_descr_release_tx() 934 skb_put(skb, be32_to_cpu(descr->hw_regs.valid_size)? in gelic_net_pass_skb_up() 935 be32_to_cpu(descr->hw_regs.valid_size) : in gelic_net_pass_skb_up() 937 if (!descr->hw_regs.valid_size) in gelic_net_pass_skb_up()
|
H A D | ps3_gelic_net.h | 239 __be32 valid_size; /* all zeroes for tx */ member
|
H A D | spider_net.h | 378 u32 valid_size; /* all zeroes for tx */ member
|
H A D | spider_net.c | 407 hwdescr->valid_size = 0; in spider_net_prepare_rx_descr() 959 skb_put(skb, hwdescr->valid_size); in spider_net_pass_skb_up() 1065 hwd->valid_size); in show_rx_chain() 1211 pr_err("valid_size=x%08x\n", hwdescr->valid_size); in spider_net_decode_one_descr()
|
/linux/arch/powerpc/platforms/ps3/ |
H A D | gelic_udbg.c | 51 __be32 valid_size; /* all zeroes for tx */ member
|
/linux/drivers/accel/habanalabs/common/ |
H A D | memory.c | 601 u64 tmp_hint_addr, valid_start, valid_size, prev_start, prev_end, in get_va_block() local 657 valid_size = va_block->end - valid_start + 1; in get_va_block() 658 if (valid_size < size) in get_va_block() 672 if (!new_va_block || (valid_size < reserved_valid_size)) { in get_va_block() 675 reserved_valid_size = valid_size; in get_va_block() 682 reserved_valid_size = valid_size; in get_va_block()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | core.h | 3986 u8 valid_size = min(size, conf->ent_sz); in rtw89_txpwr_entcpy() local 3988 memcpy(entry, cursor, valid_size); in rtw89_txpwr_entcpy()
|