Home
last modified time | relevance | path

Searched refs:file_ptr (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/io_uring/
Dfiletable.h51 return (struct file *) (slot->file_ptr & FFS_MASK); in io_file_from_index()
57 unsigned long file_ptr = (unsigned long) file; in io_fixed_file_set() local
59 file_ptr |= io_file_get_flags(file); in io_fixed_file_set()
60 file_slot->file_ptr = file_ptr; in io_fixed_file_set()
Dfiletable.c78 if (file_slot->file_ptr) { in io_install_fixed_file()
85 old_file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_install_fixed_file()
90 file_slot->file_ptr = 0; in io_install_fixed_file()
162 if (!file_slot->file_ptr) in io_fixed_fd_remove()
165 file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_fixed_fd_remove()
170 file_slot->file_ptr = 0; in io_fixed_fd_remove()
Dmsg_ring.c81 unsigned long file_ptr; in io_msg_send_fd() local
97 file_ptr = io_fixed_file_slot(&ctx->file_table, msg->src_fd)->file_ptr; in io_msg_send_fd()
98 if (!file_ptr) in io_msg_send_fd()
101 src_file = (struct file *) (file_ptr & FFS_MASK); in io_msg_send_fd()
Dcancel.c219 unsigned long file_ptr; in __io_sync_cancel() local
224 file_ptr = io_fixed_file_slot(&ctx->file_table, fd)->file_ptr; in __io_sync_cancel()
225 cd->file = (struct file *) (file_ptr & FFS_MASK); in __io_sync_cancel()
Drsrc.c469 if (file_slot->file_ptr) { in __io_sqe_files_update()
470 file = (struct file *)(file_slot->file_ptr & FFS_MASK); in __io_sqe_files_update()
474 file_slot->file_ptr = 0; in __io_sqe_files_update()
Dio_uring.c1852 unsigned long file_ptr; in io_file_get_fixed() local
1859 file_ptr = io_fixed_file_slot(&ctx->file_table, fd)->file_ptr; in io_file_get_fixed()
1860 file = (struct file *) (file_ptr & FFS_MASK); in io_file_get_fixed()
1861 file_ptr &= ~FFS_MASK; in io_file_get_fixed()
1863 req->flags |= (file_ptr << REQ_F_SUPPORT_NOWAIT_BIT); in io_file_get_fixed()
/Linux-v6.1/scripts/
Drecordmcount.c56 static void *file_ptr; /* current file pointer location */ variable
85 file_ptr = file_map + offset; in ulseek()
88 file_ptr += offset; in ulseek()
91 file_ptr = file_map + (sb.st_size - offset); in ulseek()
94 if (file_ptr < file_map) { in ulseek()
98 return file_ptr - file_map; in ulseek()
108 if (file_ptr + count >= file_end) { in uwrite()
109 off_t aoffset = (file_ptr + count) - file_end; in uwrite()
121 if (file_ptr < file_end) { in uwrite()
122 cnt = file_end - file_ptr; in uwrite()
[all …]
/Linux-v6.1/drivers/net/wwan/iosm/
Diosm_ipc_flash.c337 char *file_ptr; in ipc_flash_download_region() local
341 file_ptr = (void *)(fls_data + 1); in ipc_flash_download_region()
374 ret = ipc_imem_sys_devlink_write(ipc_devlink, file_ptr, in ipc_flash_download_region()
380 file_ptr += raw_len; in ipc_flash_download_region()
/Linux-v6.1/include/linux/
Dio_uring_types.h28 unsigned long file_ptr; member