Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/fs/
Dio_uring.c219 unsigned long file_ptr; member
6828 return (struct file *) (slot->file_ptr & FFS_MASK); in io_file_from_index()
6833 unsigned long file_ptr = (unsigned long) file; in io_fixed_file_set() local
6836 file_ptr |= FFS_ASYNC_READ; in io_fixed_file_set()
6838 file_ptr |= FFS_ASYNC_WRITE; in io_fixed_file_set()
6840 file_ptr |= FFS_ISREG; in io_fixed_file_set()
6841 file_slot->file_ptr = file_ptr; in io_fixed_file_set()
6848 unsigned long file_ptr; in io_file_get_fixed() local
6853 file_ptr = io_fixed_file_slot(&ctx->file_table, fd)->file_ptr; in io_file_get_fixed()
6854 file = (struct file *) (file_ptr & FFS_MASK); in io_file_get_fixed()
[all …]