• Home
  • Raw
  • Download

Lines Matching refs:ioc

190 #define ioc(x_) sprint_xlat_(x_, #x_)  macro
250 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_START)); in btrfs_test_trans_ioctls()
253 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_END)); in btrfs_test_trans_ioctls()
269 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_SYNC)); in btrfs_test_sync_ioctls()
273 ioc(BTRFS_IOC_WAIT_SYNC)); in btrfs_test_sync_ioctls()
277 ioc(BTRFS_IOC_WAIT_SYNC), u64val); in btrfs_test_sync_ioctls()
372 ioc(BTRFS_IOC_SNAP_CREATE)); in btrfs_test_subvol_ioctls()
376 ioc(BTRFS_IOC_SNAP_CREATE), vol_args.name); in btrfs_test_subvol_ioctls()
380 ioc(BTRFS_IOC_SUBVOL_CREATE), vol_args.name); in btrfs_test_subvol_ioctls()
384 ioc(BTRFS_IOC_SNAP_DESTROY), vol_args.name); in btrfs_test_subvol_ioctls()
389 ioc(BTRFS_IOC_SNAP_CREATE), vol_args.name); in btrfs_test_subvol_ioctls()
393 ioc(BTRFS_IOC_SUBVOL_CREATE), vol_args.name); in btrfs_test_subvol_ioctls()
397 ioc(BTRFS_IOC_SNAP_DESTROY), vol_args.name); in btrfs_test_subvol_ioctls()
405 ioc(BTRFS_IOC_SNAP_CREATE_V2)); in btrfs_test_subvol_ioctls()
409 ioc(BTRFS_IOC_SUBVOL_CREATE_V2)); in btrfs_test_subvol_ioctls()
412 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_SNAP_CREATE_V2)); in btrfs_test_subvol_ioctls()
417 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_SUBVOL_CREATE_V2)); in btrfs_test_subvol_ioctls()
423 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_SNAP_CREATE_V2)); in btrfs_test_subvol_ioctls()
428 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_SUBVOL_CREATE_V2)); in btrfs_test_subvol_ioctls()
436 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_SNAP_CREATE_V2)); in btrfs_test_subvol_ioctls()
441 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_SUBVOL_CREATE_V2)); in btrfs_test_subvol_ioctls()
466 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_SNAP_CREATE_V2)); in btrfs_test_subvol_ioctls()
471 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_SUBVOL_CREATE_V2)); in btrfs_test_subvol_ioctls()
478 ioc(BTRFS_IOC_DEFAULT_SUBVOL)); in btrfs_test_subvol_ioctls()
482 ioc(BTRFS_IOC_DEFAULT_SUBVOL), u64val); in btrfs_test_subvol_ioctls()
484 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_SUBVOL_SETFLAGS)); in btrfs_test_subvol_ioctls()
507 btrfs_test_dir_fd, ioc(BTRFS_IOC_SUBVOL_CREATE_V2)); in btrfs_test_subvol_ioctls()
526 btrfs_test_dir_fd, ioc(BTRFS_IOC_SNAP_CREATE_V2)); in btrfs_test_subvol_ioctls()
538 btrfs_test_dir_fd, ioc(BTRFS_IOC_SNAP_DESTROY), in btrfs_test_subvol_ioctls()
544 btrfs_test_dir_fd, ioc(BTRFS_IOC_SNAP_DESTROY), in btrfs_test_subvol_ioctls()
608 ioc(BTRFS_IOC_BALANCE_CTL), in btrfs_test_balance_ioctls()
615 ioc(BTRFS_IOC_BALANCE_CTL), in btrfs_test_balance_ioctls()
620 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_BALANCE)); in btrfs_test_balance_ioctls()
623 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_BALANCE)); in btrfs_test_balance_ioctls()
628 ioc(BTRFS_IOC_BALANCE_V2)); in btrfs_test_balance_ioctls()
630 printf("ioctl(-1, %s, {flags=", ioc(BTRFS_IOC_BALANCE_V2)); in btrfs_test_balance_ioctls()
661 btrfs_test_dir_fd, ioc(BTRFS_IOC_BALANCE_V2)); in btrfs_test_balance_ioctls()
711 printf("ioctl(-1, %s, NULL) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_RESIZE)); in btrfs_test_device_ioctls()
716 ioc(BTRFS_IOC_RESIZE), (int) args.fd, args.name); in btrfs_test_device_ioctls()
720 ioc(BTRFS_IOC_SCAN_DEV)); in btrfs_test_device_ioctls()
725 ioc(BTRFS_IOC_SCAN_DEV), (int) args.fd, args.name); in btrfs_test_device_ioctls()
728 printf("ioctl(-1, %s, NULL) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_ADD_DEV)); in btrfs_test_device_ioctls()
732 ioc(BTRFS_IOC_ADD_DEV), (int) args.fd, args.name); in btrfs_test_device_ioctls()
735 printf("ioctl(-1, %s, NULL) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_RM_DEV)); in btrfs_test_device_ioctls()
739 ioc(BTRFS_IOC_RM_DEV), (int) args.fd, args.name); in btrfs_test_device_ioctls()
819 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_DEFRAG)); in btrfs_test_defrag_ioctls()
822 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_DEFRAG)); in btrfs_test_defrag_ioctls()
827 ioc(BTRFS_IOC_DEFRAG_RANGE)); in btrfs_test_defrag_ioctls()
829 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_DEFRAG_RANGE)); in btrfs_test_defrag_ioctls()
835 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_DEFRAG_RANGE)); in btrfs_test_defrag_ioctls()
841 printf("ioctl(-1, %s, ", ioc(BTRFS_IOC_DEFRAG_RANGE)); in btrfs_test_defrag_ioctls()
961 ioc(BTRFS_IOC_TREE_SEARCH)); in btrfs_test_search_ioctls()
965 ioc(BTRFS_IOC_TREE_SEARCH_V2)); in btrfs_test_search_ioctls()
968 printf("ioctl(-1, %s, {", ioc(BTRFS_IOC_TREE_SEARCH)); in btrfs_test_search_ioctls()
974 printf("ioctl(-1, %s, {", ioc(BTRFS_IOC_TREE_SEARCH_V2)); in btrfs_test_search_ioctls()
983 printf("ioctl(-1, %s, {", ioc(BTRFS_IOC_TREE_SEARCH)); in btrfs_test_search_ioctls()
989 printf("ioctl(-1, %s, {", ioc(BTRFS_IOC_TREE_SEARCH_V2)); in btrfs_test_search_ioctls()
998 printf("ioctl(-1, %s, {", ioc(BTRFS_IOC_TREE_SEARCH)); in btrfs_test_search_ioctls()
1004 printf("ioctl(-1, %s, {", ioc(BTRFS_IOC_TREE_SEARCH_V2)); in btrfs_test_search_ioctls()
1013 printf("ioctl(-1, %s, {", ioc(BTRFS_IOC_TREE_SEARCH)); in btrfs_test_search_ioctls()
1019 printf("ioctl(-1, %s, {", ioc(BTRFS_IOC_TREE_SEARCH_V2)); in btrfs_test_search_ioctls()
1028 printf("ioctl(-1, %s, {", ioc(BTRFS_IOC_TREE_SEARCH)); in btrfs_test_search_ioctls()
1034 printf("ioctl(-1, %s, {", ioc(BTRFS_IOC_TREE_SEARCH_V2)); in btrfs_test_search_ioctls()
1054 btrfs_test_dir_fd, ioc(BTRFS_IOC_TREE_SEARCH)); in btrfs_test_search_ioctls()
1070 btrfs_test_dir_fd, ioc(BTRFS_IOC_TREE_SEARCH_V2)); in btrfs_test_search_ioctls()
1083 btrfs_test_dir_fd, ioc(BTRFS_IOC_TREE_SEARCH_V2)); in btrfs_test_search_ioctls()
1107 ioc(BTRFS_IOC_INO_LOOKUP)); in btrfs_test_ino_lookup_ioctl()
1109 printf("ioctl(-1, %s, {treeid=", ioc(BTRFS_IOC_INO_LOOKUP)); in btrfs_test_ino_lookup_ioctl()
1118 btrfs_test_dir_fd, ioc(BTRFS_IOC_INO_LOOKUP)); in btrfs_test_ino_lookup_ioctl()
1138 ioc(BTRFS_IOC_SPACE_INFO)); in btrfs_test_space_info_ioctl()
1142 ioc(BTRFS_IOC_SPACE_INFO), args.space_slots); in btrfs_test_space_info_ioctl()
1149 btrfs_test_dir_fd, ioc(BTRFS_IOC_SPACE_INFO), in btrfs_test_space_info_ioctl()
1163 btrfs_test_dir_fd, ioc(BTRFS_IOC_SPACE_INFO), in btrfs_test_space_info_ioctl()
1210 printf("ioctl(-1, %s, NULL) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_SCRUB)); in btrfs_test_scrub_ioctls()
1213 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_SCRUB_CANCEL)); in btrfs_test_scrub_ioctls()
1216 ioc(BTRFS_IOC_SCRUB), major(args.devid), minor(args.devid)); in btrfs_test_scrub_ioctls()
1226 ioc(BTRFS_IOC_SCRUB_PROGRESS)); in btrfs_test_scrub_ioctls()
1230 ioc(BTRFS_IOC_SCRUB_PROGRESS), in btrfs_test_scrub_ioctls()
1248 ioc(BTRFS_IOC_DEV_INFO)); in btrfs_test_dev_info_ioctl()
1253 ioc(BTRFS_IOC_DEV_INFO), major(args.devid), minor(args.devid), in btrfs_test_dev_info_ioctl()
1287 ioc(BTRFS_IOC_INO_PATHS)); in btrfs_test_ino_path_ioctls()
1291 ioc(BTRFS_IOC_LOGICAL_INO)); in btrfs_test_ino_path_ioctls()
1296 ioc(BTRFS_IOC_INO_PATHS), args.inum, args.size); in btrfs_test_ino_path_ioctls()
1302 ioc(BTRFS_IOC_INO_PATHS), args.inum, args.size, args.fspath); in btrfs_test_ino_path_ioctls()
1311 ioc(BTRFS_IOC_LOGICAL_INO), args.inum, args.size); in btrfs_test_ino_path_ioctls()
1328 ioc(BTRFS_IOC_LOGICAL_INO), args.inum, args.size, in btrfs_test_ino_path_ioctls()
1344 ioc(BTRFS_IOC_LOGICAL_INO), args.inum, args.size, args.fspath); in btrfs_test_ino_path_ioctls()
1362 btrfs_test_dir_fd, ioc(BTRFS_IOC_INO_PATHS), in btrfs_test_ino_path_ioctls()
1391 printf("ioctl(%d, %s) = 0\n", fd, ioc(BTRFS_IOC_SYNC)); in btrfs_test_ino_path_ioctls()
1405 fd, ioc(FS_IOC_FIEMAP), in btrfs_test_ino_path_ioctls()
1440 fd, ioc(BTRFS_IOC_LOGICAL_INO), in btrfs_test_ino_path_ioctls()
1478 ioc(BTRFS_IOC_SET_RECEIVED_SUBVOL)); in btrfs_test_set_received_subvol_ioctl()
1484 ioc(BTRFS_IOC_SET_RECEIVED_SUBVOL), uuid_reference_string, in btrfs_test_set_received_subvol_ioctl()
1506 printf("ioctl(-1, %s, NULL) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_SEND)); in btrfs_test_send_ioctl()
1510 ioc(BTRFS_IOC_SEND), in btrfs_test_send_ioctl()
1524 ioc(BTRFS_IOC_SEND), in btrfs_test_send_ioctl()
1555 ioc(BTRFS_IOC_QUOTA_CTL)); in btrfs_test_quota_ctl_ioctl()
1560 ioc(BTRFS_IOC_QUOTA_CTL), in btrfs_test_quota_ctl_ioctl()
1568 ioc(BTRFS_IOC_QUOTA_CTL), in btrfs_test_quota_ctl_ioctl()
1576 ioc(BTRFS_IOC_QUOTA_CTL), in btrfs_test_quota_ctl_ioctl()
1584 ioc(BTRFS_IOC_QUOTA_CTL)); in btrfs_test_quota_ctl_ioctl()
1602 ioc(BTRFS_IOC_QGROUP_ASSIGN)); in btrfs_test_qgroup_assign_ioctl()
1608 ioc(BTRFS_IOC_QGROUP_ASSIGN), args.assign, args.src, args.dst); in btrfs_test_qgroup_assign_ioctl()
1624 printf("ioctl(-1, %s, NULL) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_QGROUP_CREATE)); in btrfs_test_qgroup_create_ioctl()
1630 ioc(BTRFS_IOC_QGROUP_CREATE), args.create, args.qgroupid); in btrfs_test_qgroup_create_ioctl()
1648 ioc(BTRFS_IOC_QUOTA_RESCAN)); in btrfs_test_quota_rescan_ioctl()
1652 ioc(BTRFS_IOC_QUOTA_RESCAN)); in btrfs_test_quota_rescan_ioctl()
1655 ioc(BTRFS_IOC_QUOTA_RESCAN_WAIT)); in btrfs_test_quota_rescan_ioctl()
1673 ioc(FS_IOC_SETFSLABEL)); in btrfs_test_label_ioctls()
1677 ioc(FS_IOC_SETFSLABEL), label); in btrfs_test_label_ioctls()
1682 btrfs_test_dir_fd, ioc(FS_IOC_SETFSLABEL), label); in btrfs_test_label_ioctls()
1686 btrfs_test_dir_fd, ioc(FS_IOC_GETFSLABEL), label); in btrfs_test_label_ioctls()
1704 printf("ioctl(-1, %s, NULL) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_GET_DEV_STATS)); in btrfs_test_get_dev_stats_ioctl()
1708 ioc(BTRFS_IOC_GET_DEV_STATS), in btrfs_test_get_dev_stats_ioctl()
1720 btrfs_test_dir_fd, ioc(BTRFS_IOC_GET_DEV_STATS), in btrfs_test_get_dev_stats_ioctl()
1768 printf("ioctl(-1, %s, NULL) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_DEV_REPLACE)); in btrfs_test_dev_replace_ioctl()
1780 ioc(BTRFS_IOC_DEV_REPLACE), in btrfs_test_dev_replace_ioctl()
1798 ioc(BTRFS_IOC_DEV_REPLACE), in btrfs_test_dev_replace_ioctl()
1997 ioc(BTRFS_IOC_SET_FEATURES)); in btrfs_test_features_ioctls()
1999 printf("ioctl(-1, %s, [", ioc(BTRFS_IOC_SET_FEATURES)); in btrfs_test_features_ioctls()
2008 btrfs_test_dir_fd, ioc(BTRFS_IOC_GET_FEATURES)); in btrfs_test_features_ioctls()
2018 ioc(BTRFS_IOC_GET_SUPPORTED_FEATURES)); in btrfs_test_features_ioctls()