Home
last modified time | relevance | path

Searched refs:pagelist (Results 1 – 10 of 10) sorted by relevance

/fs/ceph/
Dacl.c165 struct ceph_pagelist *pagelist = NULL; in ceph_pre_init_acls() local
195 pagelist = kmalloc(sizeof(struct ceph_pagelist), GFP_KERNEL); in ceph_pre_init_acls()
196 if (!pagelist) in ceph_pre_init_acls()
198 ceph_pagelist_init(pagelist); in ceph_pre_init_acls()
200 err = ceph_pagelist_reserve(pagelist, PAGE_SIZE); in ceph_pre_init_acls()
204 ceph_pagelist_encode_32(pagelist, acl && default_acl ? 2 : 1); in ceph_pre_init_acls()
208 err = ceph_pagelist_reserve(pagelist, len + val_size1 + 8); in ceph_pre_init_acls()
211 ceph_pagelist_encode_string(pagelist, XATTR_NAME_POSIX_ACL_ACCESS, in ceph_pre_init_acls()
217 ceph_pagelist_encode_32(pagelist, val_size1); in ceph_pre_init_acls()
218 ceph_pagelist_append(pagelist, tmp_buf, val_size1); in ceph_pre_init_acls()
[all …]
Dlocks.c347 struct ceph_pagelist *pagelist, in ceph_locks_to_pagelist() argument
354 err = ceph_pagelist_append(pagelist, &nlocks, sizeof(nlocks)); in ceph_locks_to_pagelist()
358 err = ceph_pagelist_append(pagelist, flocks, in ceph_locks_to_pagelist()
364 err = ceph_pagelist_append(pagelist, &nlocks, sizeof(nlocks)); in ceph_locks_to_pagelist()
368 err = ceph_pagelist_append(pagelist, in ceph_locks_to_pagelist()
Dmds_client.c50 struct ceph_pagelist *pagelist; member
2104 struct ceph_pagelist *pagelist = req->r_pagelist; in create_request_message() local
2105 refcount_inc(&pagelist->refcnt); in create_request_message()
2106 ceph_msg_data_add_pagelist(msg, pagelist); in create_request_message()
2107 msg->hdr.data_len = cpu_to_le32(pagelist->length); in create_request_message()
2913 struct ceph_pagelist *pagelist = recon_state->pagelist; in encode_caps_cb() local
2925 err = ceph_pagelist_encode_64(pagelist, ceph_ino(inode)); in encode_caps_cb()
3020 err = ceph_pagelist_reserve(pagelist, total_len); in encode_caps_cb()
3024 ceph_pagelist_encode_8(pagelist, struct_v); in encode_caps_cb()
3025 ceph_pagelist_encode_8(pagelist, 1); in encode_caps_cb()
[all …]
Dxattr.c897 struct ceph_pagelist *pagelist = NULL; in ceph_sync_setxattr() local
903 pagelist = kmalloc(sizeof(*pagelist), GFP_NOFS); in ceph_sync_setxattr()
904 if (!pagelist) in ceph_sync_setxattr()
907 ceph_pagelist_init(pagelist); in ceph_sync_setxattr()
908 err = ceph_pagelist_append(pagelist, value, size); in ceph_sync_setxattr()
936 req->r_pagelist = pagelist; in ceph_sync_setxattr()
937 pagelist = NULL; in ceph_sync_setxattr()
951 if (pagelist) in ceph_sync_setxattr()
952 ceph_pagelist_release(pagelist); in ceph_sync_setxattr()
Ddir.c840 if (acls.pagelist) { in ceph_mknod()
841 req->r_pagelist = acls.pagelist; in ceph_mknod()
842 acls.pagelist = NULL; in ceph_mknod()
941 if (acls.pagelist) { in ceph_mkdir()
942 req->r_pagelist = acls.pagelist; in ceph_mkdir()
943 acls.pagelist = NULL; in ceph_mkdir()
Dsuper.h862 struct ceph_pagelist *pagelist; member
1017 struct ceph_pagelist *pagelist,
Dfile.c401 if (acls.pagelist) { in ceph_atomic_open()
402 req->r_pagelist = acls.pagelist; in ceph_atomic_open()
403 acls.pagelist = NULL; in ceph_atomic_open()
/fs/nfs/
DMakefile10 io.o direct.o pagelist.o read.o symlink.o unlink.o \
/fs/nfsd/
Dxdr4.h364 struct page **pagelist; member
618 struct page ** pagelist; member
Dnfs4xdr.c143 argp->p = page_address(argp->pagelist[0]); in next_decode_page()
144 argp->pagelist++; in next_decode_page()
1286 write->wr_pagelist = argp->pagelist; in nfsd4_decode_write()
1295 argp->pagelist += pages; in nfsd4_decode_write()
4492 args->pagelist = rqstp->rq_arg.pages; in nfs4svc_decode_compoundargs()