Searched refs:nwrite (Results 1 – 9 of 9) sorted by relevance
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | utils.cpp | 104 int nwrite = 0; in writeToUnixSocket() local 106 for (i = 0; i < blockSize; i = i + nwrite) in writeToUnixSocket() 128 nwrite = 0; in writeToUnixSocket() 133 nwrite = write(sock, buf + i, blockSize - i); in writeToUnixSocket() 134 if (nwrite < 0) in writeToUnixSocket() 141 nwrite = 0; in writeToUnixSocket() 153 nwrite = 0; in writeToUnixSocket()
|
/openbmc/linux/drivers/misc/c2port/ |
H A D | core.c | 741 u8 status, nwrite = 128; in __c2port_write_flash_data() local 744 if (nwrite > count) in __c2port_write_flash_data() 745 nwrite = count; in __c2port_write_flash_data() 746 if (ops->block_size * ops->blocks_num - offset < nwrite) in __c2port_write_flash_data() 747 nwrite = ops->block_size * ops->blocks_num - offset; in __c2port_write_flash_data() 792 c2port_write_dr(dev, nwrite); in __c2port_write_flash_data() 812 for (i = 0; i < nwrite; i++) { in __c2port_write_flash_data() 828 return nwrite; in __c2port_write_flash_data()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | qsfp.c | 360 int nwrite; in qsfp_write() local 386 nwrite = len - count; in qsfp_write() 388 if (((addr % QSFP_RW_BOUNDARY) + nwrite) > QSFP_RW_BOUNDARY) in qsfp_write() 389 nwrite = QSFP_RW_BOUNDARY - (addr % QSFP_RW_BOUNDARY); in qsfp_write() 392 offset, bp + count, nwrite); in qsfp_write() 398 count += nwrite; in qsfp_write() 399 addr += nwrite; in qsfp_write()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-npcm7xx.c | 821 if (nwrite > 0) { in npcm_i2c_set_fifo() 822 if (nwrite > bus->data->fifo_size) in npcm_i2c_set_fifo() 826 iowrite8(nwrite, bus->reg + NPCM_I2CTXF_CTL); in npcm_i2c_set_fifo() 986 if (nwrite == 0) in npcm_i2c_slave_xmit() 993 npcm_i2c_write_fifo_slave(bus, nwrite); in npcm_i2c_slave_xmit() 2039 u8 slave_addr, u16 nwrite, u16 nread, in npcm_i2c_master_start_xmit() argument 2049 bus->wr_size = nwrite; in npcm_i2c_master_start_xmit() 2061 if (nread && !nwrite) in npcm_i2c_master_start_xmit() 2088 u16 nwrite, nread; in npcm_i2c_master_xfer() local 2105 nwrite = 0; in npcm_i2c_master_xfer() [all …]
|
/openbmc/linux/fs/vboxsf/ |
H A D | file.c | 279 u32 nwrite = PAGE_SIZE; in vboxsf_writepage() local 284 nwrite = size & ~PAGE_MASK; in vboxsf_writepage() 292 off, &nwrite, buf); in vboxsf_writepage()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/open-vm-tools/open-vm-tools/ |
H A D | 0012-hgfsServerLinux-Consider-64bit-time_t-possibility.patch | 34 - LOG(4, "access: %"FMTTIMET"d/%"FMT64"u \nwrite: %"FMTTIMET"d/%"FMT64"u \n"
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | sev-dev.c | 249 ssize_t nwrite; in sev_write_init_ex_file() local 266 nwrite = kernel_write(fp, sev_init_ex_buffer, NV_LENGTH, &offset); in sev_write_init_ex_file() 270 if (nwrite != NV_LENGTH) { in sev_write_init_ex_file() 273 NV_LENGTH, nwrite); in sev_write_init_ex_file()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_redirect.c | 1063 int direction, nread, nwrite; in tun_relay_loop() local 1081 nwrite = write(direction == SRC_TO_TARGET ? target_fd : src_fd, buf, nread); in tun_relay_loop() 1082 if (nwrite != nread) { in tun_relay_loop()
|
/openbmc/linux/drivers/firmware/cirrus/ |
H A D | cs_dsp.c | 3358 int nwrite, i; in cs_dsp_chunk_write() local 3360 nwrite = min(CS_DSP_DATA_WORD_BITS - ch->cachebits, nbits); in cs_dsp_chunk_write() 3362 ch->cache <<= nwrite; in cs_dsp_chunk_write() 3363 ch->cache |= val >> (nbits - nwrite); in cs_dsp_chunk_write() 3364 ch->cachebits += nwrite; in cs_dsp_chunk_write() 3365 nbits -= nwrite; in cs_dsp_chunk_write()
|