Searched refs:PAGE_CACHE_SIZE (Results 26 - 50 of 200) sorted by relevance

12345678

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ntfs/
H A Dcompress.c112 memset(kp + kp_ofs, 0, PAGE_CACHE_SIZE - kp_ofs);
159 * Warning: This function *REQUIRES* PAGE_CACHE_SIZE >= 4096 or it will blow up
461 /* The first wanted vcn (minimum alignment is PAGE_CACHE_SIZE). */
466 * PAGE_CACHE_SIZE.
524 max_page = ((i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT) -
530 zero_user(page, 0, PAGE_CACHE_SIZE);
722 PAGE_CACHE_SIZE -
734 cb_pos += PAGE_CACHE_SIZE - cur_ofs;
767 * as PAGE_CACHE_SIZE <= cb_size.
776 PAGE_CACHE_SIZE
[all...]
H A Daops.c146 recs = PAGE_CACHE_SIZE / rec_size;
416 if (unlikely(page->index >= (i_size + PAGE_CACHE_SIZE - 1) >>
418 zero_user(page, 0, PAGE_CACHE_SIZE);
467 zero_user(page, 0, PAGE_CACHE_SIZE);
513 memset(addr + attr_len, 0, PAGE_CACHE_SIZE - attr_len);
908 ntfs_inode *locked_nis[PAGE_CACHE_SIZE / rec_size];
932 max_bhs = PAGE_CACHE_SIZE / bh_size;
944 BUG_ON(!(PAGE_CACHE_SIZE >> rec_size_bits));
1283 if (ni->itype.index.block_size == PAGE_CACHE_SIZE)
1348 if (unlikely(page->index >= (i_size + PAGE_CACHE_SIZE
[all...]
H A Dntfs.h47 NTFS_MAX_PAGES_PER_CLUSTER = NTFS_MAX_CLUSTER_SIZE / PAGE_CACHE_SIZE,
H A Ddir.c318 * of PAGE_CACHE_SIZE and map the page cache page, reading it from
336 if ((u8*)ia < kaddr || (u8*)ia > kaddr + PAGE_CACHE_SIZE) {
369 if (index_end > kaddr + PAGE_CACHE_SIZE) {
871 cur_bmp_pos = bmp_pos & ((PAGE_CACHE_SIZE * 8) - 1);
872 bmp_pos &= ~(u64)((PAGE_CACHE_SIZE * 8) - 1);
877 (unsigned long long)((PAGE_CACHE_SIZE * 8) - 1));
895 if (unlikely((cur_bmp_pos >> 3) >= PAGE_CACHE_SIZE)) {
897 bmp_pos += PAGE_CACHE_SIZE * 8;
935 if (unlikely((u8*)ia < kaddr || (u8*)ia > kaddr + PAGE_CACHE_SIZE)) {
973 if (unlikely(index_end > kaddr + PAGE_CACHE_SIZE)) {
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/squashfs/
H A Dblock.c181 if (pg_offset == PAGE_CACHE_SIZE) {
185 avail = min_t(int, in, PAGE_CACHE_SIZE -
H A Dxz_wrapper.c125 stream->buf.out_size = PAGE_CACHE_SIZE;
146 total += PAGE_CACHE_SIZE;
H A Dlzo_wrapper.c108 avail = min_t(int, bytes, PAGE_CACHE_SIZE);
H A Dzlib_wrapper.c92 stream->avail_out = PAGE_CACHE_SIZE;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/gfs2/
H A Daops.c110 offset = i_size & (PAGE_CACHE_SIZE-1);
267 unsigned offset = i_size & (PAGE_CACHE_SIZE-1);
268 unsigned nrblocks = nr_pages * (PAGE_CACHE_SIZE/inode->i_sb->s_blocksize);
428 zero_user(page, 0, PAGE_CACHE_SIZE);
441 memset(kaddr + dsize, 0, PAGE_CACHE_SIZE - dsize);
531 unsigned long index = *pos / PAGE_CACHE_SIZE;
532 unsigned offset = *pos & (PAGE_CACHE_SIZE - 1);
540 if (offset + size > PAGE_CACHE_SIZE)
541 amt = PAGE_CACHE_SIZE - offset;
620 unsigned from = pos & (PAGE_CACHE_SIZE
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/cifs/
H A Dfile.c1300 if ((to > PAGE_CACHE_SIZE) || (from > to)) {
1366 if (cifs_sb->wsize < PAGE_CACHE_SIZE)
1476 (loff_t)PAGE_CACHE_SIZE);
1489 if (bytes_to_write + PAGE_CACHE_SIZE > cifs_sb->wsize)
1587 rc = cifs_partialpagewrite(page, 0, PAGE_CACHE_SIZE);
1610 } else if (!PageUptodate(page) && copied == PAGE_CACHE_SIZE)
1615 unsigned offset = pos & (PAGE_CACHE_SIZE - 1);
1915 data += PAGE_CACHE_SIZE;
1916 bytes_read -= PAGE_CACHE_SIZE;
1923 if (PAGE_CACHE_SIZE > bytes_rea
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/block/
H A Dblk-settings.c248 if ((max_hw_sectors << 9) < PAGE_CACHE_SIZE) {
304 if (max_size < PAGE_CACHE_SIZE) {
305 max_size = PAGE_CACHE_SIZE;
727 if (mask < PAGE_CACHE_SIZE - 1) {
728 mask = PAGE_CACHE_SIZE - 1;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/mm/
H A Dfilemap_xip.c83 nr = PAGE_CACHE_SIZE;
233 size = (i_size_read(inode) + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
334 offset = (pos & (PAGE_CACHE_SIZE -1)); /* Within page */
336 bytes = PAGE_CACHE_SIZE - offset;
444 unsigned offset = from & (PAGE_CACHE_SIZE-1);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ufs/
H A Ddir.c70 return (inode->i_size+PAGE_CACHE_SIZE-1)>>PAGE_CACHE_SHIFT;
117 unsigned limit = PAGE_CACHE_SIZE;
218 if (last_byte > PAGE_CACHE_SIZE)
219 last_byte = PAGE_CACHE_SIZE;
347 kaddr += PAGE_CACHE_SIZE - reclen;
460 filp->f_pos += PAGE_CACHE_SIZE - offset;
584 memset(base, 0, PAGE_CACHE_SIZE);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/exofs/
H A Ddir.c50 return (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
58 if (last_byte > PAGE_CACHE_SIZE)
59 last_byte = PAGE_CACHE_SIZE;
94 unsigned limit = PAGE_CACHE_SIZE;
267 filp->f_pos += PAGE_CACHE_SIZE - offset;
464 kaddr += PAGE_CACHE_SIZE - reclen;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext2/
H A Ddir.c66 return (inode->i_size+PAGE_CACHE_SIZE-1)>>PAGE_CACHE_SHIFT;
79 if (last_byte > PAGE_CACHE_SIZE)
80 last_byte = PAGE_CACHE_SIZE;
117 unsigned limit = PAGE_CACHE_SIZE;
308 filp->f_pos += PAGE_CACHE_SIZE - offset;
513 kaddr += PAGE_CACHE_SIZE - reclen;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nilfs2/
H A Ddir.c66 return (inode->i_size+PAGE_CACHE_SIZE-1)>>PAGE_CACHE_SHIFT;
78 if (last_byte > PAGE_CACHE_SIZE)
79 last_byte = PAGE_CACHE_SIZE;
118 unsigned limit = PAGE_CACHE_SIZE;
285 filp->f_pos += PAGE_CACHE_SIZE - offset;
482 kaddr += PAGE_CACHE_SIZE - reclen;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/btrfs/
H A Dfile.c53 int offset = pos & (PAGE_CACHE_SIZE - 1);
57 PAGE_CACHE_SIZE - offset, write_bytes);
72 count = min_t(size_t, PAGE_CACHE_SIZE - offset,
77 if (unlikely(copied < PAGE_CACHE_SIZE - offset)) {
925 nrptrs = min((iov_iter_count(&i) + PAGE_CACHE_SIZE - 1) /
926 PAGE_CACHE_SIZE, PAGE_CACHE_SIZE /
941 if ((pos & (PAGE_CACHE_SIZE - 1))) {
951 if ((pos + iov_iter_count(&i)) & (PAGE_CACHE_SIZE - 1)) {
963 size_t offset = pos & (PAGE_CACHE_SIZE
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jffs2/
H A Dfile.c87 ret = jffs2_read_inode_range(c, f, pg_buf, pg->index << PAGE_CACHE_SHIFT, PAGE_CACHE_SIZE);
237 unsigned start = pos & (PAGE_CACHE_SIZE - 1);
252 if (end == PAGE_CACHE_SIZE) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/linux-2.6/
H A Dxfs_buf.c121 #define NBPPR (PAGE_CACHE_SIZE/BITS_PER_LONG)
141 ASSERT(offset + length <= PAGE_CACHE_SIZE);
349 nbytes = min_t(size_t, size, PAGE_CACHE_SIZE - offset);
355 if (blocksize >= PAGE_CACHE_SIZE) {
698 pageaddr += PAGE_CACHE_SIZE;
1164 } else if (blocksize >= PAGE_CACHE_SIZE) {
1217 if ((bp->b_buffer_length < PAGE_CACHE_SIZE) &&
1220 (blocksize >= PAGE_CACHE_SIZE)) {
1228 bio_add_page(bio, bp->b_pages[0], PAGE_CACHE_SIZE, 0);
1249 int rbytes, nbytes = PAGE_CACHE_SIZE
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/smbfs/
H A Dfile.c179 unsigned offset = PAGE_CACHE_SIZE;
192 offset = inode->i_size & (PAGE_CACHE_SIZE-1);
311 unsigned offset = pos & (PAGE_CACHE_SIZE - 1);
318 if (!PageUptodate(page) && copied == PAGE_CACHE_SIZE)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ceph/
H A Dfile.c351 l = min_t(int, PAGE_CACHE_SIZE-po, left);
358 if (po == PAGE_CACHE_SIZE) {
378 l = min_t(int, left, PAGE_CACHE_SIZE-po);
386 if (po == PAGE_CACHE_SIZE)
408 int end = min((int)PAGE_CACHE_SIZE, off + len);
415 while (len >= PAGE_CACHE_SIZE) {
417 zero_user_segment(pages[i], 0, PAGE_CACHE_SIZE);
418 len -= PAGE_CACHE_SIZE;
669 (pos+len) | (PAGE_CACHE_SIZE-1));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jfs/
H A Djfs_metapage.c83 #define MPS_PER_PAGE (PAGE_CACHE_SIZE >> L2PSIZE)
326 for (offset = 0; offset < PAGE_CACHE_SIZE; offset += PSIZE) {
381 for (offset = 0; offset < PAGE_CACHE_SIZE; offset += PSIZE) {
426 xlen = (PAGE_CACHE_SIZE - offset) >> inode->i_blkbits;
495 int blocks_per_page = PAGE_CACHE_SIZE >> inode->i_blkbits;
551 for (offset = 0; offset < PAGE_CACHE_SIZE; offset += PSIZE) {
611 if ((page_offset + size) > PAGE_CACHE_SIZE) {
630 if (new && (PSIZE == PAGE_CACHE_SIZE)) {
798 for (offset = 0; offset < PAGE_CACHE_SIZE; offset += PSIZE) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ubifs/
H A Dfile.c125 memset(addr, 0, PAGE_CACHE_SIZE);
257 if (!(pos & ~PAGE_CACHE_MASK) && len == PAGE_CACHE_SIZE)
447 if (!(pos & ~PAGE_CACHE_MASK) && len == PAGE_CACHE_SIZE) {
548 if (unlikely(copied < len && len == PAGE_CACHE_SIZE)) {
553 * @PAGE_CACHE_SIZE, the 'ubifs_write_begin()' function did
622 memset(addr, 0, PAGE_CACHE_SIZE);
671 int len = i_size & (PAGE_CACHE_SIZE - 1);
902 ubifs_assert(page->index <= ui->synced_i_size << PAGE_CACHE_SIZE);
953 int err, len = i_size & (PAGE_CACHE_SIZE - 1);
985 return do_writepage(page, PAGE_CACHE_SIZE);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/freevxfs/
H A Dvxfs_lookup.c49 #define VXFS_BLOCK_PER_PAGE(sbp) ((PAGE_CACHE_SIZE / (sbp)->s_blocksize))
69 return (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/udf/
H A Dfile.c52 memset(kaddr, 0, PAGE_CACHE_SIZE);
87 unsigned offset = pos & (PAGE_CACHE_SIZE - 1);

Completed in 181 milliseconds

12345678