Home
last modified time | relevance | path

Searched refs:sk_offset (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
H A Dioctl.c2121 unsigned long *sk_offset, in copy_to_sk()
2169 if (sizeof(sh) + item_len + *sk_offset > *buf_size) { in copy_to_sk()
2186 if (copy_to_user_nofault(ubuf + *sk_offset, &sh, sizeof(sh))) { in copy_to_sk()
2191 *sk_offset += sizeof(sh); in copy_to_sk()
2194 char __user *up = ubuf + *sk_offset; in copy_to_sk()
2197 * * sk_offset so we copy the full thing again. in copy_to_sk()
2202 *sk_offset -= sizeof(sh); in copy_to_sk()
2206 *sk_offset += item_len; in copy_to_sk()
2260 unsigned long sk_offset = 0; in search_ioctl() local
2287 ret = fault_in_pages_writeable(ubuf + sk_offset, in search_ioctl()
2116 copy_to_sk(struct btrfs_path *path, struct btrfs_key *key, struct btrfs_ioctl_search_key *sk, u64 *buf_size, char __user *ubuf, unsigned long *sk_offset, int *num_found) copy_to_sk() argument
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dioctl.c1545 unsigned long *sk_offset, in copy_to_sk()
1593 if (sizeof(sh) + item_len + *sk_offset > *buf_size) { in copy_to_sk()
1610 if (copy_to_user_nofault(ubuf + *sk_offset, &sh, sizeof(sh))) { in copy_to_sk()
1615 *sk_offset += sizeof(sh); in copy_to_sk()
1618 char __user *up = ubuf + *sk_offset; in copy_to_sk()
1621 * * sk_offset so we copy the full thing again. in copy_to_sk()
1626 *sk_offset -= sizeof(sh); in copy_to_sk()
1630 *sk_offset += item_len; in copy_to_sk()
1684 unsigned long sk_offset = 0; in search_ioctl() local
1716 if (fault_in_subpage_writeable(ubuf + sk_offset, in search_ioctl()
1540 copy_to_sk(struct btrfs_path *path, struct btrfs_key *key, struct btrfs_ioctl_search_key *sk, u64 *buf_size, char __user *ubuf, unsigned long *sk_offset, int *num_found) copy_to_sk() argument
[all...]

Completed in 7 milliseconds