Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A 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 …]
/openbmc/linux/drivers/base/firmware_loader/
H A 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()
/openbmc/linux/fs/exfat/
H A Dfatent.c437 struct exfat_chain *p_chain, unsigned int *ret_count) in exfat_count_num_clusters()
444 *ret_count = 0; in exfat_count_num_clusters()
449 *ret_count = p_chain->size; in exfat_count_num_clusters()
463 *ret_count = count;
434 exfat_count_num_clusters(struct super_block * sb,struct exfat_chain * p_chain,unsigned int * ret_count) exfat_count_num_clusters() argument
H A Dballoc.c247 int exfat_count_used_clusters(struct super_block *sb, unsigned int *ret_count) in exfat_count_used_clusters()
274 *ret_count = count; in exfat_trim_fs()
241 exfat_count_used_clusters(struct super_block * sb,unsigned int * ret_count) exfat_count_used_clusters() argument
H A 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);
/openbmc/linux/drivers/hid/i2c-hid/
H A Di2c-hid-core.c232 size_t ret_count; in i2c_hid_get_report() local
266 ret_count = le16_to_cpup((__le16 *)ihid->rawbuf); in i2c_hid_get_report()
269 if (ret_count <= sizeof(__le16)) in i2c_hid_get_report()
272 recv_len = min(recv_len, ret_count - sizeof(__le16)); in i2c_hid_get_report()
637 int ret_count; in i2c_hid_get_raw_report() local
653 ret_count = i2c_hid_get_report(ihid, in i2c_hid_get_raw_report()
657 if (ret_count > 0 && !report_id) in i2c_hid_get_raw_report()
658 ret_count++; in i2c_hid_get_raw_report()
660 return ret_count; in i2c_hid_get_raw_report()
/openbmc/linux/drivers/platform/x86/dell/
H A 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()
/openbmc/qemu/block/
H A Dfile-win32.c79 DWORD ret, ret_count, len; in handle_aiocb_rw() local
87 len, &ret_count, &ov); in handle_aiocb_rw()
90 len, &ret_count, &ov); in handle_aiocb_rw()
93 ret_count = 0; in handle_aiocb_rw()
95 if (ret_count != len) { in handle_aiocb_rw()
96 offset += ret_count; in handle_aiocb_rw()
/openbmc/linux/fs/ocfs2/
H A Dextent_map.h36 u64 *ret_count, unsigned int *extent_flags);
H A 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()