Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_2835_arm.c38 struct pagelist *pagelist; member
295 pagelistinfo->pagelist, pagelistinfo->dma_addr); in cleanup_pagelistinfo()
310 struct pagelist *pagelist; in create_pagelist() local
330 if (num_pages > (SIZE_MAX - sizeof(struct pagelist) - in create_pagelist()
336 pagelist_size = sizeof(struct pagelist) + in create_pagelist()
345 pagelist = dma_alloc_coherent(g_dev, pagelist_size, &dma_addr, in create_pagelist()
348 vchiq_log_trace(vchiq_arm_log_level, "%s - %pK", __func__, pagelist); in create_pagelist()
350 if (!pagelist) in create_pagelist()
353 addrs = pagelist->addrs; in create_pagelist()
359 pagelist->length = count; in create_pagelist()
[all …]
Dvchiq_pagelist.h11 struct pagelist { struct
/Linux-v5.10/fs/ceph/
Dacl.c166 struct ceph_pagelist *pagelist = NULL; in ceph_pre_init_acls() local
196 pagelist = ceph_pagelist_alloc(GFP_KERNEL); in ceph_pre_init_acls()
197 if (!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()
222 err = ceph_pagelist_reserve(pagelist, len + val_size2 + 8); in ceph_pre_init_acls()
[all …]
Dxattr.c953 struct ceph_pagelist *pagelist = NULL; in ceph_sync_setxattr() local
959 pagelist = ceph_pagelist_alloc(GFP_NOFS); in ceph_sync_setxattr()
960 if (!pagelist) in ceph_sync_setxattr()
963 err = ceph_pagelist_append(pagelist, value, size); in ceph_sync_setxattr()
991 req->r_pagelist = pagelist; in ceph_sync_setxattr()
992 pagelist = NULL; in ceph_sync_setxattr()
1006 if (pagelist) in ceph_sync_setxattr()
1007 ceph_pagelist_release(pagelist); in ceph_sync_setxattr()
1206 struct ceph_pagelist *pagelist = as_ctx->pagelist; in ceph_security_init_secctx() local
1221 if (!pagelist) { in ceph_security_init_secctx()
[all …]
Dmds_client.c55 struct ceph_pagelist *pagelist; member
2605 struct ceph_pagelist *pagelist = req->r_pagelist; in create_request_message() local
2606 ceph_msg_data_add_pagelist(msg, pagelist); in create_request_message()
2607 msg->hdr.data_len = cpu_to_le32(pagelist->length); in create_request_message()
3573 err = ceph_pagelist_encode_32(recon_state->pagelist, 0); in send_reconnect_partial()
3583 err = ceph_pagelist_encode_8(recon_state->pagelist, 1); in send_reconnect_partial()
3587 page = list_first_entry(&recon_state->pagelist->head, struct page, lru); in send_reconnect_partial()
3601 reply->hdr.data_len = cpu_to_le32(recon_state->pagelist->length); in send_reconnect_partial()
3602 ceph_msg_data_add_pagelist(reply, recon_state->pagelist); in send_reconnect_partial()
3605 ceph_pagelist_release(recon_state->pagelist); in send_reconnect_partial()
[all …]
Dlocks.c468 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()
/Linux-v5.10/drivers/gpu/drm/
Ddrm_scatter.c52 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 …]
Ddrm_vm.c316 if (!dma->pagelist) in drm_vm_dma_fault()
322 page = virt_to_page((void *)dma->pagelist[page_nr]); in drm_vm_dma_fault()
353 if (!entry->pagelist) in drm_vm_sg_fault()
359 page = entry->pagelist[page_offset]; in drm_vm_sg_fault()
/Linux-v5.10/drivers/video/fbdev/core/
Dfb_defio.c112 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.10/drivers/xen/
Dprivcmd.c106 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.10/mm/
Dmempolicy.c432 static int migrate_page_add(struct page *page, struct list_head *pagelist,
436 struct list_head *pagelist; member
496 migrate_page_add(page, qp->pagelist, flags)) { in queue_pages_pmd()
569 if (migrate_page_add(page, qp->pagelist, flags)) in queue_pages_pte_range()
626 if (!isolate_huge_page(page, qp->pagelist) && in queue_pages_hugetlb()
744 struct list_head *pagelist) in queue_pages_range() argument
748 .pagelist = pagelist, in queue_pages_range()
1039 static int migrate_page_add(struct page *page, struct list_head *pagelist, in migrate_page_add() argument
1048 list_add_tail(&head->lru, pagelist); in migrate_page_add()
1075 LIST_HEAD(pagelist); in migrate_to_node()
[all …]
Dmemory-failure.c1743 static bool isolate_page(struct page *page, struct list_head *pagelist) in isolate_page() argument
1749 isolated = isolate_huge_page(page, pagelist); in isolate_page()
1757 list_add(&page->lru, pagelist); in isolate_page()
1787 LIST_HEAD(pagelist); in __soft_offline_page()
1827 if (isolate_page(hpage, &pagelist)) { in __soft_offline_page()
1828 ret = migrate_pages(&pagelist, alloc_migration_target, NULL, in __soft_offline_page()
1836 if (!list_empty(&pagelist)) in __soft_offline_page()
1837 putback_movable_pages(&pagelist); in __soft_offline_page()
Dmigrate.c1597 struct list_head *pagelist, int node) in do_move_pages_to_node() argument
1605 err = migrate_pages(pagelist, alloc_migration_target, NULL, in do_move_pages_to_node()
1608 putback_movable_pages(pagelist); in do_move_pages_to_node()
1622 int node, struct list_head *pagelist, bool migrate_all) in add_page_for_migration() argument
1657 isolate_huge_page(page, pagelist); in add_page_for_migration()
1669 list_add_tail(&head->lru, pagelist); in add_page_for_migration()
1687 struct list_head *pagelist, int __user *status, in move_pages_and_store_status() argument
1692 if (list_empty(pagelist)) in move_pages_and_store_status()
1695 err = do_move_pages_to_node(mm, pagelist, node); in move_pages_and_store_status()
1723 LIST_HEAD(pagelist); in do_pages_move()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gart.c312 int pages, struct page **pagelist, dma_addr_t *dma_addr, in amdgpu_gart_bind() argument
329 adev->gart.pages[p] = pagelist ? pagelist[i] : NULL; in amdgpu_gart_bind()
Damdgpu_gart.h70 int pages, struct page **pagelist,
/Linux-v5.10/include/drm/
Ddrm_legacy.h113 unsigned long *pagelist; /**< page list */ member
131 struct page **pagelist; member
Ddrm_fb_helper.h234 struct list_head *pagelist);
355 struct list_head *pagelist) in drm_fb_helper_deferred_io() argument
/Linux-v5.10/net/ceph/
Dmessenger.c1002 struct ceph_pagelist *pagelist; in ceph_msg_data_pagelist_cursor_init() local
1007 pagelist = data->pagelist; in ceph_msg_data_pagelist_cursor_init()
1008 BUG_ON(!pagelist); in ceph_msg_data_pagelist_cursor_init()
1013 BUG_ON(list_empty(&pagelist->head)); in ceph_msg_data_pagelist_cursor_init()
1014 page = list_first_entry(&pagelist->head, struct page, lru); in ceph_msg_data_pagelist_cursor_init()
1016 cursor->resid = min(length, pagelist->length); in ceph_msg_data_pagelist_cursor_init()
1027 struct ceph_pagelist *pagelist; in ceph_msg_data_pagelist_next() local
1031 pagelist = data->pagelist; in ceph_msg_data_pagelist_next()
1032 BUG_ON(!pagelist); in ceph_msg_data_pagelist_next()
1035 BUG_ON(cursor->offset + cursor->resid != pagelist->length); in ceph_msg_data_pagelist_next()
[all …]
DMakefile7 libceph-y := ceph_common.o messenger.o msgpool.o buffer.o pagelist.o \
Dosd_client.c148 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.10/Documentation/fb/
Ddeferred_io.rst41 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.10/include/linux/ceph/
Dosd_client.h74 struct ceph_pagelist *pagelist; member
436 struct ceph_pagelist *pagelist);
453 struct ceph_pagelist *pagelist);
Dmessenger.h183 struct ceph_pagelist *pagelist; member
363 struct ceph_pagelist *pagelist);
/Linux-v5.10/drivers/gpu/drm/radeon/
Dradeon_gart.c288 int pages, struct page **pagelist, dma_addr_t *dma_addr, in radeon_gart_bind() argument
304 rdev->gart.pages[p] = pagelist[i]; in radeon_gart_bind()
/Linux-v5.10/fs/nfs/
DMakefile10 io.o direct.o pagelist.o read.o symlink.o unlink.o \

12