/Linux-v5.15/fs/ceph/ |
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() 209 ceph_pagelist_encode_32(pagelist, acl && default_acl ? 2 : 1); in ceph_pre_init_acls() 213 err = ceph_pagelist_reserve(pagelist, len + val_size1 + 8); in ceph_pre_init_acls() 216 ceph_pagelist_encode_string(pagelist, XATTR_NAME_POSIX_ACL_ACCESS, 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() 227 err = ceph_pagelist_reserve(pagelist, len + val_size2 + 8); in ceph_pre_init_acls() [all …]
|
D | xattr.c | 1052 struct ceph_pagelist *pagelist = NULL; in ceph_sync_setxattr() local 1058 pagelist = ceph_pagelist_alloc(GFP_NOFS); in ceph_sync_setxattr() 1059 if (!pagelist) in ceph_sync_setxattr() 1062 err = ceph_pagelist_append(pagelist, value, size); 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() 1108 ceph_pagelist_release(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() [all …]
|
D | mds_client.c | 56 struct ceph_pagelist *pagelist; member 2679 struct ceph_pagelist *pagelist = req->r_pagelist; in create_request_message() local 2680 ceph_msg_data_add_pagelist(msg, pagelist); in create_request_message() 2681 msg->hdr.data_len = cpu_to_le32(pagelist->length); in create_request_message() 3681 err = ceph_pagelist_encode_32(recon_state->pagelist, 0); in send_reconnect_partial() 3691 err = ceph_pagelist_encode_8(recon_state->pagelist, 1); in send_reconnect_partial() 3695 page = list_first_entry(&recon_state->pagelist->head, struct page, lru); in send_reconnect_partial() 3709 reply->hdr.data_len = cpu_to_le32(recon_state->pagelist->length); in send_reconnect_partial() 3710 ceph_msg_data_add_pagelist(reply, recon_state->pagelist); in send_reconnect_partial() 3713 ceph_pagelist_release(recon_state->pagelist); in send_reconnect_partial() [all …]
|
D | locks.c | 465 struct ceph_pagelist *pagelist, in ceph_locks_to_pagelist() argument 472 err = ceph_pagelist_append(pagelist, &nlocks, sizeof(nlocks)); in ceph_locks_to_pagelist() 477 err = ceph_pagelist_append(pagelist, flocks, in ceph_locks_to_pagelist() 484 err = ceph_pagelist_append(pagelist, &nlocks, sizeof(nlocks)); in ceph_locks_to_pagelist() 489 err = ceph_pagelist_append(pagelist, &flocks[num_fcntl_locks], in ceph_locks_to_pagelist()
|
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-v5.15/drivers/gpu/drm/ |
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 …]
|
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-v5.15/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_arm.c | 85 struct pagelist *pagelist; member 150 pagelistinfo->pagelist, pagelistinfo->dma_addr); in cleanup_pagelistinfo() 165 struct pagelist *pagelist; in create_pagelist() local 185 if ((size_t)num_pages > (SIZE_MAX - sizeof(struct pagelist) - in create_pagelist() 191 pagelist_size = sizeof(struct pagelist) + in create_pagelist() 200 pagelist = dma_alloc_coherent(g_dev, pagelist_size, &dma_addr, in create_pagelist() 203 vchiq_log_trace(vchiq_arm_log_level, "%s - %pK", __func__, pagelist); in create_pagelist() 205 if (!pagelist) in create_pagelist() 208 addrs = pagelist->addrs; in create_pagelist() 214 pagelist->length = count; in create_pagelist() [all …]
|
D | vchiq_pagelist.h | 11 struct pagelist { struct
|
/Linux-v5.15/drivers/video/fbdev/core/ |
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-v5.15/arch/s390/kernel/ |
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-v5.15/drivers/xen/ |
D | privcmd.c | 106 static int gather_array(struct list_head *pagelist, in gather_array() argument 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() 281 struct page *page = list_first_entry(&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() 482 ret = gather_array(&pagelist, m.num, sizeof(xen_pfn_t), m.arr); in privcmd_ioctl_mmap_batch() [all …]
|
/Linux-v5.15/net/ceph/ |
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() 921 BUG_ON(list_empty(&pagelist->head)); in ceph_msg_data_pagelist_cursor_init() 922 page = list_first_entry(&pagelist->head, struct page, lru); in ceph_msg_data_pagelist_cursor_init() 924 cursor->resid = min(length, pagelist->length); 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() 943 BUG_ON(cursor->offset + cursor->resid != pagelist->length); in ceph_msg_data_pagelist_next() [all …]
|
D | Makefile | 7 libceph-y := ceph_common.o messenger.o msgpool.o buffer.o pagelist.o \
|
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() 217 unsigned int which, struct ceph_pagelist *pagelist) in osd_req_op_extent_osd_data_pagelist() argument 222 ceph_osd_data_pagelist_init(osd_data, pagelist); in osd_req_op_extent_osd_data_pagelist() 269 unsigned int which, struct ceph_pagelist *pagelist) in osd_req_op_cls_request_info_pagelist() argument 274 ceph_osd_data_pagelist_init(osd_data, pagelist); in osd_req_op_cls_request_info_pagelist() 279 unsigned int which, struct ceph_pagelist *pagelist) in osd_req_op_cls_request_data_pagelist() argument 284 ceph_osd_data_pagelist_init(osd_data, pagelist); in osd_req_op_cls_request_data_pagelist() 285 osd_req->r_ops[which].cls.indata_len += pagelist->length; in osd_req_op_cls_request_data_pagelist() 286 osd_req->r_ops[which].indata_len += pagelist->length; in osd_req_op_cls_request_data_pagelist() [all …]
|
/Linux-v5.15/arch/powerpc/kernel/ |
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-v5.15/mm/ |
D | mempolicy.c | 412 static int migrate_page_add(struct page *page, struct list_head *pagelist, 416 struct list_head *pagelist; member 476 migrate_page_add(page, qp->pagelist, flags)) { in queue_pages_pmd() 550 if (migrate_page_add(page, qp->pagelist, flags)) in queue_pages_pte_range() 607 if (!isolate_huge_page(page, qp->pagelist) && in queue_pages_hugetlb() 725 struct list_head *pagelist) in queue_pages_range() argument 729 .pagelist = pagelist, in queue_pages_range() 1020 static int migrate_page_add(struct page *page, struct list_head *pagelist, in migrate_page_add() argument 1029 list_add_tail(&head->lru, pagelist); in migrate_page_add() 1056 LIST_HEAD(pagelist); in migrate_to_node() [all …]
|
D | migrate.c | 1662 struct list_head *pagelist, int node) in do_move_pages_to_node() argument 1670 err = migrate_pages(pagelist, alloc_migration_target, NULL, in do_move_pages_to_node() 1673 putback_movable_pages(pagelist); in do_move_pages_to_node() 1687 int node, struct list_head *pagelist, bool migrate_all) in add_page_for_migration() argument 1722 isolate_huge_page(page, pagelist); in add_page_for_migration() 1734 list_add_tail(&head->lru, pagelist); in add_page_for_migration() 1752 struct list_head *pagelist, int __user *status, in move_pages_and_store_status() argument 1757 if (list_empty(pagelist)) in move_pages_and_store_status() 1760 err = do_move_pages_to_node(mm, pagelist, node); in move_pages_and_store_status() 1788 LIST_HEAD(pagelist); in do_pages_move() [all …]
|
D | memory-failure.c | 2016 static bool isolate_page(struct page *page, struct list_head *pagelist) in isolate_page() argument 2022 isolated = isolate_huge_page(page, pagelist); in isolate_page() 2030 list_add(&page->lru, pagelist); in isolate_page() 2060 LIST_HEAD(pagelist); in __soft_offline_page() 2100 if (isolate_page(hpage, &pagelist)) { in __soft_offline_page() 2101 ret = migrate_pages(&pagelist, alloc_migration_target, NULL, in __soft_offline_page() 2109 if (!list_empty(&pagelist)) in __soft_offline_page() 2110 putback_movable_pages(&pagelist); in __soft_offline_page()
|
/Linux-v5.15/Documentation/fb/ |
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-v5.15/drivers/gpu/drm/radeon/ |
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-v5.15/include/drm/ |
D | drm_legacy.h | 115 unsigned long *pagelist; /**< page list */ member 133 struct page **pagelist; member
|
D | drm_fb_helper.h | 233 struct list_head *pagelist); 354 struct list_head *pagelist) in drm_fb_helper_deferred_io() argument
|
/Linux-v5.15/include/linux/ceph/ |
D | osd_client.h | 74 struct ceph_pagelist *pagelist; member 436 struct ceph_pagelist *pagelist); 453 struct ceph_pagelist *pagelist);
|
/Linux-v5.15/fs/nfs/ |
D | Makefile | 10 io.o direct.o pagelist.o read.o symlink.o unlink.o \
|