Searched refs:bufoff (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/fs/adfs/ |
D | dir_f.c | 73 #define bufoff(_bh,_idx) \ macro 113 ptr.ptr8 = bufoff(bh, i); in adfs_dir_checkbyte() 128 ptr.ptr8 = bufoff(bh, 2008); in adfs_dir_checkbyte() 176 memcpy(&dir->dirhead, bufoff(dir->bh, 0), sizeof(dir->dirhead)); in adfs_dir_read() 177 memcpy(&dir->dirtail, bufoff(dir->bh, 2007), sizeof(dir->dirtail)); in adfs_dir_read() 421 memcpy(&dir->dirhead, bufoff(dir->bh, 0), sizeof(dir->dirhead)); in adfs_f_update() 422 memcpy(&dir->dirtail, bufoff(dir->bh, 2007), sizeof(dir->dirtail)); in adfs_f_update()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | tg3.c | 847 u32 i, bufoff, msgoff, maxlen, apedata; in tg3_ape_scratchpad_read() local 860 bufoff = tg3_ape_read32(tp, TG3_APE_SEG_MSG_BUF_OFF) + in tg3_ape_scratchpad_read() 862 msgoff = bufoff + 2 * sizeof(u32); in tg3_ape_scratchpad_read() 886 tg3_ape_write32(tp, bufoff, base_off); in tg3_ape_scratchpad_read() 887 tg3_ape_write32(tp, bufoff + sizeof(u32), length); in tg3_ape_scratchpad_read()
|