Searched refs:ret_count (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | hugetlb-read-hwpoison.c | 74 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 119 if (ret_count == 0) { in read_hugepage_filemap() 122 } else if (ret_count < 0) { in read_hugepage_filemap() 127 if (!verify_chunk(buf, ret_count, val)) in read_hugepage_filemap() [all …]
|
| /linux-6.15/drivers/base/firmware_loader/ |
| H A D | sysfs.c | 268 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.15/drivers/hid/i2c-hid/ |
| H A D | i2c-hid-core.c | 262 size_t ret_count; in i2c_hid_get_report() local 298 ret_count = le16_to_cpup((__le16 *)ihid->rawbuf); in i2c_hid_get_report() 301 if (ret_count <= sizeof(__le16)) in i2c_hid_get_report() 304 recv_len = min(recv_len, ret_count - sizeof(__le16)); in i2c_hid_get_report() 663 int ret_count; in i2c_hid_get_raw_report() local 679 ret_count = i2c_hid_get_report(ihid, in i2c_hid_get_raw_report() 683 if (ret_count > 0 && !report_id) in i2c_hid_get_raw_report() 684 ret_count++; in i2c_hid_get_raw_report() 686 return ret_count; in i2c_hid_get_raw_report()
|
| /linux-6.15/fs/exfat/ |
| H A D | fatent.c | 466 struct exfat_chain *p_chain, unsigned int *ret_count) in exfat_count_num_clusters() argument 473 *ret_count = 0; in exfat_count_num_clusters() 478 *ret_count = p_chain->size; in exfat_count_num_clusters() 492 *ret_count = count; in exfat_count_num_clusters()
|
| H A D | balloc.c | 217 int exfat_count_used_clusters(struct super_block *sb, unsigned int *ret_count) in exfat_count_used_clusters() argument 243 *ret_count = count; in exfat_count_used_clusters()
|
| H A D | exfat_fs.h | 451 struct exfat_chain *p_chain, unsigned int *ret_count); 459 int exfat_count_used_clusters(struct super_block *sb, unsigned int *ret_count);
|
| /linux-6.15/drivers/platform/x86/dell/ |
| H A D | dell_rbu.c | 481 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.15/fs/ocfs2/ |
| H A D | extent_map.h | 36 u64 *ret_count, unsigned int *extent_flags);
|
| H A D | extent_map.c | 669 u64 *ret_count, unsigned int *extent_flags) in ocfs2_extent_map_get_blocks() argument 695 if (ret_count) { in ocfs2_extent_map_get_blocks() 696 *ret_count = ocfs2_clusters_to_blocks(inode->i_sb, num_clusters); in ocfs2_extent_map_get_blocks() 697 *ret_count -= v_blkno & (u64)(bpc - 1); in ocfs2_extent_map_get_blocks()
|