/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/cramfs/ |
H A D | inode.c | 54 inode->i_blksize = PAGE_CACHE_SIZE; 86 * BLKS_PER_BUF*PAGE_CACHE_SIZE, so that the caller doesn't need to 101 #define BUFFER_SIZE (BLKS_PER_BUF*PAGE_CACHE_SIZE) 125 offset &= PAGE_CACHE_SIZE - 1; 181 memcpy(data, bh->b_data, PAGE_CACHE_SIZE); 184 memset(data, 0, PAGE_CACHE_SIZE); 185 data += PAGE_CACHE_SIZE; 198 set_blocksize(sb->s_dev, PAGE_CACHE_SIZE); 199 sb->s_blocksize = PAGE_CACHE_SIZE; 265 buf->f_bsize = PAGE_CACHE_SIZE; [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/umsdos/ |
H A D | emd.c | 155 if (offs + recsize > PAGE_CACHE_SIZE) { 157 int part = (char *)(page_address(page) + PAGE_CACHE_SIZE) - p->spare; 174 recsize+offs-PAGE_CACHE_SIZE); 252 if (offs + info->recsize > PAGE_CACHE_SIZE) { 254 PAGE_CACHE_SIZE); 262 offs+info->recsize-PAGE_CACHE_SIZE); 267 (char *)(page_address(page) + PAGE_CACHE_SIZE) - p->spare); 269 ((char*)entry)+PAGE_CACHE_SIZE-offs, 270 offs+info->recsize-PAGE_CACHE_SIZE); 272 offs+info->recsize-PAGE_CACHE_SIZE); [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/scripts/cramfs/ |
H A D | cramfsck.c | 74 #define PAGE_CACHE_SIZE (4096) macro 84 static char outbuffer[PAGE_CACHE_SIZE*2]; 178 stream.avail_out = PAGE_CACHE_SIZE*2; 291 unsigned long curr = offset + 4 * ((size + PAGE_CACHE_SIZE - 1) / PAGE_CACHE_SIZE); 294 unsigned long out = PAGE_CACHE_SIZE; 304 printf(" hole at %ld (%d)\n", curr, PAGE_CACHE_SIZE); 306 if (size < PAGE_CACHE_SIZE) 316 if (size >= PAGE_CACHE_SIZE) { 317 if (out != PAGE_CACHE_SIZE) { [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ramfs/ |
H A D | inode.c | 46 buf->f_bsize = PAGE_CACHE_SIZE; 68 memset(kmap(page), 0, PAGE_CACHE_SIZE); local 81 memset(addr, 0, PAGE_CACHE_SIZE); 108 inode->i_blksize = PAGE_CACHE_SIZE; 303 sb->s_blocksize = PAGE_CACHE_SIZE;
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A D | pagemap.h | 27 #define PAGE_CACHE_SIZE PAGE_SIZE macro 29 #define PAGE_CACHE_ALIGN(addr) (((addr)+PAGE_CACHE_SIZE-1)&PAGE_CACHE_MASK)
|
H A D | smb_fs.h | 137 #define SMB_DIRCACHE_SIZE ((int)(PAGE_CACHE_SIZE/sizeof(struct dentry *)))
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A D | pagemap.h | 27 #define PAGE_CACHE_SIZE PAGE_SIZE macro 29 #define PAGE_CACHE_ALIGN(addr) (((addr)+PAGE_CACHE_SIZE-1)&PAGE_CACHE_MASK)
|
H A D | smb_fs.h | 137 #define SMB_DIRCACHE_SIZE ((int)(PAGE_CACHE_SIZE/sizeof(struct dentry *)))
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/nfs/ |
H A D | read.c | 94 int count = PAGE_CACHE_SIZE; 173 new = nfs_create_request(nfs_file_cred(file), inode, page, 0, PAGE_CACHE_SIZE); 179 page_index(page) == (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT) 416 if (count < PAGE_CACHE_SIZE) { 418 memset(p + count, 0, PAGE_CACHE_SIZE - count); 426 count -= PAGE_CACHE_SIZE; 448 * - The NFS rsize is smaller than PAGE_CACHE_SIZE. We could kludge our way 461 page, PAGE_CACHE_SIZE, page->index); 473 if (!PageError(page) && NFS_SERVER(inode)->rsize >= PAGE_CACHE_SIZE) {
|
H A D | pagelist.c | 259 if (req->wb_offset + req->wb_bytes != PAGE_CACHE_SIZE) 296 if (req->wb_offset + req->wb_bytes != PAGE_CACHE_SIZE)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/freevxfs/ |
H A D | vxfs_immed.c | 130 memcpy(kaddr, vip->vii_immed.vi_immed + offset, PAGE_CACHE_SIZE);
|
H A D | vxfs_lookup.c | 50 #define VXFS_BLOCK_PER_PAGE(sbp) ((PAGE_CACHE_SIZE / (sbp)->s_blocksize)) 68 return (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/minix/ |
H A D | dir.c | 31 return (inode->i_size+PAGE_CACHE_SIZE-1)>>PAGE_CACHE_SHIFT; 95 limit = kaddr + PAGE_CACHE_SIZE - chunk_size; 159 kaddr += PAGE_CACHE_SIZE - sbi->s_dirsize; 198 kaddr += PAGE_CACHE_SIZE - sbi->s_dirsize; 271 memset(base, 0, PAGE_CACHE_SIZE); 306 kaddr += PAGE_CACHE_SIZE - sbi->s_dirsize;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/sysv/ |
H A D | dir.c | 36 return (inode->i_size+PAGE_CACHE_SIZE-1)>>PAGE_CACHE_SHIFT; 96 limit = kaddr + PAGE_CACHE_SIZE - SYSV_DIRSIZE; 166 kaddr += PAGE_CACHE_SIZE - SYSV_DIRSIZE; 210 kaddr += PAGE_CACHE_SIZE - SYSV_DIRSIZE; 282 memset(base, 0, PAGE_CACHE_SIZE); 317 kaddr += PAGE_CACHE_SIZE-SYSV_DIRSIZE;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/isofs/ |
H A D | compress.c | 48 static char zisofs_sink_page[PAGE_CACHE_SIZE]; 93 maxpage = (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; 162 memset(page_address(page), 0, PAGE_CACHE_SIZE); local 227 stream.avail_out = PAGE_CACHE_SIZE;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sunrpc/ |
H A D | xdr.c | 207 len = PAGE_CACHE_SIZE; 248 * page is really (PAGE_CACHE_SIZE - (base & ~PAGE_CACHE_MASK)). 250 * we bump pglen here, and just subtract PAGE_CACHE_SIZE... */ 256 if (pglen <= PAGE_CACHE_SIZE) 258 pglen -= PAGE_CACHE_SIZE; 297 len = PAGE_CACHE_SIZE;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/reiserfs/ |
H A D | tail_conversion.c | 128 unsigned pgoff = (tail_offset + total_tail - 1) & (PAGE_CACHE_SIZE - 1); 163 tail_index = pos & (PAGE_CACHE_SIZE - 1) ; 254 tail = tail + (pos & (PAGE_CACHE_SIZE - 1)) ;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext2/ |
H A D | dir.c | 47 return (inode->i_size+PAGE_CACHE_SIZE-1)>>PAGE_CACHE_SHIFT; 74 unsigned limit = PAGE_CACHE_SIZE; 82 for (offs = limit; offs<PAGE_CACHE_SIZE; offs += chunk_size) { 269 limit = kaddr + PAGE_CACHE_SIZE - EXT2_DIR_REC_LEN(1); 329 kaddr += PAGE_CACHE_SIZE - reclen; 423 kaddr += PAGE_CACHE_SIZE - reclen; 567 kaddr += PAGE_CACHE_SIZE-EXT2_DIR_REC_LEN(1);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jffs2/ |
H A D | file.c | 227 __u32 end = offset + PAGE_CACHE_SIZE; 258 } else if (frag->ofs < offset && (offset & (PAGE_CACHE_SIZE-1)) != 0) { 401 if (!Page_Uptodate(pg) && (start || end < PAGE_CACHE_SIZE)) { 420 __u32 writelen = min((__u32)PAGE_CACHE_SIZE, newsize - file_ofs); 427 if (!start && end == PAGE_CACHE_SIZE) { 460 comprtype = jffs2_compress(page_address(pg)+ (file_ofs & (PAGE_CACHE_SIZE-1)), comprbuf, &datalen, &cdatalen); 466 comprbuf = page_address(pg) + (file_ofs & (PAGE_CACHE_SIZE -1));
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/mm/ |
H A D | shmem.c | 36 #define ENTRIES_PER_PAGE (PAGE_CACHE_SIZE/sizeof(unsigned long)) 37 #define BLOCKS_PER_PAGE (PAGE_CACHE_SIZE/512) 41 #define VM_ACCT(size) (((size) + PAGE_CACHE_SIZE - 1) >> PAGE_SHIFT) 327 index = (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; 343 PAGE_CACHE_SIZE - partial); 644 if (inode->i_size <= (loff_t) idx * PAGE_CACHE_SIZE) 721 inode->i_blksize = PAGE_CACHE_SIZE; 849 offset = (pos & (PAGE_CACHE_SIZE -1)); /* Within page */ 851 bytes = PAGE_CACHE_SIZE - offset; 934 nr = PAGE_CACHE_SIZE; [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/squashfs/ |
H A D | inode.c | 497 i->i_blksize = PAGE_CACHE_SIZE; 693 i->i_blksize = PAGE_CACHE_SIZE; 904 if(sBlk->block_size > PAGE_CACHE_SIZE && 1039 PAGE_CACHE_SIZE, &block, &offset))) { 1051 bytes = (inode->i_size - length) > PAGE_CACHE_SIZE ? PAGE_CACHE_SIZE : inode->i_size - length; 1056 memset(pageaddr + bytes, 0, PAGE_CACHE_SIZE - bytes); 1197 for(i = start_index; i <= end_index && byte_offset < bytes; i++, byte_offset += PAGE_CACHE_SIZE) { 1199 int available_bytes = (bytes - byte_offset) > PAGE_CACHE_SIZE ? PAGE_CACHE_SIZE [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/squashfs/ |
H A D | inode.c | 497 i->i_blksize = PAGE_CACHE_SIZE; 693 i->i_blksize = PAGE_CACHE_SIZE; 904 if(sBlk->block_size > PAGE_CACHE_SIZE && 1039 PAGE_CACHE_SIZE, &block, &offset))) { 1051 bytes = (inode->i_size - length) > PAGE_CACHE_SIZE ? PAGE_CACHE_SIZE : inode->i_size - length; 1056 memset(pageaddr + bytes, 0, PAGE_CACHE_SIZE - bytes); 1197 for(i = start_index; i <= end_index && byte_offset < bytes; i++, byte_offset += PAGE_CACHE_SIZE) { 1199 int available_bytes = (bytes - byte_offset) > PAGE_CACHE_SIZE ? PAGE_CACHE_SIZE [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/affs/ |
H A D | file.c | 521 if (from > to || to > PAGE_CACHE_SIZE) 623 to = PAGE_CACHE_SIZE; 626 memset(page_address(page) + to, 0, PAGE_CACHE_SIZE - to); 660 if (to < PAGE_CACHE_SIZE) { 661 memset(page_address(page) + to, 0, PAGE_CACHE_SIZE - to); 663 if (size < offset + PAGE_CACHE_SIZE) 666 tmp = PAGE_CACHE_SIZE; 844 size = (size & (PAGE_CACHE_SIZE - 1)) + 1;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/ |
H A D | rd.c | 127 memset(address, 0, PAGE_CACHE_SIZE); 188 count = PAGE_CACHE_SIZE - offset;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/smbfs/ |
H A D | file.c | 176 unsigned offset = PAGE_CACHE_SIZE; 191 offset = inode->i_size & (PAGE_CACHE_SIZE-1);
|