Searched refs:offset (Results 1 – 11 of 11) sorted by relevance
/io_uring/ |
A D | tctx.c | 224 int offset; in io_ring_add_registered_file() local 225 for (offset = start; offset < end; offset++) { in io_ring_add_registered_file() 226 offset = array_index_nospec(offset, IO_RINGFD_REG_MAX); in io_ring_add_registered_file() 231 return offset; in io_ring_add_registered_file() 240 int offset; in io_ring_add_registered_fd() local 250 if (offset < 0) in io_ring_add_registered_fd() 252 return offset; in io_ring_add_registered_fd() 294 if (reg.offset == -1U) { in io_ringfd_register() 302 start = reg.offset; in io_ringfd_register() 310 reg.offset = ret; in io_ringfd_register() [all …]
|
A D | rsrc.c | 26 u32 offset; member 252 i = up->offset + done; in __io_sqe_files_update() 489 up2.offset = up->offset; in io_files_update() 1073 size_t offset; in io_import_fixed() local 1103 offset -= bvec->bv_len; in io_import_fixed() 1106 offset &= folio_mask; in io_import_fixed() 1110 iter->iov_offset = offset; in io_import_fixed() 1353 size_t offset; in io_vec_fill_bvec() local 1373 offset &= folio_mask; in io_vec_fill_bvec() 1377 folio_size - offset); in io_vec_fill_bvec() [all …]
|
A D | zcrx.c | 926 u64 offset; in io_zcrx_queue_cqe() local 959 unsigned long offset; member 995 cc->offset += n; in io_copy_page() 1025 cc.offset = 0; in io_zcrx_copy_chunk() 1114 offset += copied; in io_zcrx_recv_skb() 1133 if (offset < end) { in io_zcrx_recv_skb() 1134 copy = end - offset; in io_zcrx_recv_skb() 1143 offset += ret; in io_zcrx_recv_skb() 1156 if (offset < end) { in io_zcrx_recv_skb() 1157 copy = end - offset; in io_zcrx_recv_skb() [all …]
|
A D | filetable.c | 122 int io_fixed_fd_remove(struct io_ring_ctx *ctx, unsigned int offset) in io_fixed_fd_remove() argument 128 if (offset >= ctx->file_table.data.nr) in io_fixed_fd_remove() 131 node = io_rsrc_node_lookup(&ctx->file_table.data, offset); in io_fixed_fd_remove() 134 io_reset_rsrc_node(ctx, &ctx->file_table.data, offset); in io_fixed_fd_remove() 135 io_file_bitmap_clear(&ctx->file_table, offset); in io_fixed_fd_remove()
|
A D | advise.c | 19 u64 offset; member 86 fa->offset = READ_ONCE(sqe->off); in io_fadvise_prep() 103 ret = vfs_fadvise(req->file, fa->offset, fa->len, fa->advice); in io_fadvise()
|
A D | memmap.c | 261 loff_t offset = pgoff << PAGE_SHIFT; in io_mmap_get_region() local 265 switch (offset & IORING_OFF_MMAP_MASK) { in io_mmap_get_region() 272 id = (offset & ~IORING_OFF_MMAP_MASK) >> IORING_OFF_PBUF_SHIFT; in io_mmap_get_region() 277 id = (offset & ~IORING_OFF_MMAP_MASK) >> IORING_OFF_ZCRX_SHIFT; in io_mmap_get_region() 325 long offset = vma->vm_pgoff << PAGE_SHIFT; in io_uring_mmap() local 336 switch (offset & IORING_OFF_MMAP_MASK) { in io_uring_mmap()
|
A D | openclose.h | 4 unsigned int offset);
|
A D | filetable.h | 16 int io_fixed_fd_remove(struct io_ring_ctx *ctx, unsigned int offset);
|
A D | mock_file.c | 160 static loff_t io_mock_llseek(struct file *file, loff_t offset, int whence) in io_mock_llseek() argument 164 return fixed_size_llseek(file, offset, whence, mf->size); in io_mock_llseek()
|
A D | openclose.c | 191 unsigned int offset) in __io_close_fixed() argument 196 ret = io_fixed_fd_remove(ctx, offset); in __io_close_fixed()
|
A D | io_uring.c | 3294 unsigned long offset = (uintptr_t)uarg; in io_get_ext_arg_reg() local 3297 if (unlikely(offset % sizeof(long))) in io_get_ext_arg_reg() 3301 if (unlikely(check_add_overflow(offset, size, &end) || in io_get_ext_arg_reg() 3305 offset = array_index_nospec(offset, ctx->cq_wait_size - size); in io_get_ext_arg_reg() 3306 return ctx->cq_wait_arg + offset; in io_get_ext_arg_reg()
|
Completed in 22 milliseconds