Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/firmware/
Ddell_rbu.c529 ssize_t ret_count = 0; in read_rbu_data() local
534 ret_count = read_rbu_mono_data(buffer, pos, count); in read_rbu_data()
536 ret_count = read_packet_data(buffer, pos, count); in read_rbu_data()
541 return ret_count; in read_rbu_data()
/linux-4.4.14/fs/ocfs2/
Dextent_map.h51 u64 *ret_count, unsigned int *extent_flags);
Dextent_map.c674 u64 *ret_count, unsigned int *extent_flags) in ocfs2_extent_map_get_blocks() argument
700 if (ret_count) { in ocfs2_extent_map_get_blocks()
701 *ret_count = ocfs2_clusters_to_blocks(inode->i_sb, num_clusters); in ocfs2_extent_map_get_blocks()
702 *ret_count -= v_blkno & (u64)(bpc - 1); in ocfs2_extent_map_get_blocks()
/linux-4.4.14/drivers/hid/i2c-hid/
Di2c-hid.c560 size_t ret_count, ask_count; in i2c_hid_get_raw_report() local
576 ret_count = ihid->rawbuf[0] | (ihid->rawbuf[1] << 8); in i2c_hid_get_raw_report()
578 if (ret_count <= 2) in i2c_hid_get_raw_report()
581 ret_count = min(ret_count, ask_count); in i2c_hid_get_raw_report()
584 count = min(count, ret_count - 2); in i2c_hid_get_raw_report()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_sysfs.c528 ssize_t ret_count = 0; in error_state_read() local
544 ret_count = count < error_str.bytes ? count : error_str.bytes; in error_state_read()
546 memcpy(buf, error_str.buf, ret_count); in error_state_read()
551 return ret ?: ret_count; in error_state_read()
Di915_debugfs.c1054 ssize_t ret_count = 0; in i915_error_state_read() local
1065 ret_count = simple_read_from_buffer(userbuf, count, &tmp_pos, in i915_error_state_read()
1069 if (ret_count < 0) in i915_error_state_read()
1070 ret = ret_count; in i915_error_state_read()
1072 *pos = error_str.start + ret_count; in i915_error_state_read()
1075 return ret ?: ret_count; in i915_error_state_read()
/linux-4.4.14/drivers/base/
Dfirmware_class.c725 ssize_t ret_count; in firmware_data_read() local
730 ret_count = -ENODEV; in firmware_data_read()
734 ret_count = 0; in firmware_data_read()
740 ret_count = count; in firmware_data_read()
759 return ret_count; in firmware_data_read()