Searched refs:size_read (Results 1 – 7 of 7) sorted by relevance
/openbmc/phosphor-mboxd/ |
H A D | mboxd_flash.c | 234 int32_t size_read; in copy_flash() local 246 size_read = read(context->fds[MTD_FD].fd, mem, in copy_flash() 248 if (size_read < 0) { in copy_flash() 254 size -= size_read; in copy_flash() 255 mem += size_read; in copy_flash() 256 } while (size && size_read); in copy_flash() 258 return size_read ? mem - start : -MBOX_R_SYSTEM_ERROR; in copy_flash()
|
/openbmc/hiomapd/file/ |
H A D | backend.c | 166 int32_t size_read; in file_copy() local 178 size_read = read(priv->fd, mem, min_u32(CHUNKSIZE, size)); in file_copy() 179 if (size_read < 0) { in file_copy() 185 size -= size_read; in file_copy() 186 mem += size_read; in file_copy() 187 } while (size && size_read); in file_copy() 189 return size_read ? mem - start : -EIO; in file_copy()
|
/openbmc/hiomapd/mtd/ |
H A D | backend.c | 266 int32_t size_read; in mtd_copy() local 278 size_read = read(priv->fd, mem, in mtd_copy() 280 if (size_read < 0) { in mtd_copy() 286 size -= size_read; in mtd_copy() 287 mem += size_read; in mtd_copy() 288 } while (size && size_read); in mtd_copy() 290 return size_read ? mem - start : -EIO; in mtd_copy()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | nvm.c | 181 u8 *data, u32 size_read) in iwl_nvm_read_section() argument 194 if ((size_read + offset + length) > in iwl_nvm_read_section() 302 u32 size_read = 0; in iwl_nvm_init() local 320 size_read); in iwl_nvm_init() 327 size_read += ret; in iwl_nvm_init() 371 if (!size_read) in iwl_nvm_init()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 1741 int size_read = 0; in mlx5e_get_module_info() local 1745 if (size_read < 2) in mlx5e_get_module_info() 1785 int size_read; in mlx5e_get_module_eeprom() local 1797 if (!size_read) in mlx5e_get_module_eeprom() 1801 if (size_read < 0) { in mlx5e_get_module_eeprom() 1804 return size_read; in mlx5e_get_module_eeprom() 1807 i += size_read; in mlx5e_get_module_eeprom() 1808 offset += size_read; in mlx5e_get_module_eeprom() 1822 int size_read; in mlx5e_get_module_eeprom_by_page() local 1839 if (!size_read) in mlx5e_get_module_eeprom_by_page() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | header.c | 4470 ssize_t size_read, padding, size = event->tracing_data.size; in perf_event__process_tracing_data() local 4489 size_read = trace_report(fd, &session->tevent, in perf_event__process_tracing_data() 4491 padding = PERF_ALIGN(size_read, sizeof(u64)) - size_read; in perf_event__process_tracing_data() 4505 if (size_read + padding != size) { in perf_event__process_tracing_data() 4512 return size_read + padding; in perf_event__process_tracing_data()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 467 static ssize_t size_read(struct file *filp, char __user *buf, size_t count, in size_read() function 485 .read = size_read,
|