Searched refs:page (Results 401 - 425 of 3141) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/media/common/videobuf2/
H A Dframe_vector.c22 * with page frame numbers or page pointers to corresponding pages (choice
26 * touch page structures and the caller must make sure pfns aren't reused for
32 * When the function isn't able to map a single page, it returns error.
58 (struct page **)(vec->ptrs));
82 struct page **pages;
103 * frame_vector_to_pages - convert frame vector to contain page pointers
106 * Convert @vec to contain array of page pointers. If the conversion is
108 * page references for the page structure
[all...]
/linux-master/arch/microblaze/include/asm/
H A Dpage.h22 /* PAGE_SHIFT determines the page size */
29 #define PTE_SHIFT (PAGE_SHIFT - 2) /* 1024 ptes per page */
34 * PAGE_OFFSET -- the first address of the first page of memory. With MMU
35 * it is set to the kernel start address (aligned on a page boundary).
51 # define clear_user_page(pgaddr, vaddr, page) memset((pgaddr), 0, PAGE_SIZE)
58 typedef struct page *pgtable_t;
75 * page are defined in the following files.
78 * | asm-microblaze/page.h
83 * page -+
103 # define page_to_virt(page) __v
[all...]
/linux-master/arch/sparc/include/asm/
H A Dpage_32.h3 * page.h: Various defines and such for MMU operations on the Sparc for
20 #define clear_page(page) memset((void *)(page), 0, PAGE_SIZE)
22 #define clear_user_page(addr, vaddr, page) \
24 sparc_flush_page_to_ram(page); \
26 #define copy_user_page(to, from, vaddr, page) \
28 sparc_flush_page_to_ram(page); \
/linux-master/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-sysfs.c51 char *page)
56 return sysfs_emit(page, "%d\n",
93 char *page)
101 return sysfs_emit(page, "round-robin (RR: %d)\n",
104 return sysfs_emit(page, "min-inflight (MI: %d)\n",
107 return sysfs_emit(page, "min-latency (ML: %d)\n",
110 return sysfs_emit(page, "Unknown (%d)\n", clt->mp_policy);
157 struct device_attribute *attr, char *page)
159 return sysfs_emit(page,
199 struct kobj_attribute *attr, char *page)
49 max_reconnect_attempts_show(struct device *dev, struct device_attribute *attr, char *page) argument
91 mpath_policy_show(struct device *dev, struct device_attribute *attr, char *page) argument
156 add_path_show(struct device *dev, struct device_attribute *attr, char *page) argument
198 rtrs_clt_state_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
333 rtrs_clt_hca_port_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
347 rtrs_clt_hca_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
361 rtrs_clt_cur_latency_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
376 rtrs_clt_src_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
393 rtrs_clt_dst_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
[all...]
/linux-master/drivers/hwmon/pmbus/
H A Dpli1209bc.c16 * The capability command is only supported at page 0. Probing the device while
17 * the page register is set to 1 will falsely enable PEC support. Disable
25 static int pli1209bc_read_word_data(struct i2c_client *client, int page, argument
33 data = pmbus_read_word_data(client, page, phase, reg);
45 data = pmbus_read_word_data(client, page, phase,
51 return pmbus_read_word_data(client, page, phase, reg);
57 static int pli1209bc_write_byte(struct i2c_client *client, int page, u8 reg) argument
63 ret = pmbus_write_byte(client, page, reg);
122 * page 0 redundant.
H A Dmax34440.c53 static int max34440_read_word_data(struct i2c_client *client, int page, argument
62 ret = pmbus_read_word_data(client, page, phase,
66 ret = pmbus_read_word_data(client, page, phase,
70 ret = pmbus_read_word_data(client, page, phase,
74 ret = pmbus_read_word_data(client, page, phase,
80 ret = pmbus_read_word_data(client, page, phase,
84 ret = pmbus_read_word_data(client, page, phase,
90 ret = pmbus_read_word_data(client, page, phase,
96 ret = pmbus_read_word_data(client, page, phase,
103 ret = pmbus_read_word_data(client, page, phas
127 max34440_write_word_data(struct i2c_client *client, int page, int reg, u16 word) argument
182 max34440_read_byte_data(struct i2c_client *client, int page, int reg) argument
237 int page, rv; local
[all...]
/linux-master/fs/erofs/
H A Dzdata.c23 struct page *page; member in union:z_erofs_bvec::__anon128
32 /* point to the next page which contains the following bvecs */ \
33 struct page *nextpage; \
65 /* I: page offset of start position of decompression */
68 /* I: page offset of inline compressed data */
184 struct page *bvpage;
189 static struct page *z_erofs_bvec_iter_end(struct z_erofs_bvec_iter *iter)
196 static struct page *z_erofs_bvset_flip(struct z_erofs_bvec_iter *iter)
200 struct page *nextpag
576 struct page *page, *newpage; local
928 z_erofs_read_fragment(struct super_block *sb, struct page *page, unsigned int cur, unsigned int end, erofs_off_t pos) argument
1067 z_erofs_page_is_invalidated(struct page *page) argument
1192 struct page *page = bvec->page; local
1226 struct page *page; local
1422 struct page *page; local
1778 struct page *page; local
[all...]
/linux-master/include/linux/
H A Dmemcontrol.h24 #include <linux/page-flags.h>
29 struct page;
33 /* Cgroup-specific page state, on top of universal node page state */
179 * page cache and RSS per cgroup. We would eventually like to provide
335 /* page->memcg_data is a pointer to an slabobj_ext vector */
337 /* page has been accounted as a non-slab kernel page */
446 static inline struct mem_cgroup *page_memcg(struct page *page) argument
522 page_memcg_check(struct page *page) argument
568 PageMemcgKmem(struct page *page) argument
1008 mod_memcg_page_state(struct page *page, enum memcg_stat_item idx, int val) argument
1136 page_memcg(struct page *page) argument
1152 page_memcg_check(struct page *page) argument
1167 PageMemcgKmem(struct page *page) argument
1506 mod_memcg_page_state(struct page *page, enum memcg_stat_item idx, int val) argument
1539 struct page *page = virt_to_head_page(p); local
1547 struct page *page = virt_to_head_page(p); local
1807 memcg_kmem_charge_page(struct page *page, gfp_t gfp, int order) argument
1815 memcg_kmem_uncharge_page(struct page *page, int order) argument
1853 memcg_kmem_charge_page(struct page *page, gfp_t gfp, int order) argument
1859 memcg_kmem_uncharge_page(struct page *page, int order) argument
1863 __memcg_kmem_charge_page(struct page *page, gfp_t gfp, int order) argument
1869 __memcg_kmem_uncharge_page(struct page *page, int order) argument
[all...]
/linux-master/mm/
H A Dpage_owner.c282 void __reset_page_owner(struct page *page, unsigned short order) argument
290 page_ext = page_ext_get(page);
313 noinline void __set_page_owner(struct page *page, unsigned short order, argument
322 page_ext = page_ext_get(page);
332 void __set_page_owner_migrate_reason(struct page *page, int reason) argument
334 struct page_ext *page_ext = page_ext_get(page);
345 void __split_page_owner(struct page *pag argument
416 struct page *page; local
499 print_page_owner_memcg(char *kbuf, size_t count, int ret, struct page *page) argument
536 print_page_owner(char __user *buf, size_t count, unsigned long pfn, struct page *page, struct page_owner *page_owner, depot_stack_handle_t handle) argument
593 __dump_page_owner(const struct page *page) argument
651 struct page *page; local
783 struct page *page = pfn_to_page(pfn); local
[all...]
H A Dmmu_gather.c59 struct page *page = encoded_page_ptr(enc); local
66 folio_remove_rmap_ptes(page_folio(page), page, nr_pages, local
111 * Make sure we cover page + nr_pages, and don't leave
119 * With page poisoning and init_on_free, the time it
165 struct page *page, unsigned int nr_pages, bool delay_rmap,
176 VM_WARN_ON_ONCE(page_folio(page) != page_folio(page
164 __tlb_remove_folio_pages_size(struct mmu_gather *tlb, struct page *page, unsigned int nr_pages, bool delay_rmap, int page_size) argument
205 __tlb_remove_folio_pages(struct mmu_gather *tlb, struct page *page, unsigned int nr_pages, bool delay_rmap) argument
212 __tlb_remove_page_size(struct mmu_gather *tlb, struct page *page, bool delay_rmap, int page_size) argument
[all...]
/linux-master/drivers/xen/
H A Dgrant-table.c55 #include <xen/page.h>
136 * granted domain, frame is the page frame to be granted, and flags is
493 struct page *page; member in struct:deferred_entry
527 entry->ref, page_to_pfn(entry->page),
529 put_page(entry->page);
553 static void gnttab_add_deferred(grant_ref_t ref, struct page *page) argument
560 if (!page) {
563 page
603 gnttab_end_foreign_access(grant_ref_t ref, struct page *page) argument
918 struct page *page; local
926 cache_enq(struct gnttab_page_cache *cache, struct page *page) argument
944 struct page *page; local
952 cache_enq(struct gnttab_page_cache *cache, struct page *page) argument
966 gnttab_page_cache_get(struct gnttab_page_cache *cache, struct page **page) argument
986 gnttab_page_cache_put(struct gnttab_page_cache *cache, struct page **page, unsigned int num) argument
1004 struct page *page[10]; local
1086 struct page *page = pfn_to_page(pfn); local
1197 gnttab_foreach_grant_in_range(struct page *page, unsigned int offset, unsigned int len, xen_grant_fn_t fn, void *data) argument
[all...]
/linux-master/fs/f2fs/
H A Dcompress.c29 unsigned int size = sizeof(struct page *) * nr;
40 unsigned int size = sizeof(struct page *) * nr;
76 bool f2fs_is_compressed_page(struct page *page) argument
78 if (!PagePrivate(page))
80 if (!page_private(page))
82 if (page_private_nonpointer(page))
85 f2fs_bug_on(F2FS_M_SB(page->mapping),
86 *((u32 *)page_private(page)) != F2FS_COMPRESSED_PAGE_MAGIC);
90 static void f2fs_set_compressed_page(struct page *pag argument
138 f2fs_compress_control_page(struct page *page) argument
163 f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page) argument
584 struct page *page; local
592 f2fs_compress_free_page(struct page *page) argument
801 f2fs_end_read_compressed_page(struct page *page, bool failed, block_t blkaddr, bool in_task) argument
877 struct page *page = cc->rpages[i]; local
1069 struct page *page; local
1446 f2fs_compress_write_end_io(struct bio *bio, struct page *page) argument
1697 struct page *page; local
1838 f2fs_put_page_dic(struct page *page, bool in_task) argument
1890 f2fs_cache_compressed_page(struct f2fs_sb_info *sbi, struct page *page, nid_t ino, block_t blkaddr) argument
1929 f2fs_load_compressed_page(struct f2fs_sb_info *sbi, struct page *page, block_t blkaddr) argument
[all...]
H A Dverity.c49 struct page *page; local
51 page = read_mapping_page(inode->i_mapping, pos >> PAGE_SHIFT,
53 if (IS_ERR(page))
54 return PTR_ERR(page);
56 memcpy_from_page(buf, page, offset_in_page(pos), n);
58 put_page(page);
83 struct page *page; local
87 res = aops->write_begin(NULL, mapping, pos, n, &page,
[all...]
H A Df2fs.h13 #include <linux/page-flags.h>
306 struct page *page; /* warm node page pointer */ member in struct:fsync_node_entry
582 ALLOC_NODE, /* allocate a new node page if needed */
598 /* maximum retry of EIO'ed page */
788 FI_SKIP_WRITES, /* should skip data page writeback */
969 struct page *inode_page; /* its inode page, NULL is possible */
970 struct page *node_pag
1202 struct page *page; /* page to be written */ member in struct:f2fs_io_info
1982 F2FS_P_SB(struct page *page) argument
1997 F2FS_NODE(struct page *page) argument
2002 F2FS_INODE(struct page *page) argument
2403 get_page_private_data(struct page *page) argument
2412 set_page_private_data(struct page *page, unsigned long data) argument
2420 clear_page_private_data(struct page *page) argument
2427 clear_page_private_all(struct page *page) argument
2746 struct page *page; local
2782 f2fs_put_page(struct page *page, int unlock) argument
2879 IS_INODE(struct page *page) argument
3242 inline_xattr_addr(struct inode *inode, struct page *page) argument
3298 inline_data_addr(struct inode *inode, struct page *page) argument
4335 f2fs_is_compressed_page(struct page *page) argument
4344 f2fs_compress_control_page(struct page *page) argument
4353 f2fs_end_read_compressed_page(struct page *page, bool failed, block_t blkaddr, bool in_task) argument
4358 f2fs_put_page_dic(struct page *page, bool in_task) argument
4373 f2fs_cache_compressed_page(struct f2fs_sb_info *sbi, struct page *page, nid_t ino, block_t blkaddr) argument
4375 f2fs_load_compressed_page(struct f2fs_sb_info *sbi, struct page *page, block_t blkaddr) argument
4663 struct page *page; local
[all...]
/linux-master/drivers/char/agp/
H A Dali-agp.c10 #include <asm/page.h> /* PAGE_SIZE */
144 static struct page *m1541_alloc_page(struct agp_bridge_data *bridge)
146 struct page *page = agp_generic_alloc_page(agp_bridge); local
149 if (!page)
155 page_to_phys(page)) | ALI_CACHE_FLUSH_EN ));
156 return page;
159 static void ali_destroy_page(struct page *page, int flags) argument
161 if (page) {
170 m1541_destroy_page(struct page *page, int flags) argument
[all...]
H A Dbackend.c147 struct page *page = bridge->driver->agp_alloc_page(bridge); local
149 if (!page) {
151 "can't get memory for scratch page\n");
155 bridge->scratch_page_page = page;
156 bridge->scratch_page_dma = page_to_phys(page);
199 struct page *page = bridge->scratch_page_page; local
201 bridge->driver->agp_destroy_page(page, AGP_PAGE_DESTROY_UNMAP);
202 bridge->driver->agp_destroy_page(page, AGP_PAGE_DESTROY_FRE
226 struct page *page = bridge->scratch_page_page; local
[all...]
/linux-master/block/
H A Dblk-integrity.c221 char *page)
226 return sysfs_emit(page, "%s\n", bi->profile->name);
227 return sysfs_emit(page, "none\n");
231 char *page)
235 return sysfs_emit(page, "%u\n", bi->tag_size);
240 char *page)
244 return sysfs_emit(page, "%u\n",
250 const char *page, size_t count)
253 char *p = (char *) page;
265 struct device_attribute *attr, char *page)
220 format_show(struct device *dev, struct device_attribute *attr, char *page) argument
230 tag_size_show(struct device *dev, struct device_attribute *attr, char *page) argument
238 protection_interval_bytes_show(struct device *dev, struct device_attribute *attr, char *page) argument
248 read_verify_store(struct device *dev, struct device_attribute *attr, const char *page, size_t count) argument
264 read_verify_show(struct device *dev, struct device_attribute *attr, char *page) argument
272 write_generate_store(struct device *dev, struct device_attribute *attr, const char *page, size_t count) argument
289 write_generate_show(struct device *dev, struct device_attribute *attr, char *page) argument
297 device_is_integrity_capable_show(struct device *dev, struct device_attribute *attr, char *page) argument
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_reset.c24 resource_size_t num_pages, page; local
82 for (page = 0; page < num_pages; page++) {
83 dma_addr_t dma = (dma_addr_t)dsm->start + (page << PAGE_SHIFT);
99 page << PAGE_SHIFT,
100 ((page + 1) << PAGE_SHIFT) - 1))
106 crc[page] = crc32_le(0, in, PAGE_SIZE);
124 for (page = 0; page < num_page
[all...]
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-dmamap.c20 static void imgu_dmamap_free_buffer(struct page **pages,
34 static struct page **imgu_dmamap_alloc_buffer(size_t size, gfp_t gfp)
36 struct page **pages;
41 /* Allocate mem for array of page ptrs */
50 struct page *page = NULL; local
58 page = alloc_pages((order_mask - order_size) ?
60 if (!page)
64 if (!PageCompound(page)) {
65 split_page(page, orde
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvif/
H A Dvmm.c78 u8 page, u8 align, u64 size, struct nvif_vma *vma)
85 args.page = page;
194 kfree(vmm->page);
208 vmm->page = NULL;
236 vmm->page = kmalloc_array(vmm->page_nr, sizeof(*vmm->page),
238 if (!vmm->page) {
251 vmm->page[i].shift = args.shift;
252 vmm->page[
77 nvif_vmm_get(struct nvif_vmm *vmm, enum nvif_vmm_get type, bool sparse, u8 page, u8 align, u64 size, struct nvif_vma *vma) argument
[all...]
/linux-master/drivers/mfd/
H A Drsmu_spi.c53 * 7C 00 C0 #Set page register
92 * from the offset addr byte and the upper 9 bits come from the page register.
99 u32 page; local
104 /* Do not modify page register for none-scsr registers */
108 page = reg & RSMU_PAGE_MASK;
109 buf[0] = (u8)(page & 0xFF);
110 buf[1] = (u8)((page >> 8) & 0xFF);
111 buf[2] = (u8)((page >> 16) & 0xFF);
112 buf[3] = (u8)((page >> 24) & 0xFF);
116 /* Do not modify page registe
[all...]
/linux-master/arch/sparc/mm/
H A Diommu.c43 extern void viking_flush_page(unsigned long page);
44 extern void viking_mxcc_flush_page(unsigned long page);
91 /* Allocate IOMMU page table */
120 /* To be coherent on HyperSparc, the page color of DVMA
184 static dma_addr_t __sbus_iommu_map_page(struct device *dev, struct page *page, argument
188 phys_addr_t paddr = page_to_phys(page) + offset;
205 if (per_page_flush && !PageHighMem(page)) {
208 vaddr = (unsigned long)page_address(page) + offset;
213 /* page colo
234 sbus_iommu_map_page_gflush(struct device *dev, struct page *page, unsigned long offset, size_t len, enum dma_data_direction dir, unsigned long attrs) argument
242 sbus_iommu_map_page_pflush(struct device *dev, struct page *page, unsigned long offset, size_t len, enum dma_data_direction dir, unsigned long attrs) argument
317 unsigned long va, addr, page, end, ret; local
400 struct page *page = virt_to_page(cpu_addr); local
[all...]
/linux-master/mm/kasan/
H A Dcommon.c118 bool __kasan_unpoison_pages(struct page *page, unsigned int order, bool init) argument
123 if (unlikely(PageHighMem(page)))
130 kasan_unpoison(set_tag(page_address(page), tag),
133 page_kasan_tag_set(page + i, tag);
138 void __kasan_poison_pages(struct page *page, unsigned int order, bool init) argument
140 if (likely(!PageHighMem(page)))
141 kasan_poison(page_address(page), PAGE_SIZE << order,
147 struct page *pag local
462 __kasan_mempool_poison_pages(struct page *page, unsigned int order, unsigned long ip) argument
485 __kasan_mempool_unpoison_pages(struct page *page, unsigned int order, unsigned long ip) argument
[all...]
/linux-master/drivers/vdpa/vdpa_user/
H A Diova_domain.c141 struct page *page; local
147 page = pfn_to_page(pfn);
149 memcpy_from_page(addr, page, offset, sz);
151 memcpy_to_page(page, offset, addr, sz);
189 static struct page *
195 struct page *page = NULL; local
202 page = pfn_to_page((map->addr + iova - map->start) >> PAGE_SHIFT);
203 get_page(page);
214 struct page *page = NULL; local
297 struct page *page = NULL; local
396 vduse_domain_map_page(struct vduse_iova_domain *domain, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, unsigned long attrs) argument
510 struct page *page; local
[all...]
/linux-master/fs/btrfs/
H A Dextent_io.c8 #include <linux/page-flags.h>
171 struct page *page; local
174 page = find_get_page(inode->i_mapping, index);
175 BUG_ON(!page); /* Pages should be in the extent_io_tree */
176 clear_page_dirty_for_io(page);
177 put_page(page);
183 struct page *page, struct page *locked_pag
182 process_one_page(struct btrfs_fs_info *fs_info, struct page *page, struct page *locked_page, unsigned long page_ops, u64 start, u64 end) argument
275 struct page *page = folio_page(folio, 0); local
424 btrfs_verify_page(struct page *page, u64 start) argument
433 end_page_read(struct page *page, bool uptodate, u64 start, u32 len) argument
568 begin_page_read(struct btrfs_fs_info *fs_info, struct page *page) argument
756 btrfs_bio_is_contig(struct btrfs_bio_ctrl *bio_ctrl, struct page *page, u64 disk_bytenr, unsigned int pg_offset) argument
838 submit_extent_page(struct btrfs_bio_ctrl *bio_ctrl, u64 disk_bytenr, struct page *page, size_t size, unsigned long pg_offset) argument
949 set_page_extent_mapped(struct page *page) argument
972 clear_page_extent_mapped(struct page *page) argument
989 __get_extent_map(struct inode *inode, struct page *page, u64 start, u64 len, struct extent_map **em_cached) argument
1023 btrfs_do_readpage(struct page *page, struct extent_map **em_cached, struct btrfs_bio_ctrl *bio_ctrl, u64 *prev_em_start) argument
1175 struct page *page = &folio->page; local
1226 writepage_delalloc(struct btrfs_inode *inode, struct page *page, struct writeback_control *wbc) argument
1295 find_next_dirty_byte(struct btrfs_fs_info *fs_info, struct page *page, u64 *start, u64 *end) argument
1341 __extent_writepage_io(struct btrfs_inode *inode, struct page *page, struct btrfs_bio_ctrl *bio_ctrl, loff_t i_size, int *nr_ret) argument
1466 __extent_writepage(struct page *page, struct btrfs_bio_ctrl *bio_ctrl) argument
1515 btrfs_mark_ordered_io_finished(BTRFS_I(inode), page, page_start, local
1788 submit_eb_subpage(struct page *page, struct writeback_control *wbc) argument
1870 submit_eb_page(struct page *page, struct btrfs_eb_write_context *ctx) argument
2244 struct page *page; local
2265 btrfs_mark_ordered_io_finished(BTRFS_I(inode), page, local
2358 try_release_extent_state(struct extent_io_tree *tree, struct page *page, gfp_t mask) argument
2397 try_release_extent_mapping(struct page *page, gfp_t mask) argument
3686 grab_extent_buffer( struct btrfs_fs_info *fs_info, struct page *page) argument
4967 get_next_extent_buffer( struct btrfs_fs_info *fs_info, struct page *page, u64 bytenr) argument
5004 try_release_subpage_extent_buffer(struct page *page) argument
5074 try_release_extent_buffer(struct page *page) argument
[all...]

Completed in 400 milliseconds

<<11121314151617181920>>