Lines Matching refs:pagelist
1069 struct ceph_pagelist *pagelist = NULL; in ceph_sync_setxattr() local
1075 pagelist = ceph_pagelist_alloc(GFP_NOFS); in ceph_sync_setxattr()
1076 if (!pagelist) in ceph_sync_setxattr()
1079 err = ceph_pagelist_append(pagelist, value, size); in ceph_sync_setxattr()
1109 req->r_pagelist = pagelist; in ceph_sync_setxattr()
1110 pagelist = NULL; in ceph_sync_setxattr()
1124 if (pagelist) in ceph_sync_setxattr()
1125 ceph_pagelist_release(pagelist); in ceph_sync_setxattr()
1329 struct ceph_pagelist *pagelist = as_ctx->pagelist; in ceph_security_init_secctx() local
1344 if (!pagelist) { in ceph_security_init_secctx()
1345 pagelist = ceph_pagelist_alloc(GFP_KERNEL); in ceph_security_init_secctx()
1346 if (!pagelist) in ceph_security_init_secctx()
1348 err = ceph_pagelist_reserve(pagelist, PAGE_SIZE); in ceph_security_init_secctx()
1351 ceph_pagelist_encode_32(pagelist, 1); in ceph_security_init_secctx()
1360 err = ceph_pagelist_reserve(pagelist, in ceph_security_init_secctx()
1365 if (as_ctx->pagelist) { in ceph_security_init_secctx()
1367 BUG_ON(pagelist->length <= sizeof(__le32)); in ceph_security_init_secctx()
1368 if (list_is_singular(&pagelist->head)) { in ceph_security_init_secctx()
1369 le32_add_cpu((__le32*)pagelist->mapped_tail, 1); in ceph_security_init_secctx()
1371 struct page *page = list_first_entry(&pagelist->head, in ceph_security_init_secctx()
1378 as_ctx->pagelist = pagelist; in ceph_security_init_secctx()
1381 ceph_pagelist_encode_32(pagelist, name_len); in ceph_security_init_secctx()
1382 ceph_pagelist_append(pagelist, name, name_len); in ceph_security_init_secctx()
1384 ceph_pagelist_encode_32(pagelist, as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1385 ceph_pagelist_append(pagelist, as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1389 if (pagelist && !as_ctx->pagelist) in ceph_security_init_secctx()
1390 ceph_pagelist_release(pagelist); in ceph_security_init_secctx()
1405 if (as_ctx->pagelist) in ceph_release_acl_sec_ctx()
1406 ceph_pagelist_release(as_ctx->pagelist); in ceph_release_acl_sec_ctx()