/linux/drivers/target/ |
H A D | target_core_stat.c | 48 static ssize_t target_stat_inst_show(struct config_item *item, char *page) in target_stat_inst_show() 55 static ssize_t target_stat_indx_show(struct config_item *item, char *page) in target_stat_indx_show() 60 static ssize_t target_stat_role_show(struct config_item *item, char *page) in target_stat_role_show() 65 static ssize_t target_stat_ports_show(struct config_item *item, char *page) in target_stat_ports_show() 98 static ssize_t target_stat_tgt_inst_show(struct config_item *item, char *page) in target_stat_tgt_inst_show() 105 static ssize_t target_stat_tgt_indx_show(struct config_item *item, char *page) in target_stat_tgt_indx_show() 111 char *page) in target_stat_tgt_num_lus_show() 117 char *page) in target_stat_tgt_status_show() 126 char *page) in target_stat_tgt_non_access_lus_show() 139 char *page) in target_stat_tgt_resets_show() [all …]
|
H A D | target_core_configfs.c | 89 char *page) in target_core_item_version_show() 102 char *page) in target_core_item_dbroot_show() 108 const char *page, size_t count) in target_core_item_dbroot_store() 657 const char *page, size_t count) in emulate_model_alias_store() 687 const char *page, size_t count) in emulate_write_cache_store() 709 const char *page, size_t count) in emulate_ua_intlck_ctrl_store() 739 const char *page, size_t count) in emulate_tas_store() 786 const char *page, size_t count) in emulate_tpu_store() 814 const char *page, size_t count) in emulate_tpws_store() 842 const char *page, size_t count) in pi_prot_type_store() [all …]
|
/linux/drivers/target/iscsi/ |
H A D | iscsi_target_stat.c | 51 char *page) in iscsi_stat_instance_inst_show() 58 char *page) in iscsi_stat_instance_min_ver_show() 64 char *page) in iscsi_stat_instance_max_ver_show() 70 char *page) in iscsi_stat_instance_portals_show() 77 char *page) in iscsi_stat_instance_nodes_show() 83 char *page) in iscsi_stat_instance_sessions_show() 90 char *page) in iscsi_stat_instance_fail_sess_show() 106 char *page) in iscsi_stat_instance_fail_type_show() 116 char *page) in iscsi_stat_instance_fail_rem_name_show() 127 char *page) in iscsi_stat_instance_disc_time_show() [all …]
|
/linux/drivers/nvme/target/ |
H A D | configfs.c | 66 static ssize_t nvmet_addr_adrfam_show(struct config_item *item, char *page) in nvmet_addr_adrfam_show() 81 const char *page, size_t count) in nvmet_addr_adrfam_store() 105 char *page) in nvmet_addr_portid_show() 113 const char *page, size_t count) in nvmet_addr_portid_store() 133 char *page) in nvmet_addr_traddr_show() 141 const char *page, size_t count) in nvmet_addr_traddr_store() 171 static ssize_t nvmet_addr_treq_show(struct config_item *item, char *page) in nvmet_addr_treq_show() 186 const char *page, size_t count) in nvmet_addr_treq_store() 226 char *page) in nvmet_addr_trsvcid_show() 234 const char *page, size_t count) in nvmet_addr_trsvcid_store() [all …]
|
/linux/include/linux/ |
H A D | page_ref.h | 41 static inline void __page_ref_set(struct page *page, int v) in __page_ref_set() 44 static inline void __page_ref_mod(struct page *page, int v) in __page_ref_mod() 47 static inline void __page_ref_mod_and_test(struct page *page, int v, int ret) in __page_ref_mod_and_test() 50 static inline void __page_ref_mod_and_return(struct page *page, int v, int ret) in __page_ref_mod_and_return() 53 static inline void __page_ref_mod_unless(struct page *page, int v, int u) in __page_ref_mod_unless() 56 static inline void __page_ref_freeze(struct page *page, int v, int ret) in __page_ref_freeze() 59 static inline void __page_ref_unfreeze(struct page *page, int v) in __page_ref_unfreeze() 65 static inline int page_ref_count(const struct page *page) in page_ref_count() 92 static inline int page_count(const struct page *page) in page_count() 97 static inline void set_page_count(struct page *page, int v) in set_page_count() [all …]
|
H A D | page-flags.h | 204 static __always_inline const struct page *page_fixed_fake_head(const struct page *page) in page_fixed_fake_head() 230 static inline const struct page *page_fixed_fake_head(const struct page *page) in page_fixed_fake_head() 236 static __always_inline int page_is_fake_head(const struct page *page) in page_is_fake_head() 241 static __always_inline unsigned long _compound_head(const struct page *page) in _compound_head() 250 #define compound_head(page) ((typeof(page))_compound_head(page)) argument 280 static __always_inline int PageTail(const struct page *page) in PageTail() 285 static __always_inline int PageCompound(const struct page *page) in PageCompound() 292 static inline int PagePoisoned(const struct page *page) in PagePoisoned() 300 static inline void page_init_poison(struct page *page, size_t size) in page_init_poison() 308 const struct page *page = &folio->page; in const_folio_flags() local [all …]
|
H A D | page_owner.h | 22 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner() 28 static inline void set_page_owner(struct page *page, in set_page_owner() 35 static inline void split_page_owner(struct page *page, int old_order, in split_page_owner() 46 static inline void set_page_owner_migrate_reason(struct page *page, int reason) in set_page_owner_migrate_reason() 51 static inline void dump_page_owner(const struct page *page) in dump_page_owner() 57 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner() 60 static inline void set_page_owner(struct page *page, in set_page_owner() 64 static inline void split_page_owner(struct page *page, int old_order, in split_page_owner() 71 static inline void set_page_owner_migrate_reason(struct page *page, int reason) in set_page_owner_migrate_reason() 74 static inline void dump_page_owner(const struct page *page) in dump_page_owner()
|
H A D | highmem-internal.h | 40 static inline void *kmap(struct page *page) in kmap() 53 static inline void kunmap(struct page *page) in kunmap() 71 static inline void *kmap_local_page(struct page *page) in kmap_local_page() 78 struct page *page = folio_page(folio, offset / PAGE_SIZE); in kmap_local_folio() local 82 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() 97 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() 108 static inline void *kmap_atomic(struct page *page) in kmap_atomic() 162 static inline void *kmap(struct page *page) in kmap() 168 static inline void kunmap_high(struct page *page) { } in kunmap_high() 171 static inline void kunmap(struct page *page) in kunmap() [all …]
|
H A D | pgalloc_tag.h | 25 struct page *page; /* reference in page flags */ member 101 static inline bool get_page_tag_ref(struct page *page, union codetag_ref *ref, in get_page_tag_ref() 141 struct page *page = handle.page; in update_page_tag_ref() local 165 static inline void clear_page_tag_ref(struct page *page) in clear_page_tag_ref() 179 static inline void pgalloc_tag_add(struct page *page, struct task_struct *task, in pgalloc_tag_add() 194 static inline void pgalloc_tag_sub(struct page *page, unsigned int nr) in pgalloc_tag_sub() 208 static inline struct alloc_tag *pgalloc_tag_get(struct page *page) in pgalloc_tag_get() 240 static inline void clear_page_tag_ref(struct page *page) {} in clear_page_tag_ref() 241 static inline void pgalloc_tag_add(struct page *page, struct task_struct *task, in pgalloc_tag_add() 243 static inline void pgalloc_tag_sub(struct page *page, unsigned int nr) {} in pgalloc_tag_sub() [all …]
|
H A D | balloon_compaction.h | 92 struct page *page) in balloon_page_insert() 108 static inline void balloon_page_delete(struct page *page) in balloon_page_delete() 125 static inline struct balloon_dev_info *balloon_page_device(struct page *page) in balloon_page_device() 138 struct page *page) in balloon_page_insert() 144 static inline void balloon_page_delete(struct page *page) in balloon_page_delete() 164 static inline void balloon_page_push(struct list_head *pages, struct page *page) in balloon_page_push() 178 struct page *page = list_first_entry_or_null(pages, struct page, lru); in balloon_page_pop() local
|
/linux/sound/pci/trident/ |
H A D | trident_memory.c | 22 #define __set_tlb_bus(trident,page,addr) \ argument 24 #define __tlb_to_addr(trident,page) \ argument 32 #define set_tlb_bus(trident,page,addr) __set_tlb_bus(trident,page,addr) argument 34 #define set_silent_tlb(trident,page) __set_tlb_bus(trident, page, trident->tlb.silent_page->addr) argument 38 #define aligned_page_offset(page) ((page) << 12) argument 40 #define page_to_addr(trident,page) __tlb_to_addr(trident, page) argument 47 #define aligned_page_offset(page) ((page) << 13) argument 48 #define page_to_addr(trident,page) __tlb_to_addr(trident, (page) << 1) argument 51 static inline void set_tlb_bus(struct snd_trident *trident, int page, in set_tlb_bus() 58 static inline void set_silent_tlb(struct snd_trident *trident, int page) in set_silent_tlb() [all …]
|
/linux/block/ |
H A D | blk-sysfs.c | 33 queue_var_show(unsigned long var, char *page) in queue_var_show() 39 queue_var_store(unsigned long *var, const char *page, size_t count) in queue_var_store() 53 static ssize_t queue_requests_show(struct gendisk *disk, char *page) in queue_requests_show() 59 queue_requests_store(struct gendisk *disk, const char *page, size_t count) in queue_requests_store() 81 static ssize_t queue_ra_show(struct gendisk *disk, char *page) in queue_ra_show() 87 queue_ra_store(struct gendisk *disk, const char *page, size_t count) in queue_ra_store() 179 queue_max_sectors_store(struct gendisk *disk, const char *page, size_t count, in queue_max_sectors_store() 193 static ssize_t queue_feature_store(struct gendisk *disk, const char *page, in queue_feature_store() 237 static ssize_t queue_poll_show(struct gendisk *disk, char *page) in queue_poll_show() 245 static ssize_t queue_zoned_show(struct gendisk *disk, char *page) in queue_zoned_show() [all …]
|
/linux/arch/openrisc/include/asm/ |
H A D | cacheflush.h | 33 #define dcache_page_flush(page) local_dcache_page_flush(page) argument 34 #define icache_page_inv(page) local_icache_page_inv(page) argument 36 #define dcache_page_flush(page) local_dcache_page_flush(page) argument 37 #define icache_page_inv(page) smp_icache_page_inv(page) argument 45 static inline void sync_icache_dcache(struct page *page) in sync_icache_dcache() 66 static inline void flush_dcache_page(struct page *page) in flush_dcache_page() 71 #define flush_icache_user_page(vma, page, addr, len) \ argument
|
/linux/mm/ |
H A D | debug_page_ref.c | 8 void __page_ref_set(struct page *page, int v) in __page_ref_set() 15 void __page_ref_mod(struct page *page, int v) in __page_ref_mod() 22 void __page_ref_mod_and_test(struct page *page, int v, int ret) in __page_ref_mod_and_test() 29 void __page_ref_mod_and_return(struct page *page, int v, int ret) in __page_ref_mod_and_return() 36 void __page_ref_mod_unless(struct page *page, int v, int u) in __page_ref_mod_unless() 43 void __page_ref_freeze(struct page *page, int v, int ret) in __page_ref_freeze() 50 void __page_ref_unfreeze(struct page *page, int v) in __page_ref_unfreeze()
|
H A D | balloon_compaction.c | 15 struct page *page) in balloon_page_enqueue_one() 43 struct page *page, *tmp; in balloon_page_list_enqueue() local 79 struct page *page, *tmp; in balloon_page_list_dequeue() local 126 struct page *page = alloc_page(balloon_mapping_gfp_mask() | in balloon_page_alloc() local 147 struct page *page) in balloon_page_enqueue() 206 static bool balloon_page_isolate(struct page *page, isolate_mode_t mode) in balloon_page_isolate() 220 static void balloon_page_putback(struct page *page) in balloon_page_putback() 232 static int balloon_page_migrate(struct page *newpage, struct page *page, in balloon_page_migrate()
|
H A D | page_alloc.c | 331 static inline unsigned long *get_pageblock_bitmap(const struct page *page, in get_pageblock_bitmap() 341 static inline int pfn_to_bitidx(const struct page *page, unsigned long pfn) in pfn_to_bitidx() 359 unsigned long get_pfnblock_flags_mask(const struct page *page, in get_pfnblock_flags_mask() 379 static __always_inline int get_pfnblock_migratetype(const struct page *page, in get_pfnblock_migratetype() 392 void set_pfnblock_flags_mask(struct page *page, unsigned long flags, in set_pfnblock_flags_mask() 418 void set_pageblock_migratetype(struct page *page, int migratetype) in set_pageblock_migratetype() 429 static int page_outside_zone_boundaries(struct zone *zone, struct page *page) in page_outside_zone_boundaries() 454 static bool __maybe_unused bad_range(struct zone *zone, struct page *page) in bad_range() 464 static inline bool __maybe_unused bad_range(struct zone *zone, struct page *page) in bad_range() 470 static void bad_page(struct page *page, const char *reason) in bad_page() [all …]
|
H A D | page_poison.c | 22 static void poison_page(struct page *page) in poison_page() 33 void __kernel_poison_pages(struct page *page, int n) in __kernel_poison_pages() 48 static void check_poison_mem(struct page *page, unsigned char *mem, size_t bytes) in check_poison_mem() 76 static void unpoison_page(struct page *page) in unpoison_page() 92 void __kernel_unpoison_pages(struct page *page, int n) in __kernel_unpoison_pages() 101 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
|
/linux/drivers/most/ |
H A D | configfs.c | 114 const char *page, size_t count) in mdev_link_create_link_store() 136 const char *page, size_t count) in mdev_link_destroy_link_store() 160 static ssize_t mdev_link_direction_show(struct config_item *item, char *page) in mdev_link_direction_show() 166 const char *page, size_t count) in mdev_link_direction_store() 178 static ssize_t mdev_link_datatype_show(struct config_item *item, char *page) in mdev_link_datatype_show() 184 const char *page, size_t count) in mdev_link_datatype_store() 197 static ssize_t mdev_link_device_show(struct config_item *item, char *page) in mdev_link_device_show() 203 const char *page, size_t count) in mdev_link_device_store() 212 static ssize_t mdev_link_channel_show(struct config_item *item, char *page) in mdev_link_channel_show() 218 const char *page, size_t count) in mdev_link_channel_store() [all …]
|
/linux/mm/kmsan/ |
H A D | shadow.c | 22 #define shadow_page_for(page) ((page)->kmsan_shadow) argument 24 #define origin_page_for(page) ((page)->kmsan_origin) argument 26 static void *shadow_ptr_for(struct page *page) in shadow_ptr_for() argument 31 static void *origin_ptr_for(struct page *page) in origin_ptr_for() argument 36 page_has_metadata(struct page * page) page_has_metadata() argument 41 set_no_shadow_origin_page(struct page * page) set_no_shadow_origin_page() argument 127 struct page *page; kmsan_get_metadata() local 170 kmsan_alloc_page(struct page * page,unsigned int order,gfp_t flags) kmsan_alloc_page() argument 205 kmsan_free_page(struct page * page,unsigned int order) kmsan_free_page() argument 278 struct page *page; kmsan_init_alloc_meta_for_range() local 301 kmsan_setup_meta(struct page * page,struct page * shadow,struct page * origin,int order) kmsan_setup_meta() argument [all...] |
/linux/drivers/iommu/ |
H A D | iommu-pages.h | 28 static inline void __iommu_alloc_account(struct page *page, int order) in __iommu_alloc_account() 41 static inline void __iommu_free_account(struct page *page, int order) in __iommu_free_account() 58 struct page *page; in __iommu_alloc_pages() local 74 static inline void __iommu_free_pages(struct page *page, int order) in __iommu_free_pages() 94 struct page *page = alloc_pages_node(nid, gfp | __GFP_ZERO, order); in iommu_alloc_pages_node() local 113 struct page *page = __iommu_alloc_pages(gfp, order); in iommu_alloc_pages() local 175 static inline void iommu_put_pages_list(struct list_head *page) in iommu_put_pages_list()
|
/linux/sound/pci/emu10k1/ |
H A D | memory.c | 21 #define __set_ptb_entry(emu,page,addr) \ argument 24 #define __get_ptb_entry(emu, page) \ argument 33 #define aligned_page_offset(page) ((page) << PAGE_SHIFT) argument 37 #define set_ptb_entry(emu,page,addr) __set_ptb_entry(emu,page,addr) argument 39 #define set_silent_ptb(emu,page) __set_ptb_entry(emu,page,emu->silent_page.addr) argument 42 static inline void set_ptb_entry(struct snd_emu10k1 *emu, int page, dma_addr_t addr) in set_ptb_entry() 53 static inline void set_silent_ptb(struct snd_emu10k1 *emu, int page) in set_silent_ptb() 97 int page = 1, found_page = -ENOMEM; in search_empty_map_area() local 136 int page, pg; in map_memblk() local 210 int page, psize; in search_empty() local [all …]
|
/linux/fs/ocfs2/cluster/ |
H A D | nodemanager.c | 162 static ssize_t o2nm_node_num_show(struct config_item *item, char *page) in o2nm_node_num_show() 183 static ssize_t o2nm_node_num_store(struct config_item *item, const char *page, in o2nm_node_num_store() 233 static ssize_t o2nm_node_ipv4_port_show(struct config_item *item, char *page) in o2nm_node_ipv4_port_show() 239 const char *page, size_t count) in o2nm_node_ipv4_port_store() 261 static ssize_t o2nm_node_ipv4_address_show(struct config_item *item, char *page) in o2nm_node_ipv4_address_show() 267 const char *page, in o2nm_node_ipv4_address_store() 317 static ssize_t o2nm_node_local_show(struct config_item *item, char *page) in o2nm_node_local_show() 322 static ssize_t o2nm_node_local_store(struct config_item *item, const char *page, in o2nm_node_local_store() 424 static ssize_t o2nm_cluster_attr_write(const char *page, ssize_t count, in o2nm_cluster_attr_write() 445 char *page) in o2nm_cluster_idle_timeout_ms_show() [all …]
|
/linux/drivers/net/dsa/b53/ |
H A D | b53_spi.c | 76 static inline int b53_spi_set_page(struct spi_device *spi, u8 page) in b53_spi_set_page() 87 static inline int b53_prepare_reg_access(struct spi_device *spi, u8 page) in b53_prepare_reg_access() 124 static int b53_spi_read(struct b53_device *dev, u8 page, u8 reg, u8 *data, in b53_spi_read() 141 static int b53_spi_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_spi_read8() 146 static int b53_spi_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_spi_read16() 159 static int b53_spi_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_spi_read32() 172 static int b53_spi_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_spi_read48() 185 static int b53_spi_read64(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_spi_read64() 198 static int b53_spi_write8(struct b53_device *dev, u8 page, u8 reg, u8 value) in b53_spi_write8() 215 static int b53_spi_write16(struct b53_device *dev, u8 page, u8 reg, u16 value) in b53_spi_write16() [all …]
|
/linux/drivers/dma/ioat/ |
H A D | sysfs.c | 17 static ssize_t cap_show(struct dma_chan *c, char *page) in cap_show() 31 static ssize_t version_show(struct dma_chan *c, char *page) in version_show() 42 ioat_attr_show(struct kobject *kobj, struct attribute *attr, char *page) in ioat_attr_show() 57 const char *page, size_t count) in ioat_attr_store() 111 static ssize_t ring_size_show(struct dma_chan *c, char *page) in ring_size_show() 119 static ssize_t ring_active_show(struct dma_chan *c, char *page) in ring_active_show() 128 static ssize_t intr_coalesce_show(struct dma_chan *c, char *page) in intr_coalesce_show() 135 static ssize_t intr_coalesce_store(struct dma_chan *c, const char *page, in intr_coalesce_store()
|
/linux/drivers/hwmon/pmbus/ |
H A D | max31785.c | 82 int page, int command) in _max31785_read_byte_data() 94 int page, int command, u16 data) in _max31785_write_byte_data() 106 int page, int phase, int command) in _max31785_read_word_data() 118 int page, int command, u16 data) in _max31785_write_word_data() 128 static int max31785_read_byte_data(struct i2c_client *client, int page, int reg) in max31785_read_byte_data() 145 static int max31785_write_byte(struct i2c_client *client, int page, u8 value) in max31785_write_byte() 153 static int max31785_read_long_data(struct i2c_client *client, int page, in max31785_read_long_data() 191 static int max31785_get_pwm(struct i2c_client *client, int page) in max31785_get_pwm() 207 struct max31785_data *driver_data, int page) in max31785_get_pwm_mode() 233 static int max31785_read_word_data(struct i2c_client *client, int page, in max31785_read_word_data() [all …]
|