Home
last modified time | relevance | path

Searched refs:bshift (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/arch/m68k/emu/
Dnfblock.c57 int bshift; member
70 shift = dev->bshift; in nfhd_make_request()
86 geo->cylinders = dev->blocks >> (6 - dev->bshift); in nfhd_getgeo()
118 dev->bshift = ffs(bsize) - 10; in nfhd_init_one()
/linux-2.6.39/fs/cachefiles/
Dbind.c162 cache->bshift = 0; in cachefiles_daemon_add_cache()
164 cache->bshift = PAGE_SHIFT - ilog2(stats.f_bsize); in cachefiles_daemon_add_cache()
167 cache->bsize, cache->bshift); in cachefiles_daemon_add_cache()
184 stats.f_blocks >>= cache->bshift; in cachefiles_daemon_add_cache()
Dinternal.h68 unsigned bshift; /* min(ilog2(PAGE_SIZE / bsize), 0) */ member
Ddaemon.c705 stats.f_bavail >>= cache->bshift; in cachefiles_has_space()
/linux-2.6.39/drivers/block/
Dub.c234 unsigned int bshift; /* Shift between 512 and hard sects */ member
731 block = blk_rq_pos(rq) >> lun->capacity.bshift; in ub_cmd_build_block()
732 nblks = blk_rq_sectors(rq) >> lun->capacity.bshift; in ub_cmd_build_block()
1650 lun->capacity.bshift = 0; in ub_revalidate()
1665 lun->capacity.bshift = 0; in ub_revalidate()
1951 ret->bshift = shift; in ub_sync_read_cap()
/linux-2.6.39/arch/x86/kernel/apic/
Dx2apic_uv_x.c439 int bshift, int max_pnode, enum map_type map_type) in map_high() argument
444 bytes = (1UL << bshift) * (max_pnode + 1); in map_high()