Searched refs:ret_count (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/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 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 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()
|
/openbmc/linux/fs/exfat/ |
H A D | fatent.c | 437 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 D | balloc.c | 247 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 D | exfat_fs.h | 438 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 D | i2c-hid-core.c | 232 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 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()
|
/openbmc/qemu/block/ |
H A D | file-win32.c | 79 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 D | extent_map.h | 36 u64 *ret_count, unsigned int *extent_flags);
|
H A D | extent_map.c | 659 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()
|