Home
last modified time | relevance | path

Searched refs:valid_size (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/fs/ntfs3/
Dattrib.c323 attr->nres.valid_size = attr->nres.data_size; in attr_make_nonresident()
452 old_valid = le64_to_cpu(attr_b->nres.valid_size); in attr_set_size()
624 attr_b->nres.valid_size = attr_b->nres.data_size; in attr_set_size()
684 attr_b->nres.valid_size = attr_b->nres.data_size = in attr_set_size()
736 attr_b->nres.valid_size = in attr_set_size()
744 le64_to_cpu(attr_b->nres.valid_size)) in attr_set_size()
745 attr_b->nres.valid_size = in attr_set_size()
799 if (attr_b->nres.valid_size != valid) { in attr_set_size()
800 attr_b->nres.valid_size = valid; in attr_set_size()
832 attr_b->nres.valid_size = cpu_to_le64(old_valid); in attr_set_size()
[all …]
Dindex.c208 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 …]
Dfrecord.c1500 attr->nres.valid_size = attr->nres.alloc_size; in ni_insert_nonresident()
2459 u64 valid_size = ni->i_valid; in ni_read_frame() local
2500 if (frame_vbo >= valid_size) { in ni_read_frame()
2691 if (!err && valid_size < frame_vbo + frame_size) { in ni_read_frame()
2692 size_t ok = valid_size - frame_vbo; in ni_read_frame()
3175 if (valid_le != attr->nres.valid_size) { in ni_update_parent()
3176 attr->nres.valid_size = valid_le; in ni_update_parent()
Dattrlist.c464 attr->nres.valid_size = attr->nres.data_size; in al_update()
Dinode.c153 le64_to_cpu(attr->nres.valid_size) > t64) in ntfs_read_mft()
262 ni->i_valid = le64_to_cpu(attr->nres.valid_size); in ntfs_read_mft()
306 ni->i_valid = le64_to_cpu(attr->nres.valid_size); in ntfs_read_mft()
1560 attr->nres.valid_size = attr->nres.data_size; in ntfs_create_inode()
Dfslog.c217 __le64 valid_size; member
2704 le64_to_cpu(attr->nres.valid_size) > dsize || in check_attr()
2990 attr->nres.valid_size = attr->nres.data_size; in attr_create_nonres_log()
3356 attr->nres.valid_size = new_sz->valid_size; in do_action()
4815 attr->nres.valid_size = attr->nres.data_size = in log_replay()
5045 attr->nres.valid_size = attr->nres.data_size = in log_replay()
Drecord.c309 if (le64_to_cpu(attr->nres.valid_size) > data_size) in mi_enum_attr()
Dntfs.h358 __le64 valid_size; // 0x38: The size of valid part in bytes <= data_size. member
Dfsntfs.c520 attr->nres.valid_size = attr->nres.data_size; in ntfs_extend_mft()
/linux-6.6.21/drivers/hid/
Dhid-rmi.c360 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-6.6.21/fs/exfat/
Dexfat_raw.h139 __le64 valid_size; member
Dinode.c75 ep2->dentry.stream.valid_size = cpu_to_le64(on_disk_size); in __exfat_write_inode()
76 ep2->dentry.stream.size = ep2->dentry.stream.valid_size; in __exfat_write_inode()
Ddir.c170 le64_to_cpu(ep->dentry.stream.valid_size); in exfat_readdir()
427 ep->dentry.stream.valid_size = cpu_to_le64(size); in exfat_init_stream_entry()
Dnamei.c658 info->size = le64_to_cpu(ep2->dentry.stream.valid_size); in exfat_find()
/linux-6.6.21/drivers/firmware/arm_scmi/
Dprotocols.h267 u32 valid_size, u32 domain,
Ddriver.c1610 u8 describe_id, u32 message_id, u32 valid_size, in scmi_common_fastchannel_init() argument
1651 if (size != valid_size) { in scmi_common_fastchannel_init()
/linux-6.6.21/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c394 descr->valid_size = 0; in gelic_descr_prepare_rx()
509 descr->valid_size = 0; in gelic_descr_release_tx()
924 skb_put(skb, be32_to_cpu(descr->valid_size)? in gelic_net_pass_skb_up()
925 be32_to_cpu(descr->valid_size) : in gelic_net_pass_skb_up()
927 if (!descr->valid_size) in gelic_net_pass_skb_up()
Dps3_gelic_net.h240 __be32 valid_size; /* all zeroes for tx */ member
Dspider_net.h378 u32 valid_size; /* all zeroes for tx */ member
Dspider_net.c407 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-6.6.21/arch/powerpc/platforms/ps3/
Dgelic_udbg.c50 __be32 valid_size; /* all zeroes for tx */ member
/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory.c601 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-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c4847 bool valid_size = false; in mlxsw_sp_nexthop_obj_res_group_size_validate() local
4862 valid_size = true; in mlxsw_sp_nexthop_obj_res_group_size_validate()
4867 if (!valid_size) { in mlxsw_sp_nexthop_obj_res_group_size_validate()