Searched refs:page (Results 376 - 400 of 3148) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/arm64/mm/
H A Dflush.c40 * Copy user data from/to a page which is mapped into a different processes
44 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, argument
66 * This function is called when a page has been modified by the kernel. Mark
77 void flush_dcache_page(struct page *page) argument
79 flush_dcache_folio(page_folio(page));
/linux-master/arch/powerpc/include/asm/
H A Dcacheflush.h12 * This flag is used to indicate that the page pointed to by a pte is clean
21 * if it's accessed right after the pte is set. The page fault handler does
34 * This is called when a page has been modified by the kernel.
35 * It just marks the page as not i-cache clean. We do the i-cache
36 * flush later when the page is given to a user process, if necessary.
48 static inline void flush_dcache_page(struct page *page) argument
50 flush_dcache_folio(page_folio(page));
56 void flush_icache_user_page(struct vm_area_struct *vma, struct page *page,
[all...]
/linux-master/drivers/hwmon/pmbus/
H A Dmp2856.c113 mp2856_read_word_helper(struct i2c_client *client, int page, int phase, u8 reg, argument
116 int ret = pmbus_read_word_data(client, page, phase, reg);
122 mp2856_read_vout(struct i2c_client *client, struct mp2856_data *data, int page, argument
127 ret = mp2856_read_word_helper(client, page, phase, reg,
133 ret = (data->vout_format[page] == vid) ?
141 int page, int phase, u8 reg)
146 ret = pmbus_read_word_data(client, page, phase, reg);
164 int page, int phase)
168 if (page == 0) {
171 ret = mp2856_read_phase(client, data, page, phas
140 mp2856_read_phase(struct i2c_client *client, struct mp2856_data *data, int page, int phase, u8 reg) argument
163 mp2856_read_phases(struct i2c_client *client, struct mp2856_data *data, int page, int phase) argument
207 mp2856_read_word_data(struct i2c_client *client, int page, int phase, int reg) argument
232 mp2856_read_byte_data(struct i2c_client *client, int page, int reg) argument
[all...]
H A Dmp2975.c127 static int mp2975_read_byte_data(struct i2c_client *client, int page, int reg) argument
143 mp2975_read_word_helper(struct i2c_client *client, int page, int phase, u8 reg, argument
146 int ret = pmbus_read_word_data(client, page, phase, reg);
210 int page, int phase, u8 reg)
214 ret = pmbus_read_word_data(client, page, phase, reg);
227 * the following selection of DrMOS (data->curr_sense_gain[page]):
241 ret = pmbus_read_word_data(client, page, phase, PMBUS_READ_IOUT);
245 return max_t(int, DIV_ROUND_CLOSEST(ret, data->info.phases[page]),
246 DIV_ROUND_CLOSEST(ph_curr, data->curr_sense_gain[page]));
251 int page, in
209 mp2975_read_phase(struct i2c_client *client, struct mp2975_data *data, int page, int phase, u8 reg) argument
250 mp2975_read_phases(struct i2c_client *client, struct mp2975_data *data, int page, int phase) argument
305 mp2973_read_word_data(struct i2c_client *client, int page, int phase, int reg) argument
393 mp2973_write_word_data(struct i2c_client *client, int page, int reg, u16 word) argument
467 mp2975_read_word_data(struct i2c_client *client, int page, int phase, int reg) argument
640 mp2975_identify_vid(struct i2c_client *client, struct mp2975_data *data, struct pmbus_driver_info *info, u32 reg, int page, u32 imvp_bit, u32 vr_bit) argument
789 mp2975_vref_offset_get(struct i2c_client *client, struct mp2975_data *data, int page) argument
815 mp2975_vout_max_get(struct i2c_client *client, struct mp2975_data *data, struct pmbus_driver_info *info, int page) argument
831 mp2975_set_vout_format(struct i2c_client *client, struct mp2975_data *data, int page) argument
[all...]
H A Dmp2888.c39 static int mp2888_read_byte_data(struct i2c_client *client, int page, int reg) argument
94 mp2888_read_phase(struct i2c_client *client, struct mp2888_data *data, int page, int phase, u8 reg) argument
98 ret = pmbus_read_word_data(client, page, phase, reg);
128 mp2888_read_phases(struct i2c_client *client, struct mp2888_data *data, int page, int phase) argument
134 ret = mp2888_read_phase(client, data, page, phase, MP2888_MFR_READ_CS1_2);
137 ret = mp2888_read_phase(client, data, page, phase, MP2888_MFR_READ_CS3_4);
140 ret = mp2888_read_phase(client, data, page, phase, MP2888_MFR_READ_CS5_6);
143 ret = mp2888_read_phase(client, data, page, phase, MP2888_MFR_READ_CS7_8);
146 ret = mp2888_read_phase(client, data, page, phase, MP2888_MFR_READ_CS9_10);
154 static int mp2888_read_word_data(struct i2c_client *client, int page, in argument
263 mp2888_write_word_data(struct i2c_client *client, int page, int reg, u16 word) argument
[all...]
H A Dir35221.c24 static int ir35221_read_word_data(struct i2c_client *client, int page, argument
31 ret = pmbus_read_word_data(client, page, phase,
35 ret = pmbus_read_word_data(client, page, phase,
39 ret = pmbus_read_word_data(client, page, phase,
43 ret = pmbus_read_word_data(client, page, phase,
47 ret = pmbus_read_word_data(client, page, phase,
51 ret = pmbus_read_word_data(client, page, phase,
55 ret = pmbus_read_word_data(client, page, phase,
59 ret = pmbus_read_word_data(client, page, phase,
H A Dpmbus_core.c37 u8 page; /* page number */ member in struct:pmbus_sensor
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 in struct:pmbus_debugfs_entry
161 int pmbus_set_page(struct i2c_client *client, int page, int phase) argument
166 if (page <
197 pmbus_write_byte(struct i2c_client *client, int page, u8 value) argument
213 _pmbus_write_byte(struct i2c_client *client, int page, u8 value) argument
227 pmbus_write_word_data(struct i2c_client *client, int page, u8 reg, u16 word) argument
241 pmbus_write_virt_reg(struct i2c_client *client, int page, int reg, u16 word) argument
266 _pmbus_write_word_data(struct i2c_client *client, int page, int reg, u16 word) argument
289 _pmbus_write_byte_data(struct i2c_client *client, int page, int reg, u8 value) argument
307 _pmbus_read_byte_data(struct i2c_client *client, int page, int reg) argument
321 pmbus_update_fan(struct i2c_client *client, int page, int id, u8 config, u8 mask, u16 command) argument
346 pmbus_read_word_data(struct i2c_client *client, int page, int phase, u8 reg) argument
358 pmbus_read_virt_reg(struct i2c_client *client, int page, int reg) argument
380 _pmbus_read_word_data(struct i2c_client *client, int page, int phase, int reg) argument
400 __pmbus_read_word_data(struct i2c_client *client, int page, int reg) argument
405 pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg) argument
417 pmbus_write_byte_data(struct i2c_client *client, int page, u8 reg, u8 value) argument
429 pmbus_update_byte_data(struct i2c_client *client, int page, u8 reg, u8 mask, u8 value) argument
448 pmbus_read_block_data(struct i2c_client *client, int page, u8 reg, char *data_buf) argument
460 pmbus_find_sensor(struct pmbus_data *data, int page, int reg) argument
473 pmbus_get_fan_rate(struct i2c_client *client, int page, int id, enum pmbus_fan_mode mode, bool from_cache) argument
508 pmbus_get_fan_rate_device(struct i2c_client *client, int page, int id, enum pmbus_fan_mode mode) argument
515 pmbus_get_fan_rate_cached(struct i2c_client *client, int page, int id, enum pmbus_fan_mode mode) argument
522 pmbus_clear_fault_page(struct i2c_client *client, int page) argument
551 pmbus_check_register(struct i2c_client *client, int (*func)(struct i2c_client *client, int page, int reg), int page, int reg) argument
569 pmbus_check_status_register(struct i2c_client *client, int page) argument
586 pmbus_check_byte_register(struct i2c_client *client, int page, int reg) argument
592 pmbus_check_word_register(struct i2c_client *client, int page, int reg) argument
598 pmbus_check_block_register(struct i2c_client *client, int page, int reg) argument
622 pmbus_get_status(struct i2c_client *client, int page, int reg) argument
1079 u8 page = pb_index_to_page(index); 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) 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) 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) 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) argument
1581 int page, pages; local
2138 pmbus_add_fan_ctrl(struct i2c_client *client, struct pmbus_data *data, int index, int page, int id, u8 config) argument
2177 int page; local
2254 int page; member in struct:pmbus_samples_reg
2317 pmbus_add_samples_attr(struct pmbus_data *data, int page, struct pmbus_samples_attr *attr) argument
2507 pmbus_identify_common(struct i2c_client *client, struct pmbus_data *data, int page) argument
2547 pmbus_read_status_byte(struct i2c_client *client, int page) argument
2552 pmbus_read_status_word(struct i2c_client *client, int page) argument
2597 int page, ret; local
2748 _pmbus_is_enabled(struct i2c_client *client, u8 page) argument
2760 pmbus_is_enabled(struct i2c_client *client, u8 page) argument
2775 pmbus_notify(struct pmbus_data *data, int page, int reg, int flags) argument
2799 _pmbus_get_flags(struct pmbus_data *data, u8 page, unsigned int *flags, unsigned int *event, bool notify) argument
2884 pmbus_get_flags(struct pmbus_data *data, u8 page, unsigned int *flags, unsigned int *event, bool notify) argument
2910 u8 page = rdev_get_id(rdev); local
2947 u8 page = rdev_get_id(rdev); local
2986 pmbus_regulator_get_low_margin(struct i2c_client *client, int page) argument
3012 pmbus_regulator_get_high_margin(struct i2c_client *client, int page) argument
3165 pmbus_regulator_notify(struct pmbus_data *data, int page, int event) argument
3183 pmbus_regulator_notify(struct pmbus_data *data, int page, int event) argument
3189 pmbus_write_smbalert_mask(struct i2c_client *client, u8 page, u8 reg, u8 val) argument
[all...]
/linux-master/include/linux/
H A Ddevcoredump.h25 struct page *page; local
32 page = sg_page(iter);
33 if (page)
34 __free_page(page);
H A Ddma-map-ops.h35 struct page *(*alloc_pages_op)(struct device *dev, size_t size,
38 void (*free_pages)(struct device *dev, size_t size, struct page *vaddr,
52 dma_addr_t (*map_page)(struct device *dev, struct page *page,
131 struct page *dma_alloc_from_contiguous(struct device *dev, size_t count,
133 bool dma_release_from_contiguous(struct device *dev, struct page *pages,
135 struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp);
136 void dma_free_contiguous(struct device *dev, struct page *page, size_t size);
153 static inline struct page *dma_alloc_from_contiguou
166 dma_free_contiguous(struct device *dev, struct page *page, size_t size) argument
398 arch_dma_prep_coherent(struct page *page, size_t size) argument
[all...]
H A Dmm_types.h18 #include <linux/page-flags-layout.h>
36 * Each physical page in the system has a struct page associated with
37 * it to keep track of whatever it is we are using the page for at the
39 * a page, though if it is a pagecache page, rmap structures can tell us
42 * If you allocate the page using alloc_pages(), you can use some of the
43 * space in struct page for your own purposes. The five words in the main
47 * page->mapping, you must restore it to NULL before freeing the page
74 struct page { struct
238 encode_page(struct page *page, unsigned long flags) argument
244 encoded_page_flags(struct encoded_page *page) argument
249 encoded_page_ptr(struct encoded_page *page) argument
260 encoded_nr_pages(struct encoded_page *page) argument
346 struct page page; member in union:folio::__anon371
519 set_page_private(struct page *page, unsigned long private) argument
[all...]
/linux-master/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;
99 /* /proc/kpageflags - an array exposing page flags
102 * physical page flags.
110 u64 stable_page_flags(const struct page *page) argument
120 * it differentiates a memory hole from a page with no flags
122 if (!page)
253 struct page *page = pfn_to_online_page(pfn); local
[all...]
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-syscfg-configfs.c27 static ssize_t cscfg_cfg_description_show(struct config_item *item, char *page) argument
32 return scnprintf(page, PAGE_SIZE, "%s", fs_config->config_desc->description);
36 static ssize_t cscfg_cfg_feature_refs_show(struct config_item *item, char *page) argument
45 ch_used += scnprintf(page + ch_used, PAGE_SIZE - ch_used,
52 static ssize_t cscfg_cfg_values_show(struct config_item *item, char *page) argument
78 used += scnprintf(page + used, PAGE_SIZE - used,
85 used += scnprintf(page + used, PAGE_SIZE - used, "\n");
91 static ssize_t cscfg_cfg_enable_show(struct config_item *item, char *page) argument
96 return scnprintf(page, PAGE_SIZE, "%d\n", fs_config->active);
100 const char *page, size_
99 cscfg_cfg_enable_store(struct config_item *item, const char *page, size_t count) argument
119 cscfg_cfg_preset_show(struct config_item *item, char *page) argument
127 cscfg_cfg_preset_store(struct config_item *item, const char *page, size_t count) argument
231 cscfg_feat_description_show(struct config_item *item, char *page) argument
240 cscfg_feat_matches_show(struct config_item *item, char *page) argument
258 cscfg_feat_nr_params_show(struct config_item *item, char *page) argument
280 cscfg_param_value_show(struct config_item *item, char *page) argument
289 cscfg_param_value_store(struct config_item *item, const char *page, size_t size) argument
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dpseries_energy.c19 #include <asm/page.h>
188 static ssize_t get_best_energy_list(char *page, int activate) argument
194 char *s = page;
218 if (s > page) { /* Something to show */
224 return s-page;
228 char *page, int activate)
245 return sprintf(page, "%lu\n", retbuf[1] >> 32);
251 struct device_attribute *attr, char *page)
253 return get_best_energy_list(page, 1);
257 struct device_attribute *attr, char *page)
227 get_best_energy_data(struct device *dev, char *page, int activate) argument
250 cpu_activate_hint_list_show(struct device *dev, struct device_attribute *attr, char *page) argument
256 cpu_deactivate_hint_list_show(struct device *dev, struct device_attribute *attr, char *page) argument
262 percpu_activate_hint_show(struct device *dev, struct device_attribute *attr, char *page) argument
268 percpu_deactivate_hint_show(struct device *dev, struct device_attribute *attr, char *page) argument
[all...]
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_phys.c61 sg_assign_page(sg, (struct page *)vaddr);
67 struct page *page; local
69 page = shmem_read_mapping_page(mapping, i);
70 if (IS_ERR(page))
73 memcpy_from_page(dst, page, 0, PAGE_SIZE);
76 put_page(page);
82 /* We're no longer struct page backed */
112 struct page *page; local
[all...]
/linux-master/arch/s390/include/asm/
H A Dpage.h18 /* PAGE_SHIFT determines the page size */
51 #define clear_page(page) memset((page), 0, PAGE_SIZE)
55 * bypass caches when copying a page. Especially when copying huge pages
73 #define clear_user_page(page, vaddr, pg) clear_page(page)
164 struct page;
165 void arch_free_page(struct page *page, int order);
166 void arch_alloc_page(struct page *pag
[all...]
/linux-master/lib/
H A Dtest_hmm.c41 * For device_private pages, dpage is just a dummy struct page
43 * allocates a real system memory page as backing storage to fake a
44 * real device. zone_device_data points to that backing page. But
45 * for device_coherent memory, the struct page represents real
48 #define BACKING_PAGE(page) (is_device_private_page((page)) ? \
49 (page)->zone_device_data : (page))
121 struct page *free_pages;
196 static struct dmirror_chunk *dmirror_page_to_chunk(struct page *pag argument
201 dmirror_page_to_device(struct page *page) argument
215 struct page *page; local
370 struct page *page; local
436 struct page *page; local
575 struct page *page = pfn_to_page(pfn); local
1042 struct page *page; local
1261 struct page *page; local
1375 struct page *page; local
1402 dmirror_devmem_free(struct page *page) argument
[all...]
/linux-master/arch/m68k/mm/
H A Dmotorola.c26 #include <asm/page.h>
39 * Bits to add to page descriptors for "normal" caching mode.
47 /* Prior to calling these routines, the page should have been flushed
49 * cache setting for the page has been changed. -jskov
82 void mmu_page_ctor(void *page) argument
84 __flush_pages_to_ram(page, 1);
85 flush_tlb_kernel_page(page);
86 nocache_page(page);
89 void mmu_page_dtor(void *page) argument
91 cache_page(page);
121 unsigned long page = ptable & PAGE_MASK; local
153 void *page; local
190 unsigned long page = ptable & PAGE_MASK; local
[all...]
/linux-master/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_rx.c35 struct page *page; local
39 page = dev_alloc_page();
40 if (unlikely(!page)) {
44 desc_ring[i].buffer_ptr = dma_map_page(oq->dev, page, 0,
51 put_page(page);
54 oq->buff_info[i].page = page;
64 put_page(oq->buff_info[i].page);
65 oq->buff_info[i].page
82 struct page *page; local
[all...]
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_rx.c35 struct page *page; local
39 page = dev_alloc_page();
40 if (unlikely(!page)) {
44 desc_ring[i].buffer_ptr = dma_map_page(oq->dev, page, 0,
53 oq->buff_info[i].page = page;
59 put_page(page);
64 put_page(oq->buff_info[i].page);
65 oq->buff_info[i].page
82 struct page *page; local
[all...]
/linux-master/fs/f2fs/
H A Dcheckpoint.c39 * We guarantee no failure on the returned page.
41 struct page *f2fs_grab_meta_page(struct f2fs_sb_info *sbi, pgoff_t index)
44 struct page *page; local
46 page = f2fs_grab_cache_page(mapping, index, false);
47 if (!page) {
51 f2fs_wait_on_page_writeback(page, META, true, true);
52 if (!PageUptodate(page))
53 SetPageUptodate(page);
54 return page;
61 struct page *page; local
117 struct page *page; local
254 struct page *page; local
327 struct page *page; local
342 __f2fs_write_meta_page(struct page *page, struct writeback_control *wbc, enum iostat_type io_type) argument
382 f2fs_write_meta_page(struct page *page, struct writeback_control *wbc) argument
758 struct page *page; local
794 struct page *page = NULL; local
1420 struct page *page = f2fs_grab_meta_page(sbi, blk_addr); local
[all...]
/linux-master/block/
H A Dblk-crypto-sysfs.c21 struct blk_crypto_attr *attr, char *page);
35 struct blk_crypto_attr *attr, char *page)
37 return sysfs_emit(page, "%u\n", 8 * profile->max_dun_bytes_supported);
41 struct blk_crypto_attr *attr, char *page)
43 return sysfs_emit(page, "%u\n", profile->num_slots);
82 struct blk_crypto_attr *attr, char *page)
86 return sysfs_emit(page, "0x%x\n", profile->modes_supported[mode_num]);
102 struct attribute *attr, char *page)
107 return a->show(profile, a, page);
34 max_dun_bits_show(struct blk_crypto_profile *profile, struct blk_crypto_attr *attr, char *page) argument
40 num_keyslots_show(struct blk_crypto_profile *profile, struct blk_crypto_attr *attr, char *page) argument
81 blk_crypto_mode_show(struct blk_crypto_profile *profile, struct blk_crypto_attr *attr, char *page) argument
101 blk_crypto_attr_show(struct kobject *kobj, struct attribute *attr, char *page) argument
/linux-master/arch/sparc/include/asm/
H A Dpage_64.h12 * the page size is smaller than 16K.
44 void _clear_page(void *page);
46 struct page;
47 void clear_user_page(void *addr, unsigned long vaddr, struct page *page);
49 void copy_user_page(void *to, void *from, unsigned long vaddr, struct page *topage);
52 void copy_user_highpage(struct page *to, struct page *from,
55 void copy_highpage(struct page *to, struct page *fro
[all...]
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_mr.c85 static bool is_pmem_page(struct page *pg)
98 struct page *page; local
108 page = sg_page_iter_page(&sg_iter);
110 if (persistent && !is_pmem_page(page)) {
116 xas_store(&xas, page);
211 struct page *page = ib_virt_dma_to_page(dma_addr); local
215 if (persistent && !is_pmem_page(page)) {
223 err = xa_err(xa_store(&mr->page_list, mr->nbuf, page, GFP_KERNE
251 struct page *page; local
282 struct page *page; local
428 struct page *page; local
475 struct page *page; local
532 struct page *page; local
[all...]
/linux-master/drivers/gpu/drm/xen/
H A Dxen_drm_front_evtchnl.c85 struct xendispl_event_page *page = evtchnl->u.evt.page; local
94 prod = page->in_prod;
97 if (prod == page->in_cons)
100 for (cons = page->in_cons; cons != prod; cons++) {
103 event = &XENDISPL_IN_RING_REF(page, cons);
114 page->in_cons = cons;
126 void *page = NULL; local
129 page = evtchnl->u.req.ring.sring;
131 page
160 void *page; local
[all...]
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_bo_vm.c166 * @prot: The page protection to be used for this memory area.
171 * This function inserts one or more page table entries pointing to the
173 * instructing the caller to retry the page access.
192 struct page *page; local
243 * first page.
249 page = ttm->pages[page_offset];
250 if (unlikely(!page && i == 0)) {
252 } else if (unlikely(!page)) {
255 pfn = page_to_pfn(page);
299 struct page *page; local
373 unsigned long page = offset >> PAGE_SHIFT; local
[all...]

Completed in 284 milliseconds

<<11121314151617181920>>