Lines Matching refs:nl
70 struct ceph_ioctl_layout nl; in ceph_ioctl_set_layout() local
81 memset(&nl, 0, sizeof(nl)); in ceph_ioctl_set_layout()
83 nl.stripe_count = l.stripe_count; in ceph_ioctl_set_layout()
85 nl.stripe_count = ceph_file_layout_stripe_count(ci->i_layout); in ceph_ioctl_set_layout()
87 nl.stripe_unit = l.stripe_unit; in ceph_ioctl_set_layout()
89 nl.stripe_unit = ceph_file_layout_su(ci->i_layout); in ceph_ioctl_set_layout()
91 nl.object_size = l.object_size; in ceph_ioctl_set_layout()
93 nl.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_set_layout()
95 nl.data_pool = l.data_pool; in ceph_ioctl_set_layout()
97 nl.data_pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_ioctl_set_layout()
100 nl.preferred_osd = le64_to_cpu(-1); in ceph_ioctl_set_layout()
102 err = __validate_layout(mdsc, &nl); in ceph_ioctl_set_layout()