Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/mtd/devices/
Dmtd_dataflash.c190 unsigned int pageaddr; in dataflash_erase() local
197 pageaddr = div_u64(instr->addr, priv->page_size); in dataflash_erase()
198 do_block = (pageaddr & 0x7) == 0 && instr->len >= blocksize; in dataflash_erase()
199 pageaddr = pageaddr << priv->page_offset; in dataflash_erase()
202 command[1] = (u8)(pageaddr >> 16); in dataflash_erase()
203 command[2] = (u8)(pageaddr >> 8); in dataflash_erase()
209 pageaddr); in dataflash_erase()
216 pageaddr, status); in dataflash_erase()
314 unsigned int pageaddr, addr, offset, writelen; in dataflash_write() local
329 pageaddr = ((unsigned)to / priv->page_size); in dataflash_write()
[all …]
/linux-6.1.9/mm/kfence/
Dcore.c246 unsigned long pageaddr = (unsigned long)&__kfence_pool[offset]; in metadata_to_pageaddr() local
259 if (KFENCE_WARN_ON(ALIGN_DOWN(meta->addr, PAGE_SIZE) != pageaddr)) in metadata_to_pageaddr()
262 return pageaddr; in metadata_to_pageaddr()
330 const unsigned long pageaddr = ALIGN_DOWN(meta->addr, PAGE_SIZE); in for_each_canary() local
343 for (addr = pageaddr; addr < meta->addr; addr++) { in for_each_canary()
349 for (addr = meta->addr + meta->size; addr < pageaddr + PAGE_SIZE; addr++) { in for_each_canary()