Searched refs:iblock (Results 1 - 25 of 35) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/efs/
H A Dfile.c12 int efs_get_block(struct inode *inode, sector_t iblock, argument
20 if (iblock >= inode->i_blocks) {
32 phys = efs_map_block(inode, iblock);
H A Dinode.c208 efs_block_t iblock, result = 0, lastblock = 0; local
272 iblock = sb->fs_start + in->extents[dirext].cooked.ex_bn +
278 if (first || lastblock != iblock) {
281 bh = sb_bread(inode->i_sb, iblock);
283 printk(KERN_ERR "EFS: bread() failed at block %d\n", iblock);
287 printk(KERN_DEBUG "EFS: map_block(): read indirect extent block %d\n", iblock);
290 lastblock = iblock;
298 printk(KERN_ERR "EFS: extent %d has bad magic number in block %d\n", cur, iblock);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/freevxfs/
H A Dvxfs_bmap.c56 * @iblock: logical block.
192 * @iblock: logical block
201 vxfs_bmap_typed(struct inode *ip, long iblock) argument
214 if (iblock < off)
219 typ->vt_size, iblock - off);
224 if ((iblock - off) < typ->vt_size)
225 return (typ->vt_block + iblock - off);
250 * @iblock: logical block
260 vxfs_bmap1(struct inode *ip, long iblock) argument
265 return vxfs_bmap_ext4(ip, iblock);
[all...]
H A Dvxfs_subr.c117 * @iblock: logical block
130 vxfs_getblk(struct inode *ip, sector_t iblock, argument
135 pblock = vxfs_bmap1(ip, iblock);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/qnx4/
H A Dqnx4.h28 extern unsigned long qnx4_block_map(struct inode *inode, long iblock);
H A Dinode.c88 static int qnx4_get_block( struct inode *inode, sector_t iblock, struct buffer_head *bh, int create ) argument
92 QNX4DEBUG((KERN_INFO "qnx4: qnx4_get_block inode=[%ld] iblock=[%ld]\n",inode->i_ino,iblock));
94 phys = qnx4_block_map( inode, iblock );
102 unsigned long qnx4_block_map( struct inode *inode, long iblock )
112 if ( iblock < le32_to_cpu(qnx4_inode->di_first_xtnt.xtnt_size) ) {
113 // iblock is in the first extent. This is easy.
114 block = le32_to_cpu(qnx4_inode->di_first_xtnt.xtnt_blk) + iblock - 1;
116 // iblock is beyond first extent. We have to follow the extent chain.
118 offset = iblock
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hpfs/
H A Dfile.c62 static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
65 s = hpfs_bmap(inode, iblock);
71 if (iblock<<9 != hpfs_i(inode)->mmu_private) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/udf/
H A Ddir.c45 int block, iblock; local
159 iblock = parent_ino(filp->f_path.dentry);
166 iblock = udf_get_lb_pblock(dir->i_sb, &tloc, 0);
172 iblock, dt_type) < 0)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/
H A Daops.h60 int ocfs2_get_block(struct inode *inode, sector_t iblock,
H A Daops.c51 static int ocfs2_symlink_get_block(struct inode *inode, sector_t iblock, argument
63 (unsigned long long)iblock, bh_result, create);
67 if ((iblock << inode->i_sb->s_blocksize_bits) > PATH_MAX + 1) {
69 (unsigned long long)iblock);
80 if ((u64)iblock >= ocfs2_clusters_to_blocks(inode->i_sb,
83 "%llu\n", (unsigned long long)iblock);
91 iblock;
109 memcpy(kaddr + (bh_result->b_size * iblock),
119 le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + iblock);
130 int ocfs2_get_block(struct inode *inode, sector_t iblock, argument
513 ocfs2_direct_IO_get_blocks(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dlibvorbis.c56 double iblock; member in struct:OggVorbisContext
60 { "iblock", "Sets the impulse block bias", offsetof(OggVorbisContext, iblock), AV_OPT_TYPE_DOUBLE, { .dbl = 0 }, -15, 0, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
112 if (context->iblock) {
113 vorbis_encode_ctl(vi, OV_ECTL_IBLOCK_SET, &context->iblock);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus/
H A Dextents.c171 /* Get a block at iblock for inode, possibly allocating if create */
172 int hfsplus_get_block(struct inode *inode, sector_t iblock, argument
184 ablock = iblock >> HFSPLUS_SB(sb).fs_shift;
186 if (iblock >= HFSPLUS_I(inode).fs_blocks) {
187 if (iblock > HFSPLUS_I(inode).fs_blocks || !create)
217 dprint(DBG_EXTENT, "get_block(%lu): %llu - %u\n", inode->i_ino, (long long)iblock, dblock);
219 map_bh(bh_result, sb, (dblock << HFSPLUS_SB(sb).fs_shift) + HFSPLUS_SB(sb).blockoffset + (iblock & mask));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus_journal/
H A Dextents.c202 /* Get a block at iblock for inode, possibly allocating if create */
203 int hfsplus_get_block(struct inode *inode, sector_t iblock, argument
240 ablock = iblock >> HFSPLUS_SB(sb).fs_shift;
242 if (iblock >= HFSPLUS_I(inode).fs_blocks) {
243 if (iblock > HFSPLUS_I(inode).fs_blocks || !create) {
274 dprint(DBG_EXTENT, "get_block(%lu): %llu - %u\n", inode->i_ino, (long long)iblock, dblock);
276 map_bh(bh_result, sb, (dblock << HFSPLUS_SB(sb).fs_shift) + HFSPLUS_SB(sb).blockoffset + (iblock & mask));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dlibvorbisenc.c51 double iblock; /**< impulse block bias option */ member in struct:LibvorbisEncContext
57 { "iblock", "Sets the impulse block bias", offsetof(LibvorbisEncContext, iblock), AV_OPT_TYPE_DOUBLE, { .dbl = 0 }, -15, 0, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
126 if (s->iblock) {
127 if ((ret = vorbis_encode_ctl(vi, OV_ECTL_IBLOCK_SET, &s->iblock)))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ntfs/
H A Daops.c196 sector_t iblock, lblock, zblock; local
233 iblock = (s64)page->index << (PAGE_CACHE_SHIFT - blocksize_bits);
259 if (iblock < lblock) {
262 /* Convert iblock into corresponding vcn and offset. */
263 vcn = (VCN)iblock << blocksize_bits >>
265 vcn_ofs = ((VCN)iblock << blocksize_bits) &
286 if (iblock < zblock) {
334 * Either iblock was outside lblock limits or
345 } while (i++, iblock++, (bh = bh->b_this_page) != head);
557 sector_t block, dblock, iblock; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/sysv/
H A Ditree.c202 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
210 int depth = block_to_path(inode, iblock, offsets);
371 long iblock; local
379 iblock = (inode->i_size + blocksize-1)
384 n = block_to_path(inode, iblock, offsets);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext2/
H A Dinode.c605 sector_t iblock, unsigned long maxblocks,
621 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary);
697 goal = ext2_find_goal(inode, iblock, partial);
727 ext2_splice_branch(inode, iblock, partial, indirect_blks, count);
745 int ext2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
748 int ret = ext2_get_blocks(inode, iblock, max_blocks,
1080 long iblock; local
1083 iblock = (offset + blocksize-1) >> EXT2_BLOCK_SIZE_BITS(inode->i_sb);
1085 n = ext2_block_to_path(inode, iblock, offsets, NULL);
604 ext2_get_blocks(struct inode *inode, sector_t iblock, unsigned long maxblocks, struct buffer_head *bh_result, int create) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/minix/
H A Ditree_common.c303 long iblock; local
305 iblock = (inode->i_size + sb->s_blocksize -1) >> sb->s_blocksize_bits;
308 n = block_to_path(inode, iblock, offsets);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/isofs/
H A Dinode.c969 long iblock = (long)iblock_s; local
977 if (iblock < 0 || iblock != iblock_s) {
982 b_off = iblock;
1001 __func__, iblock, (unsigned long) inode->i_size);
1029 iblock, firstext, (unsigned) sect_size,
1057 static int isofs_get_block(struct inode *inode, sector_t iblock, argument
1067 ret = isofs_get_blocks(inode, iblock, &bh_result, 1);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/fat/
H A Ddir.c46 static inline void fat_dir_readahead(struct inode *dir, sector_t iblock, argument
55 if ((iblock & (sbi->sec_per_clus - 1)) || sbi->sec_per_clus == 1)
83 sector_t phys, iblock; local
92 iblock = *pos >> sb->s_blocksize_bits;
93 err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0);
97 fat_dir_readahead(dir, iblock, phys);
104 *pos = (iblock + 1) << sb->s_blocksize_bits;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/linux-2.6/
H A Dxfs_aops.c1300 sector_t iblock,
1313 offset = (xfs_off_t)iblock << inode->i_blkbits;
1382 mapping_size = imap.br_startoff + imap.br_blockcount - iblock;
1400 sector_t iblock,
1404 return __xfs_get_blocks(inode, iblock, bh_result, create, 0);
1410 sector_t iblock,
1414 return __xfs_get_blocks(inode, iblock, bh_result, create, 1);
1298 __xfs_get_blocks( struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create, int direct) argument
1398 xfs_get_blocks( struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
1408 xfs_get_blocks_direct( struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dblock_dev.c119 blkdev_get_block(struct inode *inode, sector_t iblock, argument
122 if (iblock >= max_block(I_BDEV(inode))) {
135 bh->b_blocknr = iblock;
141 blkdev_get_blocks(struct inode *inode, sector_t iblock, argument
147 if ((iblock + max_blocks) > end_block) {
148 max_blocks = end_block - iblock;
161 bh->b_blocknr = iblock;
H A Dbuffer.c2038 sector_t iblock, lblock; local
2050 iblock = (sector_t)page->index << (PAGE_CACHE_SHIFT - inode->i_blkbits);
2064 if (iblock < lblock) {
2066 err = get_block(inode, iblock, bh, 0);
2084 } while (i++, iblock++, (bh = bh->b_this_page) != head);
2584 sector_t iblock; local
2599 iblock = (sector_t)index << (PAGE_CACHE_SHIFT - inode->i_blkbits);
2616 iblock++;
2622 err = get_block(inode, iblock, &map_bh, 0);
2662 sector_t iblock; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext4/
H A Dinode.c592 ext4_lblk_t iblock, ext4_fsblk_t goal,
658 ar.logical = iblock;
727 ext4_lblk_t iblock, int indirect_blks,
739 num = ext4_alloc_blocks(handle, inode, iblock, goal, indirect_blks,
1349 static int _ext4_get_block(struct inode *inode, sector_t iblock, argument
1357 map.m_lblk = iblock;
1385 int ext4_get_block(struct inode *inode, sector_t iblock, argument
1388 return _ext4_get_block(inode, iblock, bh,
1563 static int ext4_get_block_write(struct inode *inode, sector_t iblock,
2510 static int ext4_da_get_block_prep(struct inode *inode, sector_t iblock, argument
591 ext4_alloc_blocks(handle_t *handle, struct inode *inode, ext4_lblk_t iblock, ext4_fsblk_t goal, int indirect_blks, int blks, ext4_fsblk_t new_blocks[4], int *err) argument
726 ext4_alloc_branch(handle_t *handle, struct inode *inode, ext4_lblk_t iblock, int indirect_blks, int *blks, ext4_fsblk_t goal, ext4_lblk_t *offsets, Indirect *branch) argument
2578 noalloc_get_block_write(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
3617 ext4_get_block_write(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
4139 ext4_lblk_t iblock; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/gfs2/
H A Dbmap.c967 unsigned blocksize, iblock, length, pos; local
978 iblock = index << (PAGE_CACHE_SHIFT - inode->i_sb->s_blocksize_bits);
988 iblock++;
995 gfs2_block_map(inode, iblock, bh, 0);

Completed in 335 milliseconds

12