Home
last modified time | relevance | path

Searched refs:boffset (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/mtd/
Dsm_ftl.c198 static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset) in sm_mkoffset() argument
200 WARN_ON(boffset & (SM_SECTOR_SIZE - 1)); in sm_mkoffset()
203 WARN_ON(boffset >= ftl->block_size); in sm_mkoffset()
208 return (zone * SM_MAX_ZONE_SIZE + block) * ftl->block_size + boffset; in sm_mkoffset()
213 int *zone, int *block, int *boffset) in sm_break_offset() argument
215 *boffset = do_div(offset, ftl->block_size); in sm_break_offset()
240 int zone, int block, int boffset, in sm_read_sector() argument
270 if (zone == 0 && block == ftl->cis_block && boffset == in sm_read_sector()
281 ret = mtd->read_oob(mtd, sm_mkoffset(ftl, zone, block, boffset), &ops); in sm_read_sector()
322 int zone, int block, int boffset, in sm_write_sector() argument
[all …]
/linux-2.6.39/drivers/crypto/
Dtalitos.c1164 unsigned int boffset = 0; in sg_copy_end_to_buffer() local
1185 if (boffset + len > buflen) in sg_copy_end_to_buffer()
1186 len = buflen - boffset; in sg_copy_end_to_buffer()
1187 memcpy(buf + boffset, miter.addr + ignore, len); in sg_copy_end_to_buffer()
1191 if (boffset + len > buflen) in sg_copy_end_to_buffer()
1192 len = buflen - boffset; in sg_copy_end_to_buffer()
1193 memcpy(buf + boffset, miter.addr, len); in sg_copy_end_to_buffer()
1195 boffset += len; in sg_copy_end_to_buffer()
1203 return boffset; in sg_copy_end_to_buffer()
/linux-2.6.39/fs/xfs/linux-2.6/
Dxfs_trace.h1728 __field(int, boffset)
1739 __entry->boffset = in_f->ilf_boffset;
1751 __entry->boffset)