Home
last modified time | relevance | path

Searched refs:pageaddr (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/fs/squashfs/
Dpage_actor.c81 return actor->pageaddr = kmap_local_page(actor->page[actor->next_page++]); in handle_next_page()
91 if (actor->pageaddr) { in direct_next_page()
92 kunmap_local(actor->pageaddr); in direct_next_page()
93 actor->pageaddr = NULL; in direct_next_page()
101 if (actor->pageaddr) in direct_finish_page()
102 kunmap_local(actor->pageaddr); in direct_finish_page()
129 actor->pageaddr = NULL; in squashfs_page_actor_init_special()
Dsymlink.c44 void *pageaddr; in squashfs_symlink_read_folio() local
81 pageaddr = kmap_atomic(page); in squashfs_symlink_read_folio()
82 copied = squashfs_copy_data(pageaddr + bytes, entry, offset, in squashfs_symlink_read_folio()
85 memset(pageaddr + length, 0, PAGE_SIZE - length); in squashfs_symlink_read_folio()
88 kunmap_atomic(pageaddr); in squashfs_symlink_read_folio()
Dfile_direct.c36 void *pageaddr; in squashfs_readpage_block() local
90 pageaddr = kmap_local_page(page[pages - 1]); in squashfs_readpage_block()
91 memset(pageaddr + bytes, 0, PAGE_SIZE - bytes); in squashfs_readpage_block()
92 kunmap_local(pageaddr); in squashfs_readpage_block()
Dfile.c368 void *pageaddr; in squashfs_fill_page() local
370 pageaddr = kmap_atomic(page); in squashfs_fill_page()
371 copied = squashfs_copy_data(pageaddr, buffer, offset, avail); in squashfs_fill_page()
372 memset(pageaddr + copied, 0, PAGE_SIZE - copied); in squashfs_fill_page()
373 kunmap_atomic(pageaddr); in squashfs_fill_page()
459 void *pageaddr; in squashfs_read_folio() local
489 pageaddr = kmap_atomic(page); in squashfs_read_folio()
490 memset(pageaddr, 0, PAGE_SIZE); in squashfs_read_folio()
491 kunmap_atomic(pageaddr); in squashfs_read_folio()
Dpage_actor.h14 void *pageaddr; member
/linux-6.6.21/drivers/mtd/devices/
Dmtd_dataflash.c182 unsigned int pageaddr; in dataflash_erase() local
189 pageaddr = div_u64(instr->addr, priv->page_size); in dataflash_erase()
190 do_block = (pageaddr & 0x7) == 0 && instr->len >= blocksize; in dataflash_erase()
191 pageaddr = pageaddr << priv->page_offset; in dataflash_erase()
194 command[1] = (u8)(pageaddr >> 16); in dataflash_erase()
195 command[2] = (u8)(pageaddr >> 8); in dataflash_erase()
201 pageaddr); in dataflash_erase()
208 pageaddr, status); in dataflash_erase()
306 unsigned int pageaddr, addr, offset, writelen; in dataflash_write() local
321 pageaddr = ((unsigned)to / priv->page_size); in dataflash_write()
[all …]
/linux-6.6.21/mm/kfence/
Dcore.c253 unsigned long pageaddr = (unsigned long)&__kfence_pool[offset]; in metadata_to_pageaddr() local
266 if (KFENCE_WARN_ON(ALIGN_DOWN(meta->addr, PAGE_SIZE) != pageaddr)) in metadata_to_pageaddr()
269 return pageaddr; in metadata_to_pageaddr()
329 const unsigned long pageaddr = ALIGN_DOWN(meta->addr, PAGE_SIZE); in set_canary() local
330 unsigned long addr = pageaddr; in set_canary()
340 for (; addr - pageaddr < PAGE_SIZE; addr += sizeof(u64)) in set_canary()
346 const unsigned long pageaddr = ALIGN_DOWN(meta->addr, PAGE_SIZE); in check_canary() local
347 unsigned long addr = pageaddr; in check_canary()
379 for (; addr - pageaddr < PAGE_SIZE; addr += sizeof(u64)) { in check_canary()
382 for (; addr - pageaddr < PAGE_SIZE; addr++) { in check_canary()