Home
last modified time | relevance | path

Searched refs:ret_count (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/tools/testing/selftests/mm/
Dhugetlb-read-hwpoison.c74 ssize_t ret_count = 0; in seek_read_hugepage_filemap() local
87 ret_count = read(fd, buf, wr_chunk_size); in seek_read_hugepage_filemap()
88 if (ret_count == 0) { in seek_read_hugepage_filemap()
91 } else if (ret_count < 0) { in seek_read_hugepage_filemap()
96 if (!verify_chunk(buf, ret_count, val)) in seek_read_hugepage_filemap()
99 total_ret_count += ret_count; in seek_read_hugepage_filemap()
111 ssize_t ret_count = 0; in read_hugepage_filemap() local
118 ret_count = read(fd, buf, wr_chunk_size); in read_hugepage_filemap()
119 if (ret_count == 0) { in read_hugepage_filemap()
122 } else if (ret_count < 0) { in read_hugepage_filemap()
[all …]
/linux-6.6.21/drivers/base/firmware_loader/
Dsysfs.c268 ssize_t ret_count; in firmware_data_read() local
273 ret_count = -ENODEV; in firmware_data_read()
277 ret_count = 0; in firmware_data_read()
283 ret_count = count; in firmware_data_read()
292 return ret_count; in firmware_data_read()
/linux-6.6.21/fs/exfat/
Dfatent.c424 struct exfat_chain *p_chain, unsigned int *ret_count) in exfat_count_num_clusters() argument
431 *ret_count = 0; in exfat_count_num_clusters()
436 *ret_count = p_chain->size; in exfat_count_num_clusters()
450 *ret_count = count; in exfat_count_num_clusters()
Dballoc.c241 int exfat_count_used_clusters(struct super_block *sb, unsigned int *ret_count) in exfat_count_used_clusters() argument
268 *ret_count = count; in exfat_count_used_clusters()
Dexfat_fs.h438 struct exfat_chain *p_chain, unsigned int *ret_count);
446 int exfat_count_used_clusters(struct super_block *sb, unsigned int *ret_count);
/linux-6.6.21/drivers/hid/i2c-hid/
Di2c-hid-core.c238 size_t ret_count; in i2c_hid_get_report() local
272 ret_count = le16_to_cpup((__le16 *)ihid->rawbuf); in i2c_hid_get_report()
275 if (ret_count <= sizeof(__le16)) in i2c_hid_get_report()
278 recv_len = min(recv_len, ret_count - sizeof(__le16)); in i2c_hid_get_report()
647 int ret_count; in i2c_hid_get_raw_report() local
663 ret_count = i2c_hid_get_report(ihid, in i2c_hid_get_raw_report()
667 if (ret_count > 0 && !report_id) in i2c_hid_get_raw_report()
668 ret_count++; in i2c_hid_get_raw_report()
670 return ret_count; in i2c_hid_get_raw_report()
/linux-6.6.21/drivers/platform/x86/dell/
Ddell_rbu.c481 ssize_t ret_count = 0; in data_read() local
486 ret_count = read_rbu_mono_data(buffer, pos, count); in data_read()
488 ret_count = read_packet_data(buffer, pos, count); in data_read()
493 return ret_count; in data_read()
/linux-6.6.21/fs/ocfs2/
Dextent_map.h36 u64 *ret_count, unsigned int *extent_flags);
Dextent_map.c659 u64 *ret_count, unsigned int *extent_flags) in ocfs2_extent_map_get_blocks() argument
685 if (ret_count) { in ocfs2_extent_map_get_blocks()
686 *ret_count = ocfs2_clusters_to_blocks(inode->i_sb, num_clusters); in ocfs2_extent_map_get_blocks()
687 *ret_count -= v_blkno & (u64)(bpc - 1); in ocfs2_extent_map_get_blocks()