Home
last modified time | relevance | path

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

/linux/scripts/
H A Drecordmcount.c64 static void *file_ptr; /* current file pointer location */ variable
93 file_ptr = file_map + offset; in ulseek()
96 file_ptr += offset; in ulseek()
99 file_ptr = file_map + (sb.st_size - offset); in ulseek()
102 if (file_ptr < file_map) { in ulseek()
106 return file_ptr - file_map; in ulseek()
117 if (file_ptr + count >= file_end) { in uwrite()
118 off_t aoffset = (file_ptr + count) - file_end; in uwrite()
133 if (file_ptr < file_end) { in uwrite()
134 cnt = file_end - file_ptr; in uwrite()
[all …]
/linux/io_uring/
H A Dfiletable.c80 if (file_slot->file_ptr) { in io_install_fixed_file()
86 file_slot->file_ptr = 0; in io_install_fixed_file()
147 if (!file_slot->file_ptr) in io_fixed_fd_remove()
155 file_slot->file_ptr = 0; in io_fixed_fd_remove()
H A Dfiletable.h48 return (slot->file_ptr & ~FFS_MASK) << REQ_F_SUPPORT_NOWAIT_BIT; in io_slot_flags()
53 return (struct file *)(slot->file_ptr & FFS_MASK); in io_slot_file()
65 file_slot->file_ptr = (unsigned long)file | in io_fixed_file_set()
H A Drsrc.c365 if (file_slot->file_ptr) { in __io_sqe_files_update()
370 file_slot->file_ptr = 0; in __io_sqe_files_update()
/linux/drivers/net/wwan/iosm/
H A 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/include/linux/
H A Dio_uring_types.h60 unsigned long file_ptr; member