Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 12 of 12) sorted by relevance

/fs/adfs/
Dadfs.h99 static inline __u32 signed_asl(__u32 val, signed int shift) in signed_asl() argument
101 if (shift >= 0) in signed_asl()
102 val <<= shift; in signed_asl()
104 val >>= -shift; in signed_asl()
/fs/gfs2/
Dmeta_io.c146 unsigned int shift; in gfs2_getbuf() local
150 shift = PAGE_CACHE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getbuf()
151 index = blkno >> shift; /* convert block to page */ in gfs2_getbuf()
152 bufnum = blkno - (index << shift); /* block buf index within page */ in gfs2_getbuf()
Dbmap.c1248 unsigned int shift; in gfs2_write_alloc_required() local
1265 shift = sdp->sd_sb.sb_bsize_shift; in gfs2_write_alloc_required()
1267 end_of_file = (ip->i_disksize + sdp->sd_sb.sb_bsize - 1) >> shift; in gfs2_write_alloc_required()
1268 lblock = offset >> shift; in gfs2_write_alloc_required()
1269 lblock_stop = (offset + len + sdp->sd_sb.sb_bsize - 1) >> shift; in gfs2_write_alloc_required()
1273 size = (lblock_stop - lblock) << shift; in gfs2_write_alloc_required()
/fs/nls/
Dnls_base.c30 int shift; member
120 c = t->shift; in utf8_wctomb()
/fs/jbd/
Drevoke.c210 int shift = 0; in journal_init_revoke_table() local
219 shift++; in journal_init_revoke_table()
222 table->hash_shift = shift; in journal_init_revoke_table()
/fs/jbd2/
Drevoke.c209 int shift = 0; in jbd2_journal_init_revoke_table() local
218 shift++; in jbd2_journal_init_revoke_table()
221 table->hash_shift = shift; in jbd2_journal_init_revoke_table()
/fs/nfsd/
Dnfs4state.c637 int i, shift; in parse_ipv4() local
640 shift = 24; in parse_ipv4()
645 cbaddr |= (temp << shift); in parse_ipv4()
646 if (shift > 0) in parse_ipv4()
647 shift -= 8; in parse_ipv4()
652 shift = 8; in parse_ipv4()
657 cbport |= (temp << shift); in parse_ipv4()
658 if (shift > 0) in parse_ipv4()
659 shift -= 8; in parse_ipv4()
/fs/hfsplus/
Dextents.c178 int shift; in hfsplus_get_block() local
183 shift = HFSPLUS_SB(sb).alloc_blksz_shift - sb->s_blocksize_bits; in hfsplus_get_block()
/fs/ufs/
Dinode.c92 int shift = uspi->s_apbshift-uspi->s_fpbshift; in ufs_frag_map() local
122 bh = sb_bread(sb, uspi->s_sbbase + fs32_to_cpu(sb, block)+(n>>shift)); in ufs_frag_map()
144 bh = sb_bread(sb, temp +(u64) (n>>shift)); in ufs_frag_map()
/fs/
Dexec.c507 static int shift_arg_pages(struct vm_area_struct *vma, unsigned long shift) in shift_arg_pages() argument
513 unsigned long new_start = old_start - shift; in shift_arg_pages()
514 unsigned long new_end = old_end - shift; in shift_arg_pages()
/fs/ocfs2/
Dalloc.c1339 int ret, shift; in ocfs2_grow_tree() local
1347 shift = ocfs2_find_branch_target(osb, inode, et, &bh); in ocfs2_grow_tree()
1348 if (shift < 0) { in ocfs2_grow_tree()
1349 ret = shift; in ocfs2_grow_tree()
1357 if (shift) { in ocfs2_grow_tree()
/fs/ntfs/
DChangeLog70 a left shift of a page index.