Lines Matching +full:offset +full:- +full:x

1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2009-2021 Christoph Hellwig
10 * offset: byte offset into a subcomponent of a file operation
11 * pos: file offset, in bytes
36 __entry->dev = inode->i_sb->s_dev;
37 __entry->ino = inode->i_ino;
38 __entry->nr_pages = nr_pages;
40 TP_printk("dev %d:%d ino 0x%llx nr_pages %d",
41 MAJOR(__entry->dev), MINOR(__entry->dev),
42 __entry->ino,
43 __entry->nr_pages)
60 __field(loff_t, offset)
64 __entry->dev = inode->i_sb->s_dev;
65 __entry->ino = inode->i_ino;
66 __entry->size = i_size_read(inode);
67 __entry->offset = off;
68 __entry->length = len;
70 TP_printk("dev %d:%d ino 0x%llx size 0x%llx offset 0x%llx length 0x%llx",
71 MAJOR(__entry->dev), MINOR(__entry->dev),
72 __entry->ino,
73 __entry->size,
74 __entry->offset,
75 __entry->length)
123 __field(loff_t, offset)
130 __entry->dev = inode->i_sb->s_dev;
131 __entry->ino = inode->i_ino;
132 __entry->addr = iomap->addr;
133 __entry->offset = iomap->offset;
134 __entry->length = iomap->length;
135 __entry->type = iomap->type;
136 __entry->flags = iomap->flags;
137 __entry->bdev = iomap->bdev ? iomap->bdev->bd_dev : 0;
139 TP_printk("dev %d:%d ino 0x%llx bdev %d:%d addr 0x%llx offset 0x%llx "
140 "length 0x%llx type %s flags %s",
141 MAJOR(__entry->dev), MINOR(__entry->dev),
142 __entry->ino,
143 MAJOR(__entry->bdev), MINOR(__entry->bdev),
144 __entry->addr,
145 __entry->offset,
146 __entry->length,
147 __print_symbolic(__entry->type, IOMAP_TYPE_STRINGS),
148 __print_flags(__entry->flags, "|", IOMAP_F_FLAGS_STRINGS))
168 __field(loff_t, offset)
175 __entry->dev = inode->i_sb->s_dev;
176 __entry->ino = inode->i_ino;
177 __entry->pos = pos;
178 __entry->dirty_len = dirty_len;
179 __entry->addr = iomap->addr;
180 __entry->offset = iomap->offset;
181 __entry->length = iomap->length;
182 __entry->type = iomap->type;
183 __entry->flags = iomap->flags;
184 __entry->bdev = iomap->bdev ? iomap->bdev->bd_dev : 0;
186 TP_printk("dev %d:%d ino 0x%llx bdev %d:%d pos 0x%llx dirty len 0x%llx "
187 "addr 0x%llx offset 0x%llx length 0x%llx type %s flags %s",
188 MAJOR(__entry->dev), MINOR(__entry->dev),
189 __entry->ino,
190 MAJOR(__entry->bdev), MINOR(__entry->bdev),
191 __entry->pos,
192 __entry->dirty_len,
193 __entry->addr,
194 __entry->offset,
195 __entry->length,
196 __print_symbolic(__entry->type, IOMAP_TYPE_STRINGS),
197 __print_flags(__entry->flags, "|", IOMAP_F_FLAGS_STRINGS))
215 __entry->dev = iter->inode->i_sb->s_dev;
216 __entry->ino = iter->inode->i_ino;
217 __entry->pos = iter->pos;
218 __entry->length = iomap_length(iter);
219 __entry->processed = iter->processed;
220 __entry->flags = iter->flags;
221 __entry->ops = ops;
222 __entry->caller = caller;
224 …TP_printk("dev %d:%d ino 0x%llx pos 0x%llx length 0x%llx processed %lld flags %s (0x%x) ops %ps ca…
225 MAJOR(__entry->dev), MINOR(__entry->dev),
226 __entry->ino,
227 __entry->pos,
228 __entry->length,
229 __entry->processed,
230 __print_flags(__entry->flags, "|", IOMAP_FLAGS_STRINGS),
231 __entry->flags,
232 __entry->ops,
233 (void *)__entry->caller)
252 __entry->dev = file_inode(iocb->ki_filp)->i_sb->s_dev;
253 __entry->ino = file_inode(iocb->ki_filp)->i_ino;
254 __entry->isize = file_inode(iocb->ki_filp)->i_size;
255 __entry->pos = iocb->ki_pos;
256 __entry->count = iov_iter_count(iter);
257 __entry->done_before = done_before;
258 __entry->ki_flags = iocb->ki_flags;
259 __entry->dio_flags = dio_flags;
260 __entry->aio = !is_sync_kiocb(iocb);
262 …TP_printk("dev %d:%d ino 0x%lx size 0x%llx offset 0x%llx length 0x%zx done_before 0x%zx flags %s d…
263 MAJOR(__entry->dev), MINOR(__entry->dev),
264 __entry->ino,
265 __entry->isize,
266 __entry->pos,
267 __entry->count,
268 __entry->done_before,
269 __print_flags(__entry->ki_flags, "|", TRACE_IOCB_STRINGS),
270 __print_flags(__entry->dio_flags, "|", IOMAP_DIO_STRINGS),
271 __entry->aio)
288 __entry->dev = file_inode(iocb->ki_filp)->i_sb->s_dev;
289 __entry->ino = file_inode(iocb->ki_filp)->i_ino;
290 __entry->isize = file_inode(iocb->ki_filp)->i_size;
291 __entry->pos = iocb->ki_pos;
292 __entry->ki_flags = iocb->ki_flags;
293 __entry->aio = !is_sync_kiocb(iocb);
294 __entry->error = error;
295 __entry->ret = ret;
297 TP_printk("dev %d:%d ino 0x%lx size 0x%llx offset 0x%llx flags %s aio %d error %d ret %zd",
298 MAJOR(__entry->dev), MINOR(__entry->dev),
299 __entry->ino,
300 __entry->isize,
301 __entry->pos,
302 __print_flags(__entry->ki_flags, "|", TRACE_IOCB_STRINGS),
303 __entry->aio,
304 __entry->error,
305 __entry->ret)