Home | History | Annotate | Download | only in strace

Lines Matching defs:args

602 		struct btrfs_ioctl_defrag_range_args args;
606 if (umove_or_printaddr(tcp, arg, &args))
609 tprintf("{start=%" PRIu64 ", len=", (uint64_t)args.start);
611 tprintf("%" PRIu64, (uint64_t) args.len);
612 if (args.len == UINT64_MAX)
616 printflags64(btrfs_defrag_flags, args
619 args.extent_thresh);
620 printxval(btrfs_compress_types, args.compress_type,
627 struct btrfs_ioctl_dev_info_args args;
637 if (umove_or_printaddr(tcp, arg, &args))
641 valid = btrfs_unparse_uuid(args.uuid, uuid);
643 tprintf("devid=%" PRI__u64, args.devid);
653 args.bytes_used, args.total_bytes);
654 print_quoted_string((const char *)args.path, sizeof(args.path),
661 struct_btrfs_ioctl_dev_replace_args args;
670 if (umove_or_printaddr(tcp, arg, &args))
675 printxval64(btrfs_dev_replace_cmds, args.cmd,
677 if (args.cmd == BTRFS_IOCTL_DEV_REPLACE_CMD_START) {
682 (uint64_t) args.start.srcdevid,
683 (uint64_t) args.start.cont_reading_from_srcdev_mode);
685 str = (const char*) args.start.srcdev_name;
687 sizeof(args.start.srcdev_name),
690 str = (const char*) args.start.tgtdev_name;
692 sizeof(args.start.tgtdev_name),
702 printxval64(btrfs_dev_replace_results, args.result,
704 if (args.cmd == BTRFS_IOCTL_DEV_REPLACE_CMD_STATUS) {
709 args.status.replace_state,
712 (uint64_t) args.status.progress_1000);
713 if (args.status.progress_1000 <= 1000)
715 (uint64_t) args.status.progress_1000 / 10,
716 (uint64_t) args.status.progress_1000 % 10);
721 time = args.status.time_started;
725 (uint64_t) args.status.time_started, buf);
727 time = args.status.time_stopped;
731 (uint64_t) args.status.time_stopped, buf);
735 (uint64_t) args.status.num_write_errors,
736 (uint64_t) args.status.num_uncorrectable_read_errors);
796 struct btrfs_ioctl_fs_info_args args;
807 if (umove_or_printaddr(tcp, arg, &args))
811 nodesize = args.nodesize,
812 sectorsize = args.sectorsize,
813 clone_alignment = args.clone_alignment;
815 reserved32 = (__u32 *) (void *) args.reserved;
820 btrfs_unparse_uuid(args.fsid, uuid);
826 args.max_id, args.num_devices, uuid,
833 struct btrfs_ioctl_get_dev_stats args;
842 if (umove_or_printaddr(tcp, arg, &args))
848 tprintf("devid=%" PRI__u64 ", ", args.devid);
850 tprintf("nr_items=%" PRI__u64 ", flags=", args.nr_items);
851 printflags64(btrfs_dev_stats_flags, args.flags,
865 for (i = 0; i < args.nr_items; i++) {
868 if (i >= ARRAY_SIZE(args.values)) {
875 tprintf("%" PRI__u64, args.values[i]);
882 struct btrfs_ioctl_ino_lookup_args args;
891 if (umove_or_printaddr(tcp, arg, &args))
896 if (args.treeid == 0)
900 btrfs_print_objectid(args.treeid);
902 btrfs_print_objectid(args.objectid);
910 btrfs_print_objectid(args.treeid);
915 print_quoted_string(args.name, sizeof(args.name),
922 struct btrfs_ioctl_ino_path_args args;
931 if (umove_or_printaddr(tcp, arg, &args))
938 args.inum, args.size);
939 tprintf(", fspath=0x%" PRI__x64 "}", args.fspath);
944 btrfs_print_ino_path_container(tcp, args.fspath);
951 struct btrfs_ioctl_logical_ino_args args;
960 if (umove_or_printaddr(tcp, arg, &args))
967 args.logical, args.size);
968 tprintf(", inodes=0x%" PRI__x64 "}", args.inodes);
973 btrfs_print_logical_ino_container(tcp, args.inodes);
980 struct btrfs_ioctl_qgroup_assign_args args;
983 if (umove_or_printaddr(tcp, arg, &args))
988 args.assign, args.src, args.dst);
993 struct btrfs_ioctl_qgroup_create_args args;
996 if (umove_or_printaddr(tcp, arg, &args))
1000 args.create, args.qgroupid);
1005 struct btrfs_ioctl_qgroup_limit_args args;
1011 if (umove_or_printaddr(tcp, arg, &args))
1014 tprintf("{qgroupid=%" PRI__u64 ", lim=", args.qgroupid);
1015 btrfs_print_qgroup_limit(&args.lim);
1021 struct btrfs_ioctl_quota_ctl_args args;
1024 if (umove_or_printaddr(tcp, arg, &args))
1027 printxval64(btrfs_qgroup_ctl_cmds, args.cmd,
1035 struct btrfs_ioctl_quota_rescan_args args;
1038 if (umove_or_printaddr(tcp, arg, &args))
1041 tprintf("{flags=%" PRIu64 "}", (uint64_t) args.flags);
1046 struct btrfs_ioctl_quota_rescan_args args;
1052 if (umove_or_printaddr(tcp, arg, &args))
1055 tprintf("{flags=%" PRIu64 ", progress=", (uint64_t) args.flags);
1056 btrfs_print_objectid(args.progress);
1062 struct_btrfs_ioctl_received_subvol_args args;
1072 if (umove_or_printaddr(tcp, arg, &args))
1076 btrfs_unparse_uuid((unsigned char *)args.uuid, uuid);
1079 "}", uuid, (uint64_t) args.stransid,
1080 (uint64_t) args.stime.sec, args.stime.nsec,
1081 (uint64_t) args.flags);
1085 (uint64_t) args.rtransid, (uint64_t) args.rtime.sec,
1086 args.rtime.nsec);
1092 struct btrfs_ioctl_scrub_args args;
1101 if (umove_or_printaddr(tcp, arg, &args))
1105 tprintf("{devid=%" PRI__u64, args.devid);
1108 args.start);
1109 tprintf("%" PRI__u64, args.end);
1110 if (args.end == UINT64_MAX)
1113 printflags64(btrfs_scrub_flags, args.flags,
1134 args.progress.data_extents_scrubbed,
1135 args.progress.tree_extents_scrubbed,
1136 args.progress.data_bytes_scrubbed,
1137 args.progress.tree_bytes_scrubbed,
1138 args.progress.read_errors,
1139 args.progress.csum_errors,
1140 args.progress.verify_errors,
1141 args.progress.no_csum,
1142 args.progress.csum_discards,
1143 args.progress.super_errors,
1144 args.progress.malloc_errors,
1145 args.progress.uncorrectable_errors,
1146 args.progress.corrected_errors,
1147 args.progress.last_physical,
1148 args.progress.unverified_errors);
1153 struct btrfs_ioctl_search_args args;
1163 if (umove_or_printaddr(tcp, arg, &args))
1167 btrfs_print_tree_search(tcp, &args.key, arg + buf_offset,
1168 sizeof(args.buf), false);
1175 struct btrfs_ioctl_search_args_v2 args;
1184 if (!umove_or_printaddr(tcp, arg, &args))
1186 (uint64_t)args.buf_size);
1193 if (umove_or_printaddr(tcp, arg, &args))
1197 btrfs_print_tree_search(tcp, &args.key, arg + buf_offset,
1198 args.buf_size, true);
1205 struct_btrfs_ioctl_send_args args;
1208 if (umove_or_printaddr(tcp, arg, &args))
1212 printfd(tcp, args.send_fd);
1214 (uint64_t) args.clone_sources_count);
1220 print_array(tcp, ptr_to_kulong(args.clone_sources),
1221 args.clone_sources_count,
1227 btrfs_print_objectid(args.parent_root);
1229 printflags64(btrfs_send_flags, args.flags,
1236 struct btrfs_ioctl_space_args args;
1245 if (umove_or_printaddr(tcp, arg, &args))
1250 tprintf("space_slots=%" PRI__u64 "}", args.space_slots);
1254 tprintf("total_spaces=%" PRI__u64, args.total_spaces);
1256 if (args.space_slots == 0 && args.total_spaces) {
1267 print_array(tcp, arg + offsetof(typeof(args), spaces),
1268 args.total_spaces,
1284 struct btrfs_ioctl_vol_args args;
1287 if (umove_or_printaddr(tcp, arg, &args))
1291 printfd(tcp, args.fd);
1293 print_quoted_string(args.name, sizeof(args.name),
1301 struct_btrfs_ioctl_vol_args_v2 args;
1310 if (umove_or_printaddr(tcp, arg, &args))
1315 printfd(tcp, args.fd);
1317 printflags64(btrfs_snap_flags_v2, args.flags,
1319 if (args.flags & BTRFS_SUBVOL_QGROUP_INHERIT) {
1321 (uint64_t) args.size);
1324 ptr_to_kulong(args.qgroup_inherit));
1327 print_quoted_string(args.name, sizeof(args.name),
1332 tprintf("{transid=%" PRIu64 "}", (uint64_t) args.transid);