Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/fs/exfat/
Dfile.c176 ep2->dentry.stream.valid_size = 0; in __exfat_truncate()
179 ep2->dentry.stream.valid_size = cpu_to_le64(new_size); in __exfat_truncate()
180 ep2->dentry.stream.size = ep2->dentry.stream.valid_size; in __exfat_truncate()
Dinode.c76 ep2->dentry.stream.valid_size = cpu_to_le64(on_disk_size); in __exfat_write_inode()
77 ep2->dentry.stream.size = ep2->dentry.stream.valid_size; in __exfat_write_inode()
235 ep->dentry.stream.valid_size = in exfat_map_cluster()
238 ep->dentry.stream.valid_size; in exfat_map_cluster()
Dexfat_raw.h132 __le64 valid_size; member
Dnamei.c386 ep->dentry.stream.valid_size = cpu_to_le64(size); in exfat_find_empty_entry()
387 ep->dentry.stream.size = ep->dentry.stream.valid_size; in exfat_find_empty_entry()
639 info->size = le64_to_cpu(ep2->dentry.stream.valid_size); in exfat_find()
Ddir.c160 le64_to_cpu(ep->dentry.stream.valid_size); in exfat_readdir()
412 ep->dentry.stream.valid_size = cpu_to_le64(size); in exfat_init_stream_entry()
/Linux-v5.10/drivers/misc/habanalabs/common/
Dmemory.c525 u64 valid_start, valid_size, prev_start, prev_end, align_mask, in get_va_block() local
550 valid_size = va_block->end - valid_start; in get_va_block()
552 if (valid_size >= size && in get_va_block()
553 (!new_va_block || valid_size < res_valid_size)) { in get_va_block()
556 res_valid_size = valid_size; in get_va_block()
563 res_valid_size = valid_size; in get_va_block()
/Linux-v5.10/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c390 descr->valid_size = 0; in gelic_descr_prepare_rx()
506 descr->valid_size = 0; in gelic_descr_release_tx()
921 skb_put(skb, be32_to_cpu(descr->valid_size)? in gelic_net_pass_skb_up()
922 be32_to_cpu(descr->valid_size) : in gelic_net_pass_skb_up()
924 if (!descr->valid_size) in gelic_net_pass_skb_up()
Dps3_gelic_net.h239 __be32 valid_size; /* all zeroes for tx */ member
Dspider_net.h379 u32 valid_size; /* all zeroes for tx */ member
Dspider_net.c403 hwdescr->valid_size = 0; in spider_net_prepare_rx_descr()
947 skb_put(skb, hwdescr->valid_size); in spider_net_pass_skb_up()
1052 hwd->valid_size); in show_rx_chain()
1197 pr_err("valid_size=x%08x\n", hwdescr->valid_size); in spider_net_decode_one_descr()
/Linux-v5.10/arch/powerpc/platforms/ps3/
Dgelic_udbg.c50 __be32 valid_size; /* all zeroes for tx */ member