Searched refs:file_ptr (Results 1 – 9 of 9) sorted by relevance
51 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() local59 file_ptr |= io_file_get_flags(file); in io_fixed_file_set()60 file_slot->file_ptr = file_ptr; in io_fixed_file_set()
78 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()
81 unsigned long file_ptr; in io_msg_send_fd() local97 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()
219 unsigned long file_ptr; in __io_sync_cancel() local224 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()
469 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()
1852 unsigned long file_ptr; in io_file_get_fixed() local1859 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()
56 static void *file_ptr; /* current file pointer location */ variable85 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 …]
337 char *file_ptr; in ipc_flash_download_region() local341 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()
28 unsigned long file_ptr; member