Lines Matching defs:ptr
1891 unsigned long ptr;
1924 ptr = btrfs_device_uuid(dev_item);
1925 write_extent_buffer(leaf, device->uuid, ptr, BTRFS_UUID_SIZE);
1926 ptr = btrfs_device_fsid(dev_item);
1928 ptr, BTRFS_FSID_SIZE);
2935 u8 *ptr;
2946 ptr = super_copy->sys_chunk_array;
2950 disk_key = (struct btrfs_disk_key *)ptr;
2956 chunk = (struct btrfs_chunk *)(ptr + len);
2965 memmove(ptr, ptr + len, array_size - (cur + len));
2969 ptr += len;
4854 u8 *ptr;
4864 ptr = super_copy->sys_chunk_array + array_size;
4866 memcpy(ptr, &disk_key, sizeof(disk_key));
4867 ptr += sizeof(disk_key);
4868 memcpy(ptr, chunk, item_size);
6797 unsigned long ptr;
6812 ptr = btrfs_device_uuid(dev_item);
6813 read_extent_buffer(leaf, device->uuid, ptr, BTRFS_UUID_SIZE);
7304 const struct btrfs_dev_stats_item *ptr,
7311 ((unsigned long)ptr) + (index * sizeof(u64)),
7317 struct btrfs_dev_stats_item *ptr,
7322 ((unsigned long)ptr) + (index * sizeof(u64)),
7329 struct btrfs_dev_stats_item *ptr;
7350 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_stats_item);
7355 btrfs_dev_stats_value(eb, ptr, i));
7406 struct btrfs_dev_stats_item *ptr;
7426 btrfs_item_size_nr(path->nodes[0], path->slots[0]) < sizeof(*ptr)) {
7442 &key, sizeof(*ptr));
7452 ptr = btrfs_item_ptr(eb, path->slots[0], struct btrfs_dev_stats_item);
7454 btrfs_set_dev_stats_value(eb, ptr, i,
7837 bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr)
7846 if (ptr < sp->ptr)
7848 else if (ptr > sp->ptr)