• Home
  • Raw
  • Download

Lines Matching refs:argsp

1146 		struct btrfs_ioctl_space_args *argsp;  in btrfs_test_space_info_ioctl()  local
1155 argsp = malloc(sizeof(args) + in btrfs_test_space_info_ioctl()
1157 if (!argsp) in btrfs_test_space_info_ioctl()
1160 *argsp = args; in btrfs_test_space_info_ioctl()
1161 argsp->space_slots = args_passed.total_spaces; in btrfs_test_space_info_ioctl()
1164 argsp->space_slots); in btrfs_test_space_info_ioctl()
1165 ioctl(btrfs_test_dir_fd, BTRFS_IOC_SPACE_INFO, argsp); in btrfs_test_space_info_ioctl()
1167 argsp->total_spaces); in btrfs_test_space_info_ioctl()
1171 for (i = 0; i < argsp->total_spaces; i++) { in btrfs_test_space_info_ioctl()
1173 info = &argsp->spaces[i]; in btrfs_test_space_info_ioctl()
1188 free(argsp); in btrfs_test_space_info_ioctl()
1810 struct file_dedupe_range *argsp; in btrfs_test_extent_same_ioctl() local
1828 argsp = malloc(sizeof(*argsp) + sizeof(argsp->info[0]) * 3); in btrfs_test_extent_same_ioctl()
1829 if (!argsp) in btrfs_test_extent_same_ioctl()
1831 memset(argsp, 0, sizeof(*argsp) + sizeof(argsp->info[0]) * 3); in btrfs_test_extent_same_ioctl()
1833 *argsp = args; in btrfs_test_extent_same_ioctl()
1834 argsp->dest_count = 3; in btrfs_test_extent_same_ioctl()
1835 argsp->info[0].dest_fd = 2; in btrfs_test_extent_same_ioctl()
1836 argsp->info[0].dest_offset = 0; in btrfs_test_extent_same_ioctl()
1837 argsp->info[1].dest_fd = 2; in btrfs_test_extent_same_ioctl()
1838 argsp->info[1].dest_offset = 10240; in btrfs_test_extent_same_ioctl()
1839 argsp->info[2].dest_fd = 2; in btrfs_test_extent_same_ioctl()
1840 argsp->info[2].dest_offset = 20480; in btrfs_test_extent_same_ioctl()
1848 (int64_t)argsp->src_offset, in btrfs_test_extent_same_ioctl()
1849 (uint64_t)argsp->src_length, argsp->dest_count); in btrfs_test_extent_same_ioctl()
1852 (int64_t)argsp->info[0].dest_fd, in btrfs_test_extent_same_ioctl()
1853 (uint64_t)argsp->info[0].dest_offset, in btrfs_test_extent_same_ioctl()
1854 (int64_t)argsp->info[1].dest_fd, in btrfs_test_extent_same_ioctl()
1855 (uint64_t)argsp->info[1].dest_offset); in btrfs_test_extent_same_ioctl()
1858 (int64_t)argsp->info[2].dest_fd, in btrfs_test_extent_same_ioctl()
1859 (uint64_t)argsp->info[2].dest_offset); in btrfs_test_extent_same_ioctl()
1863 ioctl(-1, BTRFS_IOC_FILE_EXTENT_SAME, argsp); in btrfs_test_extent_same_ioctl()
1894 memset(argsp, 0, sizeof(*argsp) + sizeof(argsp->info[0]) * 3); in btrfs_test_extent_same_ioctl()
1896 argsp->src_offset = 0; in btrfs_test_extent_same_ioctl()
1897 argsp->src_length = 4096; in btrfs_test_extent_same_ioctl()
1898 argsp->dest_count = 3; in btrfs_test_extent_same_ioctl()
1899 argsp->info[0].dest_fd = fd2; in btrfs_test_extent_same_ioctl()
1900 argsp->info[0].dest_offset = 0; in btrfs_test_extent_same_ioctl()
1901 argsp->info[1].dest_fd = fd2; in btrfs_test_extent_same_ioctl()
1902 argsp->info[1].dest_offset = 10240; in btrfs_test_extent_same_ioctl()
1903 argsp->info[2].dest_fd = fd2; in btrfs_test_extent_same_ioctl()
1904 argsp->info[2].dest_offset = 20480; in btrfs_test_extent_same_ioctl()
1912 (uint64_t)argsp->src_offset, in btrfs_test_extent_same_ioctl()
1913 (uint64_t)argsp->src_length, argsp->dest_count); in btrfs_test_extent_same_ioctl()
1916 (int64_t)argsp->info[0].dest_fd, in btrfs_test_extent_same_ioctl()
1917 (uint64_t)argsp->info[0].dest_offset, in btrfs_test_extent_same_ioctl()
1918 (int64_t)argsp->info[1].dest_fd, in btrfs_test_extent_same_ioctl()
1919 (uint64_t)argsp->info[1].dest_offset); in btrfs_test_extent_same_ioctl()
1923 (int64_t)argsp->info[2].dest_fd, in btrfs_test_extent_same_ioctl()
1924 (uint64_t)argsp->info[2].dest_offset); in btrfs_test_extent_same_ioctl()
1928 ioctl(fd1, BTRFS_IOC_FILE_EXTENT_SAME, argsp); in btrfs_test_extent_same_ioctl()
1932 (uint64_t)argsp->info[0].bytes_deduped, in btrfs_test_extent_same_ioctl()
1933 argsp->info[0].status, in btrfs_test_extent_same_ioctl()
1934 (uint64_t)argsp->info[1].bytes_deduped, in btrfs_test_extent_same_ioctl()
1935 argsp->info[1].status); in btrfs_test_extent_same_ioctl()
1938 (uint64_t)argsp->info[2].bytes_deduped, in btrfs_test_extent_same_ioctl()
1939 argsp->info[2].status); in btrfs_test_extent_same_ioctl()
1950 free(argsp); in btrfs_test_extent_same_ioctl()