Lines Matching +full:version +full:- +full:major

1 /* SPDX-License-Identifier: GPL-2.0 */
58 __field(u64, version)
63 __entry->dev = inode->i_sb->s_dev;
64 __entry->fileid = nfsi->fileid;
65 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
66 __entry->version = inode_peek_iversion_raw(inode);
70 "fileid=%02x:%02x:%llu fhandle=0x%08x version=%llu ",
71 MAJOR(__entry->dev), MINOR(__entry->dev),
72 (unsigned long long)__entry->fileid,
73 __entry->fhandle,
74 (unsigned long long)__entry->version
92 __field(u64, version)
100 __entry->error = error < 0 ? -error : 0;
101 __entry->dev = inode->i_sb->s_dev;
102 __entry->fileid = nfsi->fileid;
103 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
104 __entry->type = nfs_umode_to_dtype(inode->i_mode);
105 __entry->version = inode_peek_iversion_raw(inode);
106 __entry->size = i_size_read(inode);
107 __entry->nfsi_flags = nfsi->flags;
108 __entry->cache_validity = nfsi->cache_validity;
113 "type=%u (%s) version=%llu size=%lld "
115 -__entry->error, show_nfs_status(__entry->error),
116 MAJOR(__entry->dev), MINOR(__entry->dev),
117 (unsigned long long)__entry->fileid,
118 __entry->fhandle,
119 __entry->type,
120 show_fs_dirent_type(__entry->type),
121 (unsigned long long)__entry->version,
122 (long long)__entry->size,
123 __entry->cache_validity,
124 nfs_show_cache_validity(__entry->cache_validity),
125 __entry->nfsi_flags,
126 nfs_show_nfsi_flags(__entry->nfsi_flags)
180 __field(u64, version)
190 __entry->error = error < 0 ? -error : 0;
191 __entry->dev = inode->i_sb->s_dev;
192 __entry->fileid = nfsi->fileid;
193 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
194 __entry->type = nfs_umode_to_dtype(inode->i_mode);
195 __entry->version = inode_peek_iversion_raw(inode);
196 __entry->size = i_size_read(inode);
197 __entry->nfsi_flags = nfsi->flags;
198 __entry->cache_validity = nfsi->cache_validity;
199 __entry->mask = mask;
200 __entry->permitted = permitted;
205 "type=%u (%s) version=%llu size=%lld "
208 -__entry->error, show_nfs_status(__entry->error),
209 MAJOR(__entry->dev), MINOR(__entry->dev),
210 (unsigned long long)__entry->fileid,
211 __entry->fhandle,
212 __entry->type,
213 show_fs_dirent_type(__entry->type),
214 (unsigned long long)__entry->version,
215 (long long)__entry->size,
216 __entry->cache_validity,
217 nfs_show_cache_validity(__entry->cache_validity),
218 __entry->nfsi_flags,
219 nfs_show_nfsi_flags(__entry->nfsi_flags),
220 __entry->mask, __entry->permitted
236 __field(u64, version)
244 __entry->dev = inode->i_sb->s_dev;
245 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
246 __entry->fileid = nfsi->fileid;
247 __entry->version = inode_peek_iversion_raw(inode);
248 __entry->cur_size = i_size_read(inode);
249 __entry->new_size = new_size;
253 "fileid=%02x:%02x:%llu fhandle=0x%08x version=%llu cursize=%lld newsize=%lld",
254 MAJOR(__entry->dev), MINOR(__entry->dev),
255 (unsigned long long)__entry->fileid,
256 __entry->fhandle, __entry->version,
257 __entry->cur_size, __entry->new_size
287 __field(u64, version)
295 __entry->dev = inode->i_sb->s_dev;
296 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
297 __entry->fileid = nfsi->fileid;
298 __entry->version = inode_peek_iversion_raw(inode);
299 __entry->range_start = range_start;
300 __entry->range_end = range_end;
304 "fileid=%02x:%02x:%llu fhandle=0x%08x version=%llu "
306 MAJOR(__entry->dev), MINOR(__entry->dev),
307 (unsigned long long)__entry->fileid,
308 __entry->fhandle, __entry->version,
309 __entry->range_start, __entry->range_end
339 __field(u64, version)
350 __entry->dev = dir->i_sb->s_dev;
351 __entry->fileid = nfsi->fileid;
352 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
353 __entry->version = inode_peek_iversion_raw(dir);
355 memcpy(__entry->verifier, verifier,
358 memset(__entry->verifier, 0,
360 __entry->cookie = cookie;
361 __entry->index = page_index;
362 __entry->dtsize = dtsize;
366 "fileid=%02x:%02x:%llu fhandle=0x%08x version=%llu "
368 MAJOR(__entry->dev), MINOR(__entry->dev),
369 (unsigned long long)__entry->fileid, __entry->fhandle,
370 __entry->version, show_nfs4_verifier(__entry->verifier),
371 (unsigned long long)__entry->cookie, __entry->index,
372 __entry->dtsize
403 __string(name, dentry->d_name.name)
407 __entry->dev = dir->i_sb->s_dev;
408 __entry->dir = NFS_FILEID(dir);
409 __entry->flags = flags;
410 __assign_str(name, dentry->d_name.name);
415 __entry->flags,
416 show_fs_lookup_flags(__entry->flags),
417 MAJOR(__entry->dev), MINOR(__entry->dev),
418 (unsigned long long)__entry->dir,
447 __string(name, dentry->d_name.name)
451 __entry->dev = dir->i_sb->s_dev;
452 __entry->dir = NFS_FILEID(dir);
453 __entry->error = error < 0 ? -error : 0;
454 __entry->flags = flags;
455 __assign_str(name, dentry->d_name.name);
460 -__entry->error, show_nfs_status(__entry->error),
461 __entry->flags,
462 show_fs_lookup_flags(__entry->flags),
463 MAJOR(__entry->dev), MINOR(__entry->dev),
464 (unsigned long long)__entry->dir,
501 __string(name, ctx->dentry->d_name.name)
505 __entry->dev = dir->i_sb->s_dev;
506 __entry->dir = NFS_FILEID(dir);
507 __entry->flags = flags;
508 __entry->fmode = (__force unsigned long)ctx->mode;
509 __assign_str(name, ctx->dentry->d_name.name);
514 __entry->flags,
515 show_fs_fcntl_open_flags(__entry->flags),
516 show_fs_fmode_flags(__entry->fmode),
517 MAJOR(__entry->dev), MINOR(__entry->dev),
518 (unsigned long long)__entry->dir,
539 __string(name, ctx->dentry->d_name.name)
543 __entry->error = -error;
544 __entry->dev = dir->i_sb->s_dev;
545 __entry->dir = NFS_FILEID(dir);
546 __entry->flags = flags;
547 __entry->fmode = (__force unsigned long)ctx->mode;
548 __assign_str(name, ctx->dentry->d_name.name);
554 -__entry->error, show_nfs_status(__entry->error),
555 __entry->flags,
556 show_fs_fcntl_open_flags(__entry->flags),
557 show_fs_fmode_flags(__entry->fmode),
558 MAJOR(__entry->dev), MINOR(__entry->dev),
559 (unsigned long long)__entry->dir,
577 __string(name, dentry->d_name.name)
581 __entry->dev = dir->i_sb->s_dev;
582 __entry->dir = NFS_FILEID(dir);
583 __entry->flags = flags;
584 __assign_str(name, dentry->d_name.name);
589 __entry->flags,
590 show_fs_fcntl_open_flags(__entry->flags),
591 MAJOR(__entry->dev), MINOR(__entry->dev),
592 (unsigned long long)__entry->dir,
612 __string(name, dentry->d_name.name)
616 __entry->error = -error;
617 __entry->dev = dir->i_sb->s_dev;
618 __entry->dir = NFS_FILEID(dir);
619 __entry->flags = flags;
620 __assign_str(name, dentry->d_name.name);
625 -__entry->error, show_nfs_status(__entry->error),
626 __entry->flags,
627 show_fs_fcntl_open_flags(__entry->flags),
628 MAJOR(__entry->dev), MINOR(__entry->dev),
629 (unsigned long long)__entry->dir,
645 __string(name, dentry->d_name.name)
649 __entry->dev = dir->i_sb->s_dev;
650 __entry->dir = NFS_FILEID(dir);
651 __assign_str(name, dentry->d_name.name);
656 MAJOR(__entry->dev), MINOR(__entry->dev),
657 (unsigned long long)__entry->dir,
683 __string(name, dentry->d_name.name)
687 __entry->dev = dir->i_sb->s_dev;
688 __entry->dir = NFS_FILEID(dir);
689 __entry->error = error < 0 ? -error : 0;
690 __assign_str(name, dentry->d_name.name);
695 -__entry->error, show_nfs_status(__entry->error),
696 MAJOR(__entry->dev), MINOR(__entry->dev),
697 (unsigned long long)__entry->dir,
737 __string(name, dentry->d_name.name)
741 __entry->dev = inode->i_sb->s_dev;
742 __entry->fileid = NFS_FILEID(inode);
743 __entry->dir = NFS_FILEID(dir);
744 __assign_str(name, dentry->d_name.name);
749 MAJOR(__entry->dev), MINOR(__entry->dev),
750 __entry->fileid,
751 MAJOR(__entry->dev), MINOR(__entry->dev),
752 (unsigned long long)__entry->dir,
772 __string(name, dentry->d_name.name)
776 __entry->dev = inode->i_sb->s_dev;
777 __entry->fileid = NFS_FILEID(inode);
778 __entry->dir = NFS_FILEID(dir);
779 __entry->error = error < 0 ? -error : 0;
780 __assign_str(name, dentry->d_name.name);
785 -__entry->error, show_nfs_status(__entry->error),
786 MAJOR(__entry->dev), MINOR(__entry->dev),
787 __entry->fileid,
788 MAJOR(__entry->dev), MINOR(__entry->dev),
789 (unsigned long long)__entry->dir,
808 __string(old_name, old_dentry->d_name.name)
809 __string(new_name, new_dentry->d_name.name)
813 __entry->dev = old_dir->i_sb->s_dev;
814 __entry->old_dir = NFS_FILEID(old_dir);
815 __entry->new_dir = NFS_FILEID(new_dir);
816 __assign_str(old_name, old_dentry->d_name.name);
817 __assign_str(new_name, new_dentry->d_name.name);
822 MAJOR(__entry->dev), MINOR(__entry->dev),
823 (unsigned long long)__entry->old_dir,
825 MAJOR(__entry->dev), MINOR(__entry->dev),
826 (unsigned long long)__entry->new_dir,
855 __string(old_name, old_dentry->d_name.name)
857 __string(new_name, new_dentry->d_name.name)
861 __entry->dev = old_dir->i_sb->s_dev;
862 __entry->error = -error;
863 __entry->old_dir = NFS_FILEID(old_dir);
864 __entry->new_dir = NFS_FILEID(new_dir);
865 __assign_str(old_name, old_dentry->d_name.name);
866 __assign_str(new_name, new_dentry->d_name.name);
872 -__entry->error, show_nfs_status(__entry->error),
873 MAJOR(__entry->dev), MINOR(__entry->dev),
874 (unsigned long long)__entry->old_dir,
876 MAJOR(__entry->dev), MINOR(__entry->dev),
877 (unsigned long long)__entry->new_dir,
910 __dynamic_array(char, name, data->args.name.len + 1)
914 struct inode *dir = d_inode(data->dentry->d_parent);
915 size_t len = data->args.name.len;
916 __entry->dev = dir->i_sb->s_dev;
917 __entry->dir = NFS_FILEID(dir);
918 __entry->error = -error;
920 data->args.name.name, len);
926 -__entry->error, show_nfs_status(__entry->error),
927 MAJOR(__entry->dev), MINOR(__entry->dev),
928 (unsigned long long)__entry->dir,
945 __field(u64, version)
953 __entry->dev = inode->i_sb->s_dev;
954 __entry->fileid = nfsi->fileid;
955 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
956 __entry->version = inode_peek_iversion_raw(inode);
957 __entry->offset = folio_file_pos(folio);
958 __entry->count = nfs_folio_length(folio);
962 "fileid=%02x:%02x:%llu fhandle=0x%08x version=%llu "
964 MAJOR(__entry->dev), MINOR(__entry->dev),
965 (unsigned long long)__entry->fileid,
966 __entry->fhandle, __entry->version,
967 __entry->offset, __entry->count
993 __field(u64, version)
1001 __entry->dev = inode->i_sb->s_dev;
1002 __entry->fileid = nfsi->fileid;
1003 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
1004 __entry->version = inode_peek_iversion_raw(inode);
1005 __entry->offset = folio_file_pos(folio);
1006 __entry->count = nfs_folio_length(folio);
1007 __entry->ret = ret;
1011 "fileid=%02x:%02x:%llu fhandle=0x%08x version=%llu "
1013 MAJOR(__entry->dev), MINOR(__entry->dev),
1014 (unsigned long long)__entry->fileid,
1015 __entry->fhandle, __entry->version,
1016 __entry->offset, __entry->count, __entry->ret
1051 __field(u64, version)
1059 __entry->dev = inode->i_sb->s_dev;
1060 __entry->fileid = nfsi->fileid;
1061 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
1062 __entry->version = inode_peek_iversion_raw(inode);
1063 __entry->offset = pos;
1064 __entry->nr_pages = nr_pages;
1068 "fileid=%02x:%02x:%llu fhandle=0x%08x version=%llu offset=%lld nr_pages=%u",
1069 MAJOR(__entry->dev), MINOR(__entry->dev),
1070 (unsigned long long)__entry->fileid,
1071 __entry->fhandle, __entry->version,
1072 __entry->offset, __entry->nr_pages
1090 __field(u64, version)
1098 __entry->dev = inode->i_sb->s_dev;
1099 __entry->fileid = nfsi->fileid;
1100 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
1101 __entry->version = inode_peek_iversion_raw(inode);
1102 __entry->nr_pages = nr_pages;
1103 __entry->ret = ret;
1107 "fileid=%02x:%02x:%llu fhandle=0x%08x version=%llu nr_pages=%u ret=%d",
1108 MAJOR(__entry->dev), MINOR(__entry->dev),
1109 (unsigned long long)__entry->fileid,
1110 __entry->fhandle, __entry->version,
1111 __entry->nr_pages, __entry->ret
1131 const struct inode *inode = hdr->inode;
1133 const struct nfs_fh *fh = hdr->args.fh ?
1134 hdr->args.fh : &nfsi->fh;
1136 __entry->offset = hdr->args.offset;
1137 __entry->count = hdr->args.count;
1138 __entry->dev = inode->i_sb->s_dev;
1139 __entry->fileid = nfsi->fileid;
1140 __entry->fhandle = nfs_fhandle_hash(fh);
1146 MAJOR(__entry->dev), MINOR(__entry->dev),
1147 (unsigned long long)__entry->fileid,
1148 __entry->fhandle,
1149 (long long)__entry->offset, __entry->count
1173 const struct inode *inode = hdr->inode;
1175 const struct nfs_fh *fh = hdr->args.fh ?
1176 hdr->args.fh : &nfsi->fh;
1178 __entry->error = task->tk_status;
1179 __entry->offset = hdr->args.offset;
1180 __entry->arg_count = hdr->args.count;
1181 __entry->res_count = hdr->res.count;
1182 __entry->eof = hdr->res.eof;
1183 __entry->dev = inode->i_sb->s_dev;
1184 __entry->fileid = nfsi->fileid;
1185 __entry->fhandle = nfs_fhandle_hash(fh);
1190 "offset=%lld count=%u res=%u%s", __entry->error,
1191 MAJOR(__entry->dev), MINOR(__entry->dev),
1192 (unsigned long long)__entry->fileid,
1193 __entry->fhandle,
1194 (long long)__entry->offset, __entry->arg_count,
1195 __entry->res_count, __entry->eof ? " eof" : ""
1219 const struct inode *inode = hdr->inode;
1221 const struct nfs_fh *fh = hdr->args.fh ?
1222 hdr->args.fh : &nfsi->fh;
1224 __entry->error = task->tk_status;
1225 __entry->offset = hdr->args.offset;
1226 __entry->arg_count = hdr->args.count;
1227 __entry->res_count = hdr->res.count;
1228 __entry->eof = hdr->res.eof;
1229 __entry->dev = inode->i_sb->s_dev;
1230 __entry->fileid = nfsi->fileid;
1231 __entry->fhandle = nfs_fhandle_hash(fh);
1236 "offset=%lld count=%u res=%u%s", __entry->error,
1237 MAJOR(__entry->dev), MINOR(__entry->dev),
1238 (unsigned long long)__entry->fileid,
1239 __entry->fhandle,
1240 (long long)__entry->offset, __entry->arg_count,
1241 __entry->res_count, __entry->eof ? " eof" : ""
1267 const struct inode *inode = hdr->inode;
1269 const struct nfs_fh *fh = hdr->args.fh ?
1270 hdr->args.fh : &nfsi->fh;
1272 __entry->error = error;
1273 __entry->offset = hdr->args.offset;
1274 __entry->arg_count = hdr->args.count;
1275 __entry->res_count = hdr->res.count;
1276 __entry->dev = inode->i_sb->s_dev;
1277 __entry->fileid = nfsi->fileid;
1278 __entry->fhandle = nfs_fhandle_hash(fh);
1282 "offset=%lld count=%u res=%u pos=%llu", __entry->error,
1283 MAJOR(__entry->dev), MINOR(__entry->dev),
1284 (unsigned long long)__entry->fileid, __entry->fhandle,
1285 (long long)__entry->offset, __entry->arg_count, __entry->res_count,
1286 __entry->pos
1307 const struct inode *inode = hdr->inode;
1309 const struct nfs_fh *fh = hdr->args.fh ?
1310 hdr->args.fh : &nfsi->fh;
1312 __entry->offset = hdr->args.offset;
1313 __entry->count = hdr->args.count;
1314 __entry->stable = hdr->args.stable;
1315 __entry->dev = inode->i_sb->s_dev;
1316 __entry->fileid = nfsi->fileid;
1317 __entry->fhandle = nfs_fhandle_hash(fh);
1323 MAJOR(__entry->dev), MINOR(__entry->dev),
1324 (unsigned long long)__entry->fileid,
1325 __entry->fhandle,
1326 (long long)__entry->offset, __entry->count,
1327 show_nfs_stable_how(__entry->stable)
1352 const struct inode *inode = hdr->inode;
1354 const struct nfs_fh *fh = hdr->args.fh ?
1355 hdr->args.fh : &nfsi->fh;
1356 const struct nfs_writeverf *verf = hdr->res.verf;
1358 __entry->error = task->tk_status;
1359 __entry->offset = hdr->args.offset;
1360 __entry->arg_count = hdr->args.count;
1361 __entry->res_count = hdr->res.count;
1362 __entry->stable = verf->committed;
1363 memcpy(__entry->verifier,
1364 &verf->verifier,
1366 __entry->dev = inode->i_sb->s_dev;
1367 __entry->fileid = nfsi->fileid;
1368 __entry->fhandle = nfs_fhandle_hash(fh);
1374 "verifier=%s", __entry->error,
1375 MAJOR(__entry->dev), MINOR(__entry->dev),
1376 (unsigned long long)__entry->fileid,
1377 __entry->fhandle,
1378 (long long)__entry->offset, __entry->arg_count,
1379 __entry->res_count,
1380 show_nfs_stable_how(__entry->stable),
1381 show_nfs4_verifier(__entry->verifier)
1405 __entry->dev = inode->i_sb->s_dev;
1406 __entry->fileid = nfsi->fileid;
1407 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
1408 __entry->offset = req_offset(req);
1409 __entry->count = req->wb_bytes;
1410 __entry->error = error;
1415 "offset=%lld count=%u", __entry->error,
1416 MAJOR(__entry->dev), MINOR(__entry->dev),
1417 (unsigned long long)__entry->fileid,
1418 __entry->fhandle, __entry->offset,
1419 __entry->count
1452 const struct inode *inode = data->inode;
1454 const struct nfs_fh *fh = data->args.fh ?
1455 data->args.fh : &nfsi->fh;
1457 __entry->offset = data->args.offset;
1458 __entry->count = data->args.count;
1459 __entry->dev = inode->i_sb->s_dev;
1460 __entry->fileid = nfsi->fileid;
1461 __entry->fhandle = nfs_fhandle_hash(fh);
1467 MAJOR(__entry->dev), MINOR(__entry->dev),
1468 (unsigned long long)__entry->fileid,
1469 __entry->fhandle,
1470 (long long)__entry->offset, __entry->count
1493 const struct inode *inode = data->inode;
1495 const struct nfs_fh *fh = data->args.fh ?
1496 data->args.fh : &nfsi->fh;
1497 const struct nfs_writeverf *verf = data->res.verf;
1499 __entry->error = task->tk_status;
1500 __entry->offset = data->args.offset;
1501 __entry->stable = verf->committed;
1502 memcpy(__entry->verifier,
1503 &verf->verifier,
1505 __entry->dev = inode->i_sb->s_dev;
1506 __entry->fileid = nfsi->fileid;
1507 __entry->fhandle = nfs_fhandle_hash(fh);
1512 "offset=%lld stable=%s verifier=%s", __entry->error,
1513 MAJOR(__entry->dev), MINOR(__entry->dev),
1514 (unsigned long long)__entry->fileid,
1515 __entry->fhandle,
1516 (long long)__entry->offset,
1517 show_nfs_stable_how(__entry->stable),
1518 show_nfs4_verifier(__entry->verifier)
1548 const struct inode *inode = dreq->inode;
1550 const struct nfs_fh *fh = &nfsi->fh;
1552 __entry->dev = inode->i_sb->s_dev;
1553 __entry->fileid = nfsi->fileid;
1554 __entry->fhandle = nfs_fhandle_hash(fh);
1555 __entry->offset = dreq->io_start;
1556 __entry->count = dreq->count;
1557 __entry->bytes_left = dreq->bytes_left;
1558 __entry->error = dreq->error;
1559 __entry->flags = dreq->flags;
1565 __entry->error, MAJOR(__entry->dev),
1566 MINOR(__entry->dev),
1567 (unsigned long long)__entry->fileid,
1568 __entry->fhandle, __entry->offset,
1569 __entry->count, __entry->bytes_left,
1570 nfs_show_direct_req_flags(__entry->flags)
1606 __entry->error = error;
1607 __entry->dev = sb->s_dev;
1608 __entry->fileid = fileid;
1609 __entry->fhandle = nfs_fhandle_hash(fh);
1614 __entry->error,
1615 MAJOR(__entry->dev), MINOR(__entry->dev),
1616 (unsigned long long)__entry->fileid,
1617 __entry->fhandle
1652 __string(option, param->key)
1656 __assign_str(option, param->key);
1692 __field(int, version)
1695 xdr->rqst->rq_task->tk_client->cl_program->name)
1697 xdr->rqst->rq_task->tk_msg.rpc_proc->p_name)
1701 const struct rpc_rqst *rqstp = xdr->rqst;
1702 const struct rpc_task *task = rqstp->rq_task;
1704 __entry->task_id = task->tk_pid;
1705 __entry->client_id = task->tk_client->cl_clid;
1706 __entry->xid = be32_to_cpu(rqstp->rq_xid);
1707 __entry->version = task->tk_client->cl_vers;
1708 __entry->error = error;
1710 task->tk_client->cl_program->name);
1711 __assign_str(procedure, task->tk_msg.rpc_proc->p_name);
1716 __entry->task_id, __entry->client_id, __entry->xid,
1717 __get_str(program), __entry->version,
1718 __get_str(procedure), -__entry->error,
1719 show_nfs_status(__entry->error)