Home
last modified time | relevance | path

Searched refs:bufoff (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/fs/adfs/
Ddir_f.c60 #define bufoff(_bh,_idx) \ macro
100 ptr.ptr8 = bufoff(bh, i); in adfs_dir_checkbyte()
115 ptr.ptr8 = bufoff(bh, 2008); in adfs_dir_checkbyte()
160 memcpy(&dir->dirhead, bufoff(dir->bh, 0), sizeof(dir->dirhead)); in adfs_dir_read()
161 memcpy(&dir->dirtail, bufoff(dir->bh, 2007), sizeof(dir->dirtail)); in adfs_dir_read()
397 memcpy(&dir->dirhead, bufoff(dir->bh, 0), sizeof(dir->dirhead)); in adfs_f_update()
398 memcpy(&dir->dirtail, bufoff(dir->bh, 2007), sizeof(dir->dirtail)); in adfs_f_update()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dtg3.c853 u32 i, bufoff, msgoff, maxlen, apedata; in tg3_ape_scratchpad_read() local
866 bufoff = tg3_ape_read32(tp, TG3_APE_SEG_MSG_BUF_OFF) + in tg3_ape_scratchpad_read()
868 msgoff = bufoff + 2 * sizeof(u32); in tg3_ape_scratchpad_read()
892 tg3_ape_write32(tp, bufoff, base_off); in tg3_ape_scratchpad_read()
893 tg3_ape_write32(tp, bufoff + sizeof(u32), length); in tg3_ape_scratchpad_read()