/linux/fs/ceph/ |
A D | acl.c | 171 struct ceph_pagelist *pagelist = NULL; in ceph_pre_init_acls() local 201 pagelist = ceph_pagelist_alloc(GFP_KERNEL); in ceph_pre_init_acls() 202 if (!pagelist) in ceph_pre_init_acls() 205 err = ceph_pagelist_reserve(pagelist, PAGE_SIZE); in ceph_pre_init_acls() 222 ceph_pagelist_encode_32(pagelist, val_size1); in ceph_pre_init_acls() 223 ceph_pagelist_append(pagelist, tmp_buf, val_size1); in ceph_pre_init_acls() 230 ceph_pagelist_encode_string(pagelist, in ceph_pre_init_acls() 236 ceph_pagelist_encode_32(pagelist, val_size2); in ceph_pre_init_acls() 244 as_ctx->pagelist = pagelist; in ceph_pre_init_acls() 251 if (pagelist) in ceph_pre_init_acls() [all …]
|
A D | xattr.c | 1059 if (!pagelist) in ceph_sync_setxattr() 1092 req->r_pagelist = pagelist; in ceph_sync_setxattr() 1093 pagelist = NULL; in ceph_sync_setxattr() 1107 if (pagelist) in ceph_sync_setxattr() 1308 struct ceph_pagelist *pagelist = as_ctx->pagelist; in ceph_security_init_secctx() local 1323 if (!pagelist) { in ceph_security_init_secctx() 1325 if (!pagelist) in ceph_security_init_secctx() 1344 if (as_ctx->pagelist) { in ceph_security_init_secctx() 1357 as_ctx->pagelist = pagelist; in ceph_security_init_secctx() 1368 if (pagelist && !as_ctx->pagelist) in ceph_security_init_secctx() [all …]
|
A D | mds_client.c | 56 struct ceph_pagelist *pagelist; member 3626 recon_state->pagelist = _pagelist; in send_reconnect_partial() 3683 struct ceph_pagelist *pagelist = recon_state->pagelist; in reconnect_caps_cb() local 3813 pagelist = recon_state->pagelist; in reconnect_caps_cb() 3823 ceph_pagelist_encode_8(pagelist, 1); in reconnect_caps_cb() 3835 err = ceph_pagelist_reserve(pagelist, in reconnect_caps_cb() 3857 struct ceph_pagelist *pagelist = recon_state->pagelist; in encode_snap_realms() local 3884 pagelist = recon_state->pagelist; in encode_snap_realms() 3891 ceph_pagelist_encode_8(pagelist, 1); in encode_snap_realms() 3937 if (!recon_state.pagelist) in send_mds_reconnect() [all …]
|
A D | locks.c | 468 struct ceph_pagelist *pagelist, in ceph_locks_to_pagelist() argument 475 err = ceph_pagelist_append(pagelist, &nlocks, sizeof(nlocks)); in ceph_locks_to_pagelist() 480 err = ceph_pagelist_append(pagelist, flocks, in ceph_locks_to_pagelist() 487 err = ceph_pagelist_append(pagelist, &nlocks, sizeof(nlocks)); in ceph_locks_to_pagelist() 492 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist()
|
A D | dir.c | 878 if (as_ctx.pagelist) { in ceph_mknod() 879 req->r_pagelist = as_ctx.pagelist; in ceph_mknod() 880 as_ctx.pagelist = NULL; in ceph_mknod() 941 if (as_ctx.pagelist) { in ceph_symlink() 942 req->r_pagelist = as_ctx.pagelist; in ceph_symlink() 943 as_ctx.pagelist = NULL; in ceph_symlink() 1005 if (as_ctx.pagelist) { in ceph_mkdir() 1006 req->r_pagelist = as_ctx.pagelist; in ceph_mkdir() 1007 as_ctx.pagelist = NULL; in ceph_mkdir()
|
/linux/drivers/gpu/drm/ |
A D | drm_scatter.c | 52 page = entry->pagelist[i]; in drm_sg_cleanup() 60 kfree(entry->pagelist); in drm_sg_cleanup() 107 entry->pagelist = kcalloc(pages, sizeof(*entry->pagelist), GFP_KERNEL); in drm_legacy_sg_alloc() 108 if (!entry->pagelist) { in drm_legacy_sg_alloc() 115 kfree(entry->pagelist); in drm_legacy_sg_alloc() 123 kfree(entry->pagelist); in drm_legacy_sg_alloc() 140 entry->pagelist[j] = vmalloc_to_page((void *)i); in drm_legacy_sg_alloc() 141 if (!entry->pagelist[j]) in drm_legacy_sg_alloc() 143 SetPageReserved(entry->pagelist[j]); in drm_legacy_sg_alloc() 160 tmp = page_address(entry->pagelist[i]); in drm_legacy_sg_alloc() [all …]
|
A D | drm_vm.c | 311 if (!dma->pagelist) in drm_vm_dma_fault() 317 page = virt_to_page((void *)dma->pagelist[page_nr]); in drm_vm_dma_fault() 348 if (!entry->pagelist) in drm_vm_sg_fault() 354 page = entry->pagelist[page_offset]; in drm_vm_sg_fault()
|
/linux/drivers/staging/vc04_services/interface/vchiq_arm/ |
A D | vchiq_arm.c | 124 struct pagelist *pagelist; member 204 struct pagelist *pagelist; in create_pagelist() local 244 if (!pagelist) in create_pagelist() 247 addrs = pagelist->addrs; in create_pagelist() 253 pagelist->length = count; in create_pagelist() 254 pagelist->type = type; in create_pagelist() 255 pagelist->offset = offset; in create_pagelist() 258 pagelistinfo->pagelist = pagelist; in create_pagelist() 365 ((pagelist->offset + pagelist->length) & in create_pagelist() 392 struct pagelist *pagelist = pagelistinfo->pagelist; in free_pagelist() local [all …]
|
A D | vchiq_pagelist.h | 11 struct pagelist { struct
|
/linux/drivers/video/fbdev/core/ |
A D | fb_defio.c | 112 if (fbdefio->first_io && list_empty(&fbdefio->pagelist)) in fb_deferred_io_mkwrite() 127 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in fb_deferred_io_mkwrite() 186 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in fb_deferred_io_work() 193 fbdefio->deferred_io(info, &fbdefio->pagelist); in fb_deferred_io_work() 196 list_for_each_safe(node, next, &fbdefio->pagelist) { in fb_deferred_io_work() 209 INIT_LIST_HEAD(&fbdefio->pagelist); in fb_deferred_io_init()
|
/linux/arch/s390/kernel/ |
A D | vdso.c | 216 struct page **pagelist; in vdso_setup_pages() local 219 pagelist = kcalloc(pages + 1, sizeof(struct page *), GFP_KERNEL); in vdso_setup_pages() 220 if (!pagelist) in vdso_setup_pages() 223 pagelist[i] = virt_to_page(start + i * PAGE_SIZE); in vdso_setup_pages() 224 return pagelist; in vdso_setup_pages()
|
/linux/drivers/xen/ |
A D | privcmd.c | 129 list_add_tail(&page->lru, pagelist); in gather_array() 257 LIST_HEAD(pagelist); in privcmd_ioctl_mmap() 271 rc = gather_array(&pagelist, in privcmd_ioctl_mmap() 275 if (rc || list_empty(&pagelist)) in privcmd_ioctl_mmap() 298 &pagelist, in privcmd_ioctl_mmap() 306 free_page_list(&pagelist); in privcmd_ioctl_mmap() 451 LIST_HEAD(pagelist); in privcmd_ioctl_mmap_batch() 486 if (list_empty(&pagelist)) { in privcmd_ioctl_mmap_batch() 553 &pagelist, mmap_batch_fn, &state)); in privcmd_ioctl_mmap_batch() 562 &pagelist, mmap_return_errors, &state); in privcmd_ioctl_mmap_batch() [all …]
|
/linux/net/ceph/ |
A D | messenger.c | 910 struct ceph_pagelist *pagelist; in ceph_msg_data_pagelist_cursor_init() local 915 pagelist = data->pagelist; in ceph_msg_data_pagelist_cursor_init() 916 BUG_ON(!pagelist); in ceph_msg_data_pagelist_cursor_init() 935 struct ceph_pagelist *pagelist; in ceph_msg_data_pagelist_next() local 939 pagelist = data->pagelist; in ceph_msg_data_pagelist_next() 940 BUG_ON(!pagelist); in ceph_msg_data_pagelist_next() 963 pagelist = data->pagelist; in ceph_msg_data_pagelist_advance() 964 BUG_ON(!pagelist); in ceph_msg_data_pagelist_advance() 1860 BUG_ON(!pagelist); in ceph_msg_data_add_pagelist() 1861 BUG_ON(!pagelist->length); in ceph_msg_data_add_pagelist() [all …]
|
A D | Makefile | 7 libceph-y := ceph_common.o messenger.o msgpool.o buffer.o pagelist.o \
|
A D | osd_client.c | 148 struct ceph_pagelist *pagelist) in ceph_osd_data_pagelist_init() argument 151 osd_data->pagelist = pagelist; in ceph_osd_data_pagelist_init() 342 return (u64)osd_data->pagelist->length; in ceph_osd_data_length() 837 struct ceph_pagelist *pagelist; in osd_req_op_cls_init() local 844 pagelist = ceph_pagelist_alloc(GFP_NOFS); in osd_req_op_cls_init() 845 if (!pagelist) in osd_req_op_cls_init() 871 ceph_pagelist_release(pagelist); in osd_req_op_cls_init() 882 struct ceph_pagelist *pagelist; in osd_req_op_xattr_init() local 888 pagelist = ceph_pagelist_alloc(GFP_NOFS); in osd_req_op_xattr_init() 889 if (!pagelist) in osd_req_op_xattr_init() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | vdso.c | 355 struct page **pagelist; in vdso_setup_pages() local 358 pagelist = kcalloc(pages + 1, sizeof(struct page *), GFP_KERNEL); in vdso_setup_pages() 359 if (!pagelist) in vdso_setup_pages() 363 pagelist[i] = virt_to_page(start + i * PAGE_SIZE); in vdso_setup_pages() 365 return pagelist; in vdso_setup_pages()
|
/linux/mm/ |
A D | mempolicy.c | 416 struct list_head *pagelist; member 725 struct list_head *pagelist) in queue_pages_range() argument 729 .pagelist = pagelist, in queue_pages_range() 1056 LIST_HEAD(pagelist); in migrate_to_node() 1075 if (!list_empty(&pagelist)) { in migrate_to_node() 1079 putback_movable_pages(&pagelist); in migrate_to_node() 1258 LIST_HEAD(pagelist); in do_mbind() 1328 if (!list_empty(&pagelist)) { in do_mbind() 1333 putback_movable_pages(&pagelist); in do_mbind() 1340 if (!list_empty(&pagelist)) in do_mbind() [all …]
|
A D | migrate.c | 1655 struct list_head *pagelist, int node) in do_move_pages_to_node() argument 1666 putback_movable_pages(pagelist); in do_move_pages_to_node() 1680 int node, struct list_head *pagelist, bool migrate_all) in add_page_for_migration() argument 1715 isolate_huge_page(page, pagelist); in add_page_for_migration() 1727 list_add_tail(&head->lru, pagelist); in add_page_for_migration() 1745 struct list_head *pagelist, int __user *status, in move_pages_and_store_status() argument 1750 if (list_empty(pagelist)) in move_pages_and_store_status() 1753 err = do_move_pages_to_node(mm, pagelist, node); in move_pages_and_store_status() 1781 LIST_HEAD(pagelist); in do_pages_move() 1814 &pagelist, status, start, i, nr_pages); in do_pages_move() [all …]
|
A D | memory-failure.c | 2044 static bool isolate_page(struct page *page, struct list_head *pagelist) in isolate_page() argument 2050 isolated = isolate_huge_page(page, pagelist); in isolate_page() 2058 list_add(&page->lru, pagelist); in isolate_page() 2088 LIST_HEAD(pagelist); in __soft_offline_page() 2128 if (isolate_page(hpage, &pagelist)) { in __soft_offline_page() 2129 ret = migrate_pages(&pagelist, alloc_migration_target, NULL, in __soft_offline_page() 2137 if (!list_empty(&pagelist)) in __soft_offline_page() 2138 putback_movable_pages(&pagelist); in __soft_offline_page()
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_gart.c | 288 int pages, struct page **pagelist, dma_addr_t *dma_addr, in radeon_gart_bind() argument 304 rdev->gart.pages[p] = pagelist ? pagelist[i] : in radeon_gart_bind()
|
/linux/Documentation/fb/ |
A D | deferred_io.rst | 41 framebuffer at vsync time based on the touched pagelist. 65 struct list_head *pagelist) 68 device. You receive the pagelist which is the list of pages that were written
|
/linux/include/drm/ |
A D | drm_legacy.h | 115 unsigned long *pagelist; /**< page list */ member 133 struct page **pagelist; member
|
A D | drm_fb_helper.h | 233 struct list_head *pagelist); 354 struct list_head *pagelist) in drm_fb_helper_deferred_io() argument
|
/linux/include/linux/ceph/ |
A D | osd_client.h | 74 struct ceph_pagelist *pagelist; member 436 struct ceph_pagelist *pagelist); 453 struct ceph_pagelist *pagelist);
|
/linux/fs/nfs/ |
A D | built-in.a | 11 pagelist.o/
|