Home
last modified time | relevance | path

Searched refs:current_length (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/s390/char/
H A Dsclp_rw.c57 buffer->current_length = 0; in sclp_make_buffer()
123 buffer->current_length = 0; in sclp_initialize_mto()
155 buffer->char_sum += buffer->current_length; in sclp_finalize_mto()
158 buffer->current_length = 0; in sclp_finalize_mto()
234 buffer->current_length++; in sclp_write()
242 spaces = buffer->current_length; in sclp_write()
250 buffer->current_length = spaces; in sclp_write()
265 buffer->current_length > 0) { in sclp_write()
266 buffer->current_length--; in sclp_write()
289 buffer->current_length++; in sclp_write()
[all …]
H A Dsclp_rw.h71 int current_length; member
/openbmc/linux/drivers/usb/serial/
H A Dio_edgeport.c1965 __u16 current_length; in sram_write() local
1978 current_length = 64; 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()
2035 addr += current_length; in rom_write()
2036 data += current_length; in rom_write()
2054 __u16 current_length; in rom_read() local
2065 current_length = 64; in rom_read()
[all …]
/openbmc/qemu/block/
H A Dgluster.c1029 int64_t current_length; in qemu_gluster_do_truncate() local
1031 current_length = glfs_lseek(fd, 0, SEEK_END); in qemu_gluster_do_truncate()
1032 if (current_length < 0) { in qemu_gluster_do_truncate()
1037 if (current_length > offset && prealloc != PREALLOC_MODE_OFF) { in qemu_gluster_do_truncate()
1042 if (current_length == offset) { in qemu_gluster_do_truncate()
1049 if (glfs_fallocate(fd, 0, current_length, offset - current_length)) { in qemu_gluster_do_truncate()
1061 if (glfs_zerofill(fd, current_length, offset - current_length)) { in qemu_gluster_do_truncate()
H A Dblkio.c954 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 Dfile-posix.c2279 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 Dmac.h82 __le16 current_length; member
/openbmc/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_mac.h22 __le16 current_length; member
H A Dzd_mac.c906 cs->current_length = cpu_to_le16(r); in fill_ctrlset()
/openbmc/qemu/migration/
H A Drdma.c314 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()