Searched refs:pageaddr (Results 1 – 5 of 5) sorted by relevance
/external/squashfs-tools/kernel/fs/squashfs/ |
D | symlink.c | 56 void *pageaddr; in squashfs_symlink_readpage() local 93 pageaddr = kmap_atomic(page, KM_USER0); in squashfs_symlink_readpage() 94 copied = squashfs_copy_data(pageaddr + bytes, entry, offset, in squashfs_symlink_readpage() 97 memset(pageaddr + length, 0, PAGE_CACHE_SIZE - length); in squashfs_symlink_readpage() 100 kunmap_atomic(pageaddr, KM_USER0); in squashfs_symlink_readpage()
|
D | file.c | 381 void *pageaddr; in squashfs_readpage() local 468 pageaddr = kmap_atomic(push_page, KM_USER0); in squashfs_readpage() 469 squashfs_copy_data(pageaddr, buffer, offset, avail); in squashfs_readpage() 470 memset(pageaddr + avail, 0, PAGE_CACHE_SIZE - avail); in squashfs_readpage() 471 kunmap_atomic(pageaddr, KM_USER0); in squashfs_readpage() 488 pageaddr = kmap_atomic(page, KM_USER0); in squashfs_readpage() 489 memset(pageaddr, 0, PAGE_CACHE_SIZE); in squashfs_readpage() 490 kunmap_atomic(pageaddr, KM_USER0); in squashfs_readpage()
|
/external/arm-trusted-firmware/lib/coreboot/ |
D | coreboot_table.c | 72 uintptr_t pageaddr = round_down(baseaddr, PAGE_SIZE); in expand_and_mmap() local 73 size_t expanded = round_up(baseaddr - pageaddr + size, PAGE_SIZE); in expand_and_mmap() 74 mmap_add_region(pageaddr, pageaddr, expanded, in expand_and_mmap()
|
/external/squashfs-tools/kernel-2.4/fs/squashfs/ |
D | inode.c | 1147 void *pageaddr = kmap(page); in squashfs_symlink_readpage() local 1173 if (!(bytes = squashfs_get_cached_block(inode->i_sb, pageaddr, block, in squashfs_symlink_readpage() 1178 memset(pageaddr + bytes, 0, PAGE_CACHE_SIZE - bytes); in squashfs_symlink_readpage() 1459 void *pageaddr; in squashfs_readpage() local 1521 pageaddr = kmap_atomic(page, KM_USER0); in squashfs_readpage() 1522 memcpy(pageaddr, data_ptr + byte_offset, in squashfs_readpage() 1524 memset(pageaddr + available_bytes, 0, in squashfs_readpage() 1526 kunmap_atomic(pageaddr, KM_USER0); in squashfs_readpage() 1532 pageaddr = kmap_atomic(push_page, KM_USER0); in squashfs_readpage() 1534 memcpy(pageaddr, data_ptr + byte_offset, in squashfs_readpage() [all …]
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | scsimain.c | 5128 static void bitfield(unsigned char *pageaddr, char *text, int mask, int shift) in bitfield() argument 5130 printf("%-35s%d\n", text, (*pageaddr >> shift) & mask); in bitfield() 5133 static void notbitfield(unsigned char *pageaddr, char *text, int mask, in notbitfield() argument 5136 printf("%-35s%d\n", text, !((*pageaddr >> shift) & mask)); in notbitfield() 5139 static void intfield(unsigned char *pageaddr, int nbytes, char *text) in intfield() argument 5141 printf("%-35s%d\n", text, getnbyte(pageaddr, nbytes)); in intfield() 5144 static void hexfield(unsigned char *pageaddr, int nbytes, char *text) in hexfield() argument 5146 printf("%-35s0x%x\n", text, getnbyte(pageaddr, nbytes)); in hexfield() 5149 static void hexdatafield(unsigned char *pageaddr, int nbytes, char *text) in hexdatafield() argument 5153 printf("%02x", *pageaddr++); in hexdatafield()
|