Searched refs:current_length (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/s390/char/ |
H A D | sclp_rw.c | 57 buffer->current_length = 0; in sclp_make_buffer() 123 buffer->current_length = 0; in sclp_initialize_mto() 144 msg->header.length += buffer->current_length; in sclp_finalize_mto() 145 msg->mdb.header.length += buffer->current_length; in sclp_finalize_mto() 146 msg->mdb.mto.length += buffer->current_length; in sclp_finalize_mto() 155 buffer->char_sum += buffer->current_length; in sclp_finalize_mto() 158 buffer->current_length = 0; in sclp_finalize_mto() 230 if (buffer->current_length >= buffer->columns) in sclp_write() 234 buffer->current_length++; in sclp_write() 235 } while (buffer->current_length % buffer->htab); in sclp_write() [all …]
|
H A D | sclp_rw.h | 71 int current_length; member
|
/openbmc/linux/drivers/usb/serial/ |
H A D | io_edgeport.c | 1965 __u16 current_length; in sram_write() local 1978 current_length = 64; in sram_write() 1980 current_length = length; in sram_write() 1983 memcpy(transfer_buffer, data, current_length); in sram_write() 1988 current_length, 300); in sram_write() 1991 length -= current_length; in sram_write() 1992 addr += current_length; in sram_write() 1993 data += current_length; in sram_write() 2012 __u16 current_length; in rom_write() local 2023 current_length = 64; in rom_write() [all …]
|
/openbmc/qemu/block/ |
H A D | gluster.c | 1028 int64_t current_length; in qemu_gluster_do_truncate() local 1030 current_length = glfs_lseek(fd, 0, SEEK_END); in qemu_gluster_do_truncate() 1031 if (current_length < 0) { in qemu_gluster_do_truncate() 1036 if (current_length > offset && prealloc != PREALLOC_MODE_OFF) { in qemu_gluster_do_truncate() 1041 if (current_length == offset) { in qemu_gluster_do_truncate() 1048 if (glfs_fallocate(fd, 0, current_length, offset - current_length)) { in qemu_gluster_do_truncate() 1060 if (glfs_zerofill(fd, current_length, offset - current_length)) { in qemu_gluster_do_truncate()
|
H A D | blkio.c | 954 int64_t current_length; in blkio_truncate() local 962 current_length = blkio_co_getlength(bs); in blkio_truncate() 964 if (offset > current_length) { in blkio_truncate() 967 } else if (exact && offset != current_length) { in blkio_truncate()
|
H A D | file-posix.c | 2279 int64_t current_length = 0; in handle_aiocb_truncate() local 2293 current_length = st.st_size; in handle_aiocb_truncate() 2294 if (current_length > offset && prealloc != PREALLOC_MODE_OFF) { in handle_aiocb_truncate() 2307 if (offset != current_length) { in handle_aiocb_truncate() 2308 result = -posix_fallocate(fd, current_length, in handle_aiocb_truncate() 2309 offset - current_length); in handle_aiocb_truncate() 2314 } else if (current_length == 0) { in handle_aiocb_truncate() 2333 int64_t num = 0, left = offset - current_length; in handle_aiocb_truncate() 2349 seek_result = lseek(fd, current_length, SEEK_SET); in handle_aiocb_truncate() 2386 } else if (current_length == 0 && offset > current_length) { in handle_aiocb_truncate() [all …]
|
/openbmc/linux/drivers/net/wireless/purelifi/plfxlc/ |
H A D | mac.h | 82 __le16 current_length; member
|
/openbmc/linux/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_mac.h | 22 __le16 current_length; member
|
H A D | zd_mac.c | 906 cs->current_length = cpu_to_le16(r); in fill_ctrlset()
|
/openbmc/qemu/migration/ |
H A D | rdma.c | 314 uint64_t current_length; member 2235 if (!rdma->current_length) { in qemu_rdma_write_flush() 2240 rdma->current_length, errp); in qemu_rdma_write_flush() 2251 rdma->current_length = 0; in qemu_rdma_write_flush() 2276 if (rdma->current_length == 0) { in qemu_rdma_buffer_mergeable() 2283 if (offset != (rdma->current_addr + rdma->current_length)) { in qemu_rdma_buffer_mergeable() 2325 rdma->current_length = 0; in qemu_rdma_write() 2335 rdma->current_length += len; in qemu_rdma_write() 2338 if (rdma->current_length >= RDMA_MERGE_MAX) { in qemu_rdma_write()
|