Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/hid/i2c-hid/
Di2c-hid.c558 size_t ret_count, ask_count; in i2c_hid_get_raw_report() local
574 ret_count = ihid->rawbuf[0] | (ihid->rawbuf[1] << 8); in i2c_hid_get_raw_report()
576 if (ret_count <= 2) in i2c_hid_get_raw_report()
579 ret_count = min(ret_count, ask_count); in i2c_hid_get_raw_report()
582 count = min(count, ret_count - 2); in i2c_hid_get_raw_report()
/linux-4.1.27/fs/ocfs2/
Dextent_map.h51 u64 *ret_count, unsigned int *extent_flags);
Dextent_map.c672 u64 *ret_count, unsigned int *extent_flags) in ocfs2_extent_map_get_blocks() argument
698 if (ret_count) { in ocfs2_extent_map_get_blocks()
699 *ret_count = ocfs2_clusters_to_blocks(inode->i_sb, num_clusters); in ocfs2_extent_map_get_blocks()
700 *ret_count -= v_blkno & (u64)(bpc - 1); in ocfs2_extent_map_get_blocks()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_sysfs.c558 ssize_t ret_count = 0; in error_state_read() local
574 ret_count = count < error_str.bytes ? count : error_str.bytes; in error_state_read()
576 memcpy(buf, error_str.buf, ret_count); in error_state_read()
581 return ret ?: ret_count; in error_state_read()
Di915_debugfs.c1001 ssize_t ret_count = 0; in i915_error_state_read() local
1012 ret_count = simple_read_from_buffer(userbuf, count, &tmp_pos, in i915_error_state_read()
1016 if (ret_count < 0) in i915_error_state_read()
1017 ret = ret_count; in i915_error_state_read()
1019 *pos = error_str.start + ret_count; in i915_error_state_read()
1022 return ret ?: ret_count; in i915_error_state_read()
/linux-4.1.27/drivers/base/
Dfirmware_class.c706 ssize_t ret_count; in firmware_data_read() local
711 ret_count = -ENODEV; in firmware_data_read()
715 ret_count = 0; in firmware_data_read()
721 ret_count = count; in firmware_data_read()
740 return ret_count; in firmware_data_read()