file_handle
struct file_handle __user *, handle, void __user *, mnt_id,
struct file_handle __user *ufh,
struct file_handle f_handle;
struct file_handle *handle = NULL;
static int do_handle_to_path(struct file_handle *handle, struct path *path,
static int handle_to_path(int mountdirfd, struct file_handle __user *ufh,
struct file_handle f_handle;
struct file_handle *handle __free(kfree) = NULL;
if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle)))
static long do_handle_open(int mountdirfd, struct file_handle __user *ufh,
if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle)))
struct file_handle __user *, handle,
struct file_handle __user *, handle, int, flags)
(sizeof(struct fanotify_event_info_fid) + sizeof(struct file_handle))
struct file_handle handle = { };
DEFINE_FLEX(struct file_handle, f, f_handle, handle_bytes, MAX_HANDLE_SZ);
struct file_handle __user *handle,
struct file_handle;
struct file_handle __user *handle,
struct file_handle __user *handle,
print_fh((struct file_handle *) &fid->handle);
static void print_fh(struct file_handle *fh)
struct file_handle fh;
struct file_handle fh;
struct file_handle fh;
struct file_handle *fhp, *fhp2;
fhsize = sizeof(struct file_handle) + fhp->handle_bytes;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *handle;
struct file_handle *fh;
fh = (struct file_handle *)malloc(sizeof(*fh) + sizeof(nsfh));
gp_handle = (struct file_handle *)gp_buf;
p_handle = (struct file_handle *)p_buf;
c_handle = (struct file_handle *)c_buf;
struct file_handle *p_handle, *c1_handle, *c2_handle;
p_handle = (struct file_handle *)p_buf;
handle = (struct file_handle *)buf;
c1_handle = (struct file_handle *)c1_buf;
c2_handle = (struct file_handle *)c2_buf;
struct file_handle *u_handle, *n_handle, *ut_handle;
u_handle = (struct file_handle *)u_buf;
n_handle = (struct file_handle *)n_buf;
ut_handle = (struct file_handle *)ut_buf;
struct file_handle *ua_handle, *ub_handle, *net_handle;
handle = (struct file_handle *)buf;
ua_handle = (struct file_handle *)ua_buf;
ub_handle = (struct file_handle *)ub_buf;
net_handle = (struct file_handle *)net_buf;
struct file_handle *parent_handle, *net1_handle, *net2_handle;
struct file_handle *handle;
parent_handle = (struct file_handle *)p_buf;
net1_handle = (struct file_handle *)n1_buf;
net2_handle = (struct file_handle *)n2_buf;
struct file_handle *ua_handle, *ub_handle;
ua_handle = (struct file_handle *)ua_buf;
ub_handle = (struct file_handle *)ub_buf;
struct file_handle *user_handle, *net_handle, *uts_handle;
user_handle = (struct file_handle *)u_buf;
net_handle = (struct file_handle *)n_buf;
uts_handle = (struct file_handle *)ut_buf;
handle = (struct file_handle *)buf;
struct file_handle *handle;
handle = (struct file_handle *)buf;
struct file_handle *handle;
handle = (struct file_handle *)buf;
handle = (struct file_handle *)buf;
struct file_handle *user_handle, *net_handle;
user_handle = (struct file_handle *)user_buf;
net_handle = (struct file_handle *)net_buf;
struct file_handle *handle;
handle = (struct file_handle *)buf;
handle = (struct file_handle *)buf;
struct file_handle *handle;
struct file_handle *handle;
handle = (struct file_handle *)buf;
handle = (struct file_handle *)buf;
struct file_handle *handle;
handle = (struct file_handle *)buf;
handle = (struct file_handle *)buf;
struct file_handle *parent_handle, *child_handle;
parent_handle = (struct file_handle *)parent_buf;
child_handle = (struct file_handle *)child_buf;
struct file_handle *handle;
struct file_handle *handle;
handle = (struct file_handle *)buf;
handle = (struct file_handle *)buf;
struct file_handle *gp_handle, *p_handle, *c_handle;
struct file_handle *handle;
handle = malloc(sizeof(struct file_handle) + sizeof(struct nsfs_file_handle));
struct file_handle *handle;
handle = malloc(sizeof(struct file_handle) + sizeof(struct nsfs_file_handle));
struct file_handle *handle;
handle = malloc(sizeof(struct file_handle) + sizeof(struct nsfs_file_handle));
FIXTURE_TEARDOWN(file_handle)
TEST_F(file_handle, file_handle_same_pidns)
struct file_handle *fh;
fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ);
TEST_F(file_handle, file_handle_child_pidns)
struct file_handle *fh;
fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ);
TEST_F(file_handle, file_handle_foreign_pidns)
struct file_handle *fh;
fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ);
FIXTURE(file_handle)
TEST_F(file_handle, pid_has_exited)
struct file_handle *fh;
fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ);
TEST_F(file_handle, pid_has_been_reaped)
struct file_handle *fh;
fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ);
TEST_F(file_handle, open_by_handle_at_valid_flags)
struct file_handle *fh;
fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ);
TEST_F(file_handle, open_by_handle_at_invalid_flags)
struct file_handle *fh;
FIXTURE_SETUP(file_handle)
fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ);
TEST_F(file_handle, lookup_must_fail)
struct file_handle *fh;
fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ);
TEST_F(file_handle, invalid_name_to_handle_at_flags)
struct file_handle *fh;
fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ);
TEST_F(file_handle, valid_name_to_handle_at_flags)
struct file_handle *fh;
fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ);
TEST_F(file_handle, decode_purely_based_on_file_handle)
struct file_handle *fh;
fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ);