Home
last modified time | relevance | path

Searched refs:page (Results 301 - 325 of 6703) sorted by relevance

1...<<11121314151617181920>>...269

/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
H A Dltc2978.c176 static int ltc_read_word_data(struct i2c_client *client, int page, int phase, in ltc_read_word_data() argument
185 return pmbus_read_word_data(client, page, 0xff, reg); in ltc_read_word_data()
188 static int ltc_read_byte_data(struct i2c_client *client, int page, int reg) in ltc_read_byte_data() argument
196 return pmbus_read_byte_data(client, page, reg); in ltc_read_byte_data()
199 static int ltc_write_byte(struct i2c_client *client, int page, u8 byte) in ltc_write_byte() argument
207 return pmbus_write_byte(client, page, byte); in ltc_write_byte()
224 int page, int reg, u16 *pmax) in ltc_get_max()
228 ret = ltc_read_word_data(client, page, 0xff, reg); in ltc_get_max()
238 int page, int reg, u16 *pmin) in ltc_get_min()
242 ret = ltc_read_word_data(client, page, in ltc_get_min()
223 ltc_get_max(struct ltc2978_data *data, struct i2c_client *client, int page, int reg, u16 *pmax) ltc_get_max() argument
237 ltc_get_min(struct ltc2978_data *data, struct i2c_client *client, int page, int reg, u16 *pmin) ltc_get_min() argument
251 ltc2978_read_word_data_common(struct i2c_client *client, int page, int reg) ltc2978_read_word_data_common() argument
296 ltc2978_read_word_data(struct i2c_client *client, int page, int phase, int reg) ltc2978_read_word_data() argument
343 ltc2974_read_word_data(struct i2c_client *client, int page, int phase, int reg) ltc2974_read_word_data() argument
369 ltc2975_read_word_data(struct i2c_client *client, int page, int phase, int reg) ltc2975_read_word_data() argument
404 ltc3880_read_word_data(struct i2c_client *client, int page, int phase, int reg) ltc3880_read_word_data() argument
437 ltc3883_read_word_data(struct i2c_client *client, int page, int phase, int reg) ltc3883_read_word_data() argument
459 ltc2978_clear_peaks(struct ltc2978_data *data, struct i2c_client *client, int page) ltc2978_clear_peaks() argument
472 ltc2978_write_word_data(struct i2c_client *client, int page, int reg, u16 word) ltc2978_write_word_data() argument
[all...]
H A Dpmbus_core.c35 u8 page; /* page number */ member
64 /* Macros for converting between sensor index and register/page/status mask */
72 #define pb_reg_to_index(page, reg, mask) (((page) << PB_PAGE_SHIFT) | \
101 int (*read_status)(struct i2c_client *client, int page);
103 s16 currpage; /* current page, -1 for unknown/unset */
109 u8 page; member
144 int pmbus_set_page(struct i2c_client *client, int page, int phase) in pmbus_set_page() argument
149 if (page < in pmbus_set_page()
180 pmbus_write_byte(struct i2c_client *client, int page, u8 value) pmbus_write_byte() argument
196 _pmbus_write_byte(struct i2c_client *client, int page, u8 value) _pmbus_write_byte() argument
210 pmbus_write_word_data(struct i2c_client *client, int page, u8 reg, u16 word) pmbus_write_word_data() argument
224 pmbus_write_virt_reg(struct i2c_client *client, int page, int reg, u16 word) pmbus_write_virt_reg() argument
249 _pmbus_write_word_data(struct i2c_client *client, int page, int reg, u16 word) _pmbus_write_word_data() argument
268 pmbus_update_fan(struct i2c_client *client, int page, int id, u8 config, u8 mask, u16 command) pmbus_update_fan() argument
293 pmbus_read_word_data(struct i2c_client *client, int page, int phase, u8 reg) pmbus_read_word_data() argument
305 pmbus_read_virt_reg(struct i2c_client *client, int page, int reg) pmbus_read_virt_reg() argument
327 _pmbus_read_word_data(struct i2c_client *client, int page, int phase, int reg) _pmbus_read_word_data() argument
347 __pmbus_read_word_data(struct i2c_client *client, int page, int reg) __pmbus_read_word_data() argument
352 pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg) pmbus_read_byte_data() argument
364 pmbus_write_byte_data(struct i2c_client *client, int page, u8 reg, u8 value) pmbus_write_byte_data() argument
376 pmbus_update_byte_data(struct i2c_client *client, int page, u8 reg, u8 mask, u8 value) pmbus_update_byte_data() argument
399 _pmbus_read_byte_data(struct i2c_client *client, int page, int reg) _pmbus_read_byte_data() argument
413 pmbus_find_sensor(struct pmbus_data *data, int page, int reg) pmbus_find_sensor() argument
426 pmbus_get_fan_rate(struct i2c_client *client, int page, int id, enum pmbus_fan_mode mode, bool from_cache) pmbus_get_fan_rate() argument
461 pmbus_get_fan_rate_device(struct i2c_client *client, int page, int id, enum pmbus_fan_mode mode) pmbus_get_fan_rate_device() argument
468 pmbus_get_fan_rate_cached(struct i2c_client *client, int page, int id, enum pmbus_fan_mode mode) pmbus_get_fan_rate_cached() argument
475 pmbus_clear_fault_page(struct i2c_client *client, int page) pmbus_clear_fault_page() argument
504 pmbus_check_register(struct i2c_client *client, int (*func)(struct i2c_client *client, int page, int reg), int page, int reg) pmbus_check_register() argument
519 pmbus_check_status_register(struct i2c_client *client, int page) pmbus_check_status_register() argument
536 pmbus_check_byte_register(struct i2c_client *client, int page, int reg) pmbus_check_byte_register() argument
542 pmbus_check_word_register(struct i2c_client *client, int page, int reg) pmbus_check_word_register() argument
556 pmbus_get_status(struct i2c_client *client, int page, int reg) pmbus_get_status() argument
883 u8 page = pb_index_to_page(index); pmbus_get_boolean() local
1045 pmbus_add_boolean(struct pmbus_data *data, const char *name, const char *type, int seq, struct pmbus_sensor *s1, struct pmbus_sensor *s2, u8 page, u16 reg, u16 mask) pmbus_add_boolean() argument
1073 pmbus_add_sensor(struct pmbus_data *data, const char *name, const char *type, int seq, int page, int phase, int reg, enum pmbus_sensor_classes class, bool update, bool readonly, bool convert) pmbus_add_sensor() argument
1196 pmbus_add_limit_attrs(struct i2c_client *client, struct pmbus_data *data, const struct pmbus_driver_info *info, const char *name, int index, int page, struct pmbus_sensor *base, const struct pmbus_sensor_attr *attr) pmbus_add_limit_attrs() argument
1235 pmbus_add_sensor_attrs_one(struct i2c_client *client, struct pmbus_data *data, const struct pmbus_driver_info *info, const char *name, int index, int page, int phase, const struct pmbus_sensor_attr *attr, bool paged) pmbus_add_sensor_attrs_one() argument
1319 int page, pages; pmbus_add_sensor_attrs() local
1876 pmbus_add_fan_ctrl(struct i2c_client *client, struct pmbus_data *data, int index, int page, int id, u8 config) pmbus_add_fan_ctrl() argument
1915 int page; pmbus_add_fan_attributes() local
1992 int page; global() member
2055 pmbus_add_samples_attr(struct pmbus_data *data, int page, struct pmbus_samples_attr *attr) pmbus_add_samples_attr() argument
2140 pmbus_identify_common(struct i2c_client *client, struct pmbus_data *data, int page) pmbus_identify_common() argument
2177 pmbus_read_status_byte(struct i2c_client *client, int page) pmbus_read_status_byte() argument
2182 pmbus_read_status_word(struct i2c_client *client, int page) pmbus_read_status_word() argument
2191 int page, ret; pmbus_init_common() local
2259 u8 page = rdev_get_id(rdev); pmbus_regulator_is_enabled() local
2277 u8 page = rdev_get_id(rdev); _pmbus_regulator_on_off() local
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dextent_io.c8 #include <linux/page-flags.h>
192 * Submit bio from extent page data via submit_one_bio
1495 struct page *page; in extent_range_clear_dirty_for_io() local
1498 page = find_get_page(inode->i_mapping, index); in extent_range_clear_dirty_for_io()
1499 BUG_ON(!page); /* Pages should be in the extent_io_tree */ in extent_range_clear_dirty_for_io()
1500 clear_page_dirty_for_io(page); in extent_range_clear_dirty_for_io()
1501 put_page(page); in extent_range_clear_dirty_for_io()
1510 struct page *page; in extent_range_redirty_for_io() local
2211 check_page_uptodate(struct extent_io_tree *tree, struct page *page) check_page_uptodate() argument
2253 repair_io_failure(struct btrfs_fs_info *fs_info, u64 ino, u64 start, u64 length, u64 logical, struct page *page, unsigned int pg_offset, int mirror_num) repair_io_failure() argument
2361 clean_io_failure(struct btrfs_fs_info *fs_info, struct extent_io_tree *failure_tree, struct extent_io_tree *io_tree, u64 start, struct page *page, u64 ino, unsigned int pg_offset) clean_io_failure() argument
2642 btrfs_submit_read_repair(struct inode *inode, struct bio *failed_bio, u64 phy_offset, struct page *page, unsigned int pgoff, u64 start, u64 end, int failed_mirror, submit_bio_hook_t *submit_bio_hook) btrfs_submit_read_repair() argument
2712 end_extent_writepage(struct page *page, int err, u64 start, u64 end) end_extent_writepage() argument
2746 struct page *page = bvec->bv_page; end_bio_extent_writepage() local
2817 struct page *page = bvec->bv_page; end_bio_extent_readpage() local
3026 submit_extent_page(unsigned int opf, struct writeback_control *wbc, struct page *page, u64 offset, size_t size, unsigned long pg_offset, struct bio **bio_ret, bio_end_io_t end_io_func, int mirror_num, unsigned long prev_bio_flags, unsigned long bio_flags, bool force_bio_submit) submit_extent_page() argument
3094 attach_extent_buffer_page(struct extent_buffer *eb, struct page *page) attach_extent_buffer_page() argument
3103 set_page_extent_mapped(struct page *page) set_page_extent_mapped() argument
3110 __get_extent_map(struct inode *inode, struct page *page, size_t pg_offset, u64 start, u64 len, struct extent_map **em_cached) __get_extent_map() argument
3142 btrfs_do_readpage(struct page *page, struct extent_map **em_cached, struct bio **bio, unsigned long *bio_flags, unsigned int read_flags, u64 *prev_em_start) btrfs_do_readpage() argument
3381 writepage_delalloc(struct btrfs_inode *inode, struct page *page, struct writeback_control *wbc, u64 delalloc_start, unsigned long *nr_written) writepage_delalloc() argument
3454 __extent_writepage_io(struct btrfs_inode *inode, struct page *page, struct writeback_control *wbc, struct extent_page_data *epd, loff_t i_size, unsigned long nr_written, int *nr_ret) __extent_writepage_io() argument
3575 __extent_writepage(struct page *page, struct writeback_control *wbc, struct extent_page_data *epd) __extent_writepage() argument
3763 set_btree_ioerr(struct page *page) set_btree_ioerr() argument
3848 struct page *page = bvec->bv_page; end_bio_extent_buffer_writepage() local
3984 struct page *page = pvec.pages[i]; btree_write_cache_pages() local
4183 struct page *page = pvec.pages[i]; extent_write_cache_pages() local
4260 extent_write_full_page(struct page *page, struct writeback_control *wbc) extent_write_full_page() argument
4286 struct page *page; extent_write_locked_range() local
4382 extent_invalidatepage(struct extent_io_tree *tree, struct page *page, unsigned long offset) extent_invalidatepage() argument
4406 try_release_extent_state(struct extent_io_tree *tree, struct page *page, gfp_t mask) try_release_extent_state() argument
4440 try_release_extent_mapping(struct page *page, gfp_t mask) try_release_extent_mapping() argument
4909 struct page *page = eb->pages[i]; btrfs_release_extent_buffer_pages() local
5407 struct page *page; clear_extent_buffer_dirty() local
5460 struct page *page; clear_extent_buffer_uptodate() local
5475 struct page *page; set_extent_buffer_uptodate() local
5489 struct page *page; read_extent_buffer_pages() local
5632 struct page *page; read_extent_buffer() local
5668 struct page *page; read_extent_buffer_to_user_nofault() local
5703 struct page *page; memcmp_extent_buffer() local
5758 struct page *page; write_extent_buffer() local
5788 struct page *page; memzero_extent_buffer() local
5833 struct page *page; copy_extent_buffer() local
5903 struct page *page; extent_buffer_test_bit() local
5925 struct page *page; extent_buffer_bitmap_set() local
5968 struct page *page; extent_buffer_bitmap_clear() local
6099 try_release_extent_buffer(struct page *page) try_release_extent_buffer() argument
[all...]
/kernel/linux/linux-5.10/mm/
H A Dmemory.c33 * 05.04.94 - Multi-page memory management added for v1.1.
39 * Aug/Sep 2004 Changed to four level page tables (Andi Kleen)
92 #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
100 struct page *mem_map;
193 /* sync counter once per 64 page faults */
328 * This function frees user-level page tables of a process.
379 * We add page table cache pages with PAGE_SIZE, in free_pgd_range()
435 * Ensure all pte setup (eg. pte page lock and page clearing) are in __pte_alloc()
437 * put into page table in __pte_alloc()
503 print_bad_pte(struct vm_area_struct *vma, unsigned long addr, pte_t pte, struct page *page) print_bad_pte() argument
706 struct page *page; copy_nonpresent_pte() local
800 copy_present_page(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma, pte_t *dst_pte, pte_t *src_pte, unsigned long addr, int *rss, struct page **prealloc, pte_t pte, struct page *page) copy_present_page() argument
876 struct page *page; copy_present_pte() local
1260 struct page *page; zap_pte_range() local
1305 struct page *page = device_private_entry_to_page(entry); zap_pte_range() local
1331 struct page *page; zap_pte_range() local
1667 validate_page_before_insert(struct page *page) validate_page_before_insert() argument
1675 insert_page_into_pte_locked(struct mm_struct *mm, pte_t *pte, unsigned long addr, struct page *page, pgprot_t prot) insert_page_into_pte_locked() argument
1695 insert_page(struct vm_area_struct *vma, unsigned long addr, struct page *page, pgprot_t prot) insert_page() argument
1717 insert_page_in_batch_locked(struct mm_struct *mm, pte_t *pte, unsigned long addr, struct page *page, pgprot_t prot) insert_page_in_batch_locked() argument
1862 vm_insert_page(struct vm_area_struct *vma, unsigned long addr, struct page *page) vm_insert_page() argument
2127 struct page *page; __vm_insert_mixed() local
2746 struct page *page = vmf->page; do_page_mkwrite() local
2781 struct page *page = vmf->page; fault_dirty_shared_page() local
2786 VM_BUG_ON_PAGE(PageAnon(page), page); fault_dirty_shared_page() local
2834 struct page *page = vmf->page; global() variable
3184 struct page *page = vmf->page; global() variable
3192 unlock_page(page); global() variable
3200 unlock_page(page); global() variable
3267 unmap_mapping_page(struct page *page) unmap_mapping_page() argument
3361 struct page *page = NULL, *swapcache; do_swap_page() local
3608 struct page *page; do_anonymous_page() local
3777 struct page *page = vmf->page; __do_fault() local
3875 do_set_pmd(struct vm_fault *vmf, struct page *page) do_set_pmd() argument
3933 do_set_pmd(struct vm_fault *vmf, struct page *page) do_set_pmd() argument
3955 alloc_set_pte(struct vm_fault *vmf, struct page *page) alloc_set_pte() argument
4025 struct page *page; finish_fault() local
4321 numa_migrate_prep(struct page *page, struct vm_area_struct *vma, unsigned long addr, int page_nid, int *flags) numa_migrate_prep() argument
4339 struct page *page = NULL; do_numa_page() local
5073 struct page *page = NULL; __access_remote_vm() local
5270 clear_gigantic_page(struct page *page, unsigned long addr, unsigned int pages_per_huge_page) clear_gigantic_page() argument
5287 struct page *page = arg; clear_subpage() local
5292 clear_huge_page(struct page *page, unsigned long addr_hint, unsigned int pages_per_huge_page) clear_huge_page() argument
5407 ptlock_alloc(struct page *page) ptlock_alloc() argument
5418 ptlock_free(struct page *page) ptlock_free() argument
[all...]
H A Dmemory_hotplug.c29 #include <linux/page-isolation.h>
47 * online_page_callback contains pointer to current page onlining function.
145 void get_page_bootmem(unsigned long info, struct page *page, in get_page_bootmem() argument
148 page->freelist = (void *)type; in get_page_bootmem()
149 SetPagePrivate(page); in get_page_bootmem()
150 set_page_private(page, info); in get_page_bootmem()
151 page_ref_inc(page); in get_page_bootmem()
154 void put_page_bootmem(struct page *page) in put_page_bootmem() argument
177 struct page *page, *memmap; register_page_bootmem_info_section() local
212 struct page *page, *memmap; register_page_bootmem_info_section() local
236 struct page *page; register_page_bootmem_info_node() local
593 generic_online_page(struct page *page, unsigned int order) generic_online_page() argument
1198 struct page *page; test_pages_in_a_zone() local
1245 struct page *page, *head; scan_movable_pages() local
1283 struct page *page, *head; do_migrate_range() local
1808 struct page *page; try_offline_memory_block() local
[all...]
H A Dmadvise.c13 #include <linux/page-isolation.h>
204 struct page *page; in swapin_walk_pmd_entry() local
217 page = read_swap_cache_async(entry, GFP_HIGHUSER_MOVABLE, in swapin_walk_pmd_entry()
219 if (page) in swapin_walk_pmd_entry()
220 put_page(page); in swapin_walk_pmd_entry()
236 struct page *page; in force_shm_swapin_readahead() local
239 xas_for_each(&xas, page, end_index) { in force_shm_swapin_readahead()
242 if (!xa_is_value(page)) in force_shm_swapin_readahead()
323 struct page *page = NULL; madvise_cold_or_pageout_pte_range() local
450 VM_BUG_ON_PAGE(PageTransCompound(page), page); madvise_cold_or_pageout_pte_range() local
586 struct page *page; madvise_free_pte_range() local
656 VM_BUG_ON_PAGE(PageTransCompound(page), page); madvise_free_pte_range() local
988 struct page *page; madvise_inject_error() local
[all...]
/kernel/linux/linux-5.10/arch/nds32/include/asm/
H A Dpage.h23 struct page;
26 extern void copy_user_highpage(struct page *to, struct page *from,
28 extern void clear_user_highpage(struct page *page, unsigned long vaddr);
31 struct page *to);
32 void clear_user_page(void *addr, unsigned long vaddr, struct page *page);
36 #define clear_user_page(page, vaddr, pg) clear_page(page)
[all...]
/kernel/linux/linux-5.10/fs/nfs/
H A Dfscache.c332 * Release the caching state associated with a page, if the page isn't busy
334 * - Returns true (can release page) or false (page busy).
336 int nfs_fscache_release_page(struct page *page, gfp_t gfp) in nfs_fscache_release_page() argument
338 if (PageFsCache(page)) { in nfs_fscache_release_page()
339 struct fscache_cookie *cookie = nfs_i_fscache(page->mapping->host); in nfs_fscache_release_page()
343 cookie, page, NFS_I(page in nfs_fscache_release_page()
359 __nfs_fscache_invalidate_page(struct page *page, struct inode *inode) __nfs_fscache_invalidate_page() argument
380 nfs_readpage_from_fscache_complete(struct page *page, void *context, int error) nfs_readpage_from_fscache_complete() argument
403 __nfs_readpage_from_fscache(struct nfs_open_context *ctx, struct inode *inode, struct page *page) __nfs_readpage_from_fscache() argument
493 __nfs_readpage_to_fscache(struct inode *inode, struct page *page, int sync) __nfs_readpage_to_fscache() argument
508 fscache_uncache_page(nfs_i_fscache(inode), page); __nfs_readpage_to_fscache() local
[all...]
/kernel/linux/linux-5.10/fs/crypto/
H A Dcrypto.c50 struct page *fscrypt_alloc_bounce_page(gfp_t gfp_flags) in fscrypt_alloc_bounce_page()
56 * fscrypt_free_bounce_page() - free a ciphertext bounce page
57 * @bounce_page: the bounce page to free, or NULL
59 * Free a bounce page that was allocated by fscrypt_encrypt_pagecache_blocks(),
62 void fscrypt_free_bounce_page(struct page *bounce_page) in fscrypt_free_bounce_page()
94 u64 lblk_num, struct page *src_page, in fscrypt_crypt_block()
95 struct page *dest_page, unsigned int len, in fscrypt_crypt_block()
141 * pagecache page
142 * @page: The locked pagecache page containin
164 fscrypt_encrypt_pagecache_blocks(struct page *page, unsigned int len, unsigned int offs, gfp_t gfp_flags) fscrypt_encrypt_pagecache_blocks() argument
221 fscrypt_encrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num, gfp_t gfp_flags) fscrypt_encrypt_block_inplace() argument
247 fscrypt_decrypt_pagecache_blocks(struct page *page, unsigned int len, unsigned int offs) fscrypt_decrypt_pagecache_blocks() argument
290 fscrypt_decrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num) fscrypt_decrypt_block_inplace() argument
[all...]
/kernel/linux/linux-5.10/fs/proc/
H A Dpage.c16 #include <linux/kernel-page-flags.h>
39 /* /proc/kpagecount - an array exposing page counts
42 * physical page count.
49 struct page *ppage; in kpagecount_read()
97 /* /proc/kpageflags - an array exposing page flags
100 * physical page flags.
108 u64 stable_page_flags(struct page *page) in stable_page_flags() argument
115 * it differentiates a memory hole from a page with no flags in stable_page_flags()
117 if (!page) in stable_page_flags()
[all...]
/kernel/linux/linux-6.6/fs/proc/
H A Dpage.c17 #include <linux/kernel-page-flags.h>
40 /* /proc/kpagecount - an array exposing page counts
43 * physical page count.
50 struct page *ppage; in kpagecount_read()
99 /* /proc/kpageflags - an array exposing page flags
102 * physical page flags.
110 u64 stable_page_flags(struct page *page) in stable_page_flags() argument
117 * it differentiates a memory hole from a page with no flags in stable_page_flags()
119 if (!page) in stable_page_flags()
[all...]
/third_party/node/deps/v8/src/heap/cppgc/
H A Dheap-page.cc5 #include "src/heap/cppgc/heap-page.h"
18 #include "src/heap/cppgc/page-memory.h"
48 void BasePage::Destroy(BasePage* page) { in Destroy() argument
49 if (page->discarded_memory()) { in Destroy()
50 page->space() in Destroy()
54 ->DecrementDiscardedMemory(page->discarded_memory()); in Destroy()
56 if (page->is_large()) { in Destroy()
57 LargePage::Destroy(LargePage::From(page)); in Destroy()
59 NormalPage::Destroy(NormalPage::From(page)); in Destroy()
132 // b) memory retrieved from the page poo in Create()
153 Destroy(NormalPage* page) Destroy() argument
232 LargePage* page = new (memory) LargePage(*heap, space, size); Create() local
239 Destroy(LargePage* page) Destroy() argument
[all...]
/kernel/linux/linux-5.10/fs/f2fs/
H A Dverity.c49 struct page *page; in pagecache_read() local
51 page = read_mapping_page(inode->i_mapping, pos >> PAGE_SHIFT, in pagecache_read()
53 if (IS_ERR(page)) in pagecache_read()
54 return PTR_ERR(page); in pagecache_read()
56 memcpy_from_page(buf, page, offset_in_page(pos), n); in pagecache_read()
58 put_page(page); in pagecache_read()
80 struct page *page; in pagecache_write() local
85 &page, in pagecache_write()
258 struct page *page; f2fs_read_merkle_tree_page() local
[all...]
/kernel/linux/linux-6.6/fs/f2fs/
H A Dverity.c49 struct page *page; in pagecache_read() local
51 page = read_mapping_page(inode->i_mapping, pos >> PAGE_SHIFT, in pagecache_read()
53 if (IS_ERR(page)) in pagecache_read()
54 return PTR_ERR(page); in pagecache_read()
56 memcpy_from_page(buf, page, offset_in_page(pos), n); in pagecache_read()
58 put_page(page); in pagecache_read()
83 struct page *page; in pagecache_write() local
87 res = aops->write_begin(NULL, mapping, pos, n, &page, in pagecache_write()
261 struct page *page; f2fs_read_merkle_tree_page() local
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dnetfs.h26 * a page is currently backed by a local disk cache
29 #define PageFsCache(page) PagePrivate2((page))
30 #define SetPageFsCache(page) SetPagePrivate2((page))
31 #define ClearPageFsCache(page) ClearPagePrivate2((page))
32 #define TestSetPageFsCache(page) TestSetPagePrivate2((page))
33 #define TestClearPageFsCache(page) TestClearPagePrivate
92 set_page_fscache(struct page *page) set_page_fscache() argument
97 end_page_fscache(struct page *page) end_page_fscache() argument
102 wait_on_page_fscache(struct page *page) wait_on_page_fscache() argument
107 wait_on_page_fscache_killable(struct page *page) wait_on_page_fscache_killable() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/
H A Dpmbus_core.c37 u8 page; /* page number */ member
66 /* Macros for converting between sensor index and register/page/status mask */
74 #define pb_reg_to_index(page, reg, mask) (((page) << PB_PAGE_SHIFT) | \
104 int (*read_status)(struct i2c_client *client, int page);
106 s16 currpage; /* current page, -1 for unknown/unset */
115 u8 page; member
161 int pmbus_set_page(struct i2c_client *client, int page, int phase) in pmbus_set_page() argument
166 if (page < in pmbus_set_page()
197 pmbus_write_byte(struct i2c_client *client, int page, u8 value) pmbus_write_byte() argument
213 _pmbus_write_byte(struct i2c_client *client, int page, u8 value) _pmbus_write_byte() argument
227 pmbus_write_word_data(struct i2c_client *client, int page, u8 reg, u16 word) pmbus_write_word_data() argument
241 pmbus_write_virt_reg(struct i2c_client *client, int page, int reg, u16 word) pmbus_write_virt_reg() argument
266 _pmbus_write_word_data(struct i2c_client *client, int page, int reg, u16 word) _pmbus_write_word_data() argument
289 _pmbus_write_byte_data(struct i2c_client *client, int page, int reg, u8 value) _pmbus_write_byte_data() argument
307 _pmbus_read_byte_data(struct i2c_client *client, int page, int reg) _pmbus_read_byte_data() argument
321 pmbus_update_fan(struct i2c_client *client, int page, int id, u8 config, u8 mask, u16 command) pmbus_update_fan() argument
346 pmbus_read_word_data(struct i2c_client *client, int page, int phase, u8 reg) pmbus_read_word_data() argument
358 pmbus_read_virt_reg(struct i2c_client *client, int page, int reg) pmbus_read_virt_reg() argument
380 _pmbus_read_word_data(struct i2c_client *client, int page, int phase, int reg) _pmbus_read_word_data() argument
400 __pmbus_read_word_data(struct i2c_client *client, int page, int reg) __pmbus_read_word_data() argument
405 pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg) pmbus_read_byte_data() argument
417 pmbus_write_byte_data(struct i2c_client *client, int page, u8 reg, u8 value) pmbus_write_byte_data() argument
429 pmbus_update_byte_data(struct i2c_client *client, int page, u8 reg, u8 mask, u8 value) pmbus_update_byte_data() argument
448 pmbus_read_block_data(struct i2c_client *client, int page, u8 reg, char *data_buf) pmbus_read_block_data() argument
460 pmbus_find_sensor(struct pmbus_data *data, int page, int reg) pmbus_find_sensor() argument
473 pmbus_get_fan_rate(struct i2c_client *client, int page, int id, enum pmbus_fan_mode mode, bool from_cache) pmbus_get_fan_rate() argument
508 pmbus_get_fan_rate_device(struct i2c_client *client, int page, int id, enum pmbus_fan_mode mode) pmbus_get_fan_rate_device() argument
515 pmbus_get_fan_rate_cached(struct i2c_client *client, int page, int id, enum pmbus_fan_mode mode) pmbus_get_fan_rate_cached() argument
522 pmbus_clear_fault_page(struct i2c_client *client, int page) pmbus_clear_fault_page() argument
551 pmbus_check_register(struct i2c_client *client, int (*func)(struct i2c_client *client, int page, int reg), int page, int reg) pmbus_check_register() argument
569 pmbus_check_status_register(struct i2c_client *client, int page) pmbus_check_status_register() argument
586 pmbus_check_byte_register(struct i2c_client *client, int page, int reg) pmbus_check_byte_register() argument
592 pmbus_check_word_register(struct i2c_client *client, int page, int reg) pmbus_check_word_register() argument
598 pmbus_check_block_register(struct i2c_client *client, int page, int reg) pmbus_check_block_register() argument
622 pmbus_get_status(struct i2c_client *client, int page, int reg) pmbus_get_status() argument
1079 u8 page = pb_index_to_page(index); pmbus_get_boolean() local
1241 pmbus_add_boolean(struct pmbus_data *data, const char *name, const char *type, int seq, struct pmbus_sensor *s1, struct pmbus_sensor *s2, u8 page, u16 reg, u16 mask) pmbus_add_boolean() argument
1331 pmbus_add_sensor(struct pmbus_data *data, const char *name, const char *type, int seq, int page, int phase, int reg, enum pmbus_sensor_classes class, bool update, bool readonly, bool convert) pmbus_add_sensor() argument
1458 pmbus_add_limit_attrs(struct i2c_client *client, struct pmbus_data *data, const struct pmbus_driver_info *info, const char *name, int index, int page, struct pmbus_sensor *base, const struct pmbus_sensor_attr *attr) pmbus_add_limit_attrs() argument
1497 pmbus_add_sensor_attrs_one(struct i2c_client *client, struct pmbus_data *data, const struct pmbus_driver_info *info, const char *name, int index, int page, int phase, const struct pmbus_sensor_attr *attr, bool paged) pmbus_add_sensor_attrs_one() argument
1581 int page, pages; pmbus_add_sensor_attrs() local
2138 pmbus_add_fan_ctrl(struct i2c_client *client, struct pmbus_data *data, int index, int page, int id, u8 config) pmbus_add_fan_ctrl() argument
2177 int page; pmbus_add_fan_attributes() local
2254 int page; global() member
2317 pmbus_add_samples_attr(struct pmbus_data *data, int page, struct pmbus_samples_attr *attr) pmbus_add_samples_attr() argument
2507 pmbus_identify_common(struct i2c_client *client, struct pmbus_data *data, int page) pmbus_identify_common() argument
2547 pmbus_read_status_byte(struct i2c_client *client, int page) pmbus_read_status_byte() argument
2552 pmbus_read_status_word(struct i2c_client *client, int page) pmbus_read_status_word() argument
2597 int page, ret; pmbus_init_common() local
2748 _pmbus_is_enabled(struct i2c_client *client, u8 page) _pmbus_is_enabled() argument
2760 pmbus_is_enabled(struct i2c_client *client, u8 page) pmbus_is_enabled() argument
2775 pmbus_notify(struct pmbus_data *data, int page, int reg, int flags) pmbus_notify() argument
2799 _pmbus_get_flags(struct pmbus_data *data, u8 page, unsigned int *flags, unsigned int *event, bool notify) _pmbus_get_flags() argument
2884 pmbus_get_flags(struct pmbus_data *data, u8 page, unsigned int *flags, unsigned int *event, bool notify) pmbus_get_flags() argument
2910 u8 page = rdev_get_id(rdev); _pmbus_regulator_on_off() local
2947 u8 page = rdev_get_id(rdev); pmbus_regulator_get_status() local
2986 pmbus_regulator_get_low_margin(struct i2c_client *client, int page) pmbus_regulator_get_low_margin() argument
3012 pmbus_regulator_get_high_margin(struct i2c_client *client, int page) pmbus_regulator_get_high_margin() argument
3165 pmbus_regulator_notify(struct pmbus_data *data, int page, int event) pmbus_regulator_notify() argument
3183 pmbus_regulator_notify(struct pmbus_data *data, int page, int event) pmbus_regulator_notify() argument
3189 pmbus_write_smbalert_mask(struct i2c_client *client, u8 page, u8 reg, u8 val) pmbus_write_smbalert_mask() argument
[all...]
/kernel/linux/linux-6.6/mm/
H A Dhuge_memory.c54 * Defrag is invoked by khugepaged hugepage allocations and by page faults
71 struct page *huge_zero_page __read_mostly;
94 /* khugepaged doesn't collapse DAX vma, but page fault is fine. */ in hugepage_vma_check()
109 * Skip the check for page fault. Huge fault does the check in fault in hugepage_vma_check()
145 * Allow page fault since anon_vma may be not initialized until in hugepage_vma_check()
146 * the first page fault. in hugepage_vma_check()
156 struct page *zero_page; in get_huge_zero_page()
191 struct page *mm_get_huge_zero_page(struct mm_struct *mm) in mm_get_huge_zero_page()
214 /* we can free zero page only if last reference remains */ in shrink_huge_zero_page_count()
222 struct page *zero_pag in shrink_huge_zero_page_scan()
646 __do_huge_pmd_anonymous_page(struct vm_fault *vmf, struct page *page, gfp_t gfp) __do_huge_pmd_anonymous_page() argument
1027 struct page *page; follow_devmap_pmd() local
1182 struct page *page; follow_devmap_pud() local
1294 struct page *page; do_huge_pmd_wp_page() local
1378 struct page *page; can_change_pmd_writable() local
1406 can_follow_write_pmd(pmd_t pmd, struct page *page, struct vm_area_struct *vma, unsigned int flags) can_follow_write_pmd() argument
1449 struct page *page; follow_trans_huge_pmd() local
1493 struct page *page; do_huge_pmd_numa_page() local
1688 struct page *page = NULL; zap_huge_pmd() local
1828 struct page *page = pfn_swap_entry_to_page(entry); change_huge_pmd() local
1859 struct page *page; change_huge_pmd() local
2070 struct page *page; __split_huge_pmd_locked() local
2496 __split_huge_page(struct page *page, struct list_head *list, pgoff_t end) __split_huge_page() argument
2624 split_huge_page_to_list(struct page *page, struct list_head *list) split_huge_page_to_list() argument
2919 struct page *page; split_huge_pages_all() local
3014 struct page *page; split_huge_pages_pid() local
3204 set_pmd_migration_entry(struct page_vma_mapped_walk *pvmw, struct page *page) set_pmd_migration_entry() argument
[all...]
H A Dswap.h11 void swap_readpage(struct page *page, bool do_poll, struct swap_iocb **plug);
19 int swap_writepage(struct page *page, struct writeback_control *wbc);
20 void __swap_writepage(struct page *page, struct writeback_control *wbc);
47 struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask,
51 struct page *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask,
55 struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t flag,
57 struct page *swapin_readahea
66 swap_readpage(struct page *page, bool do_poll, struct swap_iocb **plug) swap_readpage() argument
[all...]
H A Dhugetlb_vmemmap.c21 * struct vmemmap_remap_walk - walk vmemmap page table
25 * @reuse_page: the page which is reused for the tail vmemmap pages.
26 * @reuse_addr: the virtual address of the @reuse_page page.
34 struct page *reuse_page;
44 struct page *head; in split_vmemmap_huge_pmd()
206 * Free a vmemmap page. A vmemmap page can be allocated from the memblock
211 static inline void free_vmemmap_page(struct page *page) in free_vmemmap_page() argument
213 if (PageReserved(page)) in free_vmemmap_page()
222 struct page *page, *next; free_vmemmap_page_list() local
236 struct page *page = pte_page(ptep_get(pte)); vmemmap_remap_pte() local
280 struct page *page; vmemmap_restore_pte() local
386 struct page *page, *next; alloc_vmemmap_page_list() local
[all...]
/kernel/linux/linux-5.10/arch/parisc/include/asm/
H A Dcacheflush.h41 static inline void flush_kernel_dcache_page(struct page *page) in flush_kernel_dcache_page() argument
43 flush_kernel_dcache_page_addr(page_address(page)); in flush_kernel_dcache_page()
56 extern void flush_dcache_page(struct page *page);
66 #define flush_icache_page(vma,page) do { \
67 flush_kernel_dcache_page(page); \
68 flush_kernel_icache_page(page_address(page)); \
76 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \
78 flush_cache_page(vma, vaddr, page_to_pfn(page)); \
98 flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) flush_anon_page() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dslub_def.h22 ALLOC_SLAB, /* Cpu slab acquired from page allocator */
25 FREE_SLAB, /* Slab freed to the page allocator */
45 struct page *page; /* The slab from which we are allocating */ member
47 struct page *partial; /* Partially allocated frozen slabs */
161 void object_err(struct kmem_cache *s, struct page *page,
166 static inline void *nearest_obj(struct kmem_cache *cache, struct page *page, in nearest_obj() argument
168 void *object = x - (x - page_address(page)) in nearest_obj()
185 obj_to_index(const struct kmem_cache *cache, const struct page *page, void *obj) obj_to_index() argument
191 objs_per_slab_page(const struct kmem_cache *cache, const struct page *page) objs_per_slab_page() argument
[all...]
/kernel/linux/linux-6.6/fs/udf/
H A Dsymlink.c102 struct page *page = &folio->page; in udf_symlink_filler() local
103 struct inode *inode = page->mapping->host; in udf_symlink_filler()
107 unsigned char *p = page_address(page); in udf_symlink_filler()
133 SetPageUptodate(page); in udf_symlink_filler()
134 unlock_page(page); in udf_symlink_filler()
138 SetPageError(page); in udf_symlink_filler()
140 unlock_page(page); in udf_symlink_filler()
150 struct page *pag in udf_symlink_getattr() local
[all...]
/kernel/linux/linux-5.10/arch/mips/mm/
H A Dinit.c51 * any price. Since page is never written to after the initialization we
64 struct page *page; in setup_zero_pages() local
75 page = virt_to_page((void *)empty_zero_page); in setup_zero_pages()
76 split_page(page, order); in setup_zero_pages()
77 for (i = 0; i < (1 << order); i++, page++) in setup_zero_pages()
78 mark_page_reserved(page); in setup_zero_pages()
83 static void *__kmap_pgprot(struct page *page, unsigned long addr, pgprot_t prot) in __kmap_pgprot() argument
92 BUG_ON(Page_dcache_dirty(page)); in __kmap_pgprot()
138 kmap_coherent(struct page *page, unsigned long addr) kmap_coherent() argument
143 kmap_noncoherent(struct page *page, unsigned long addr) kmap_noncoherent() argument
194 copy_to_user_page(struct vm_area_struct *vma, struct page *page, unsigned long vaddr, void *dst, const void *src, unsigned long len) copy_to_user_page() argument
212 copy_from_user_page(struct vm_area_struct *vma, struct page *page, unsigned long vaddr, void *dst, const void *src, unsigned long len) copy_from_user_page() argument
447 struct page *page = pfn_to_page(tmp); mem_init_free_highmem() local
486 struct page *page = pfn_to_page(pfn); free_init_pages() local
[all...]
/kernel/linux/linux-5.10/fs/afs/
H A Ddir_edit.c193 struct page *page0, *page; in afs_edit_dir_add() local
227 /* Find a block that has sufficient slots available. Each VM page in afs_edit_dir_add()
231 /* If the directory extended into a new page, then we need to in afs_edit_dir_add()
232 * tack a new page on the end. in afs_edit_dir_add()
236 page = page0; in afs_edit_dir_add()
242 page = find_or_create_page(vnode->vfs_inode.i_mapping, in afs_edit_dir_add()
244 if (!page) in afs_edit_dir_add()
246 if (!PagePrivate(page)) in afs_edit_dir_add()
247 attach_page_private(page, (voi in afs_edit_dir_add()
371 struct page *page0, *page; afs_edit_dir_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/b53/
H A Db53_mmap.c33 static int b53_mmap_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mmap_read8() argument
38 *val = readb(regs + (page << 8) + reg); in b53_mmap_read8()
43 static int b53_mmap_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mmap_read16() argument
52 *val = ioread16be(regs + (page << 8) + reg); in b53_mmap_read16()
54 *val = readw(regs + (page << 8) + reg); in b53_mmap_read16()
59 static int b53_mmap_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_mmap_read32() argument
68 *val = ioread32be(regs + (page << 8) + reg); in b53_mmap_read32()
70 *val = readl(regs + (page << 8) + reg); in b53_mmap_read32()
75 static int b53_mmap_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mmap_read48() argument
88 lo = ioread16be(regs + (page << in b53_mmap_read48()
114 b53_mmap_read64(struct b53_device *dev, u8 page, u8 reg, u64 *val) b53_mmap_read64() argument
136 b53_mmap_write8(struct b53_device *dev, u8 page, u8 reg, u8 value) b53_mmap_write8() argument
146 b53_mmap_write16(struct b53_device *dev, u8 page, u8 reg, u16 value) b53_mmap_write16() argument
163 b53_mmap_write32(struct b53_device *dev, u8 page, u8 reg, u32 value) b53_mmap_write32() argument
180 b53_mmap_write48(struct b53_device *dev, u8 page, u8 reg, u64 value) b53_mmap_write48() argument
203 b53_mmap_write64(struct b53_device *dev, u8 page, u8 reg, u64 value) b53_mmap_write64() argument
[all...]

Completed in 25 milliseconds

1...<<11121314151617181920>>...269