Home
last modified time | relevance | path

Searched refs:offs2 (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/fs/ubifs/
H A Drecovery.c232 int err, offs1, offs2; in ubifs_recover_master_node() local
255 offs2 = (void *)mst2 - buf2; in ubifs_recover_master_node()
256 if (offs1 == offs2) { in ubifs_recover_master_node()
261 } else if (offs2 + sz == offs1) { in ubifs_recover_master_node()
267 c->leb_size - offs2 - sz < sz) { in ubifs_recover_master_node()
291 offs2 = (void *)mst2 - buf2; in ubifs_recover_master_node()
292 if (offs2 + sz + sz <= c->leb_size) in ubifs_recover_master_node()
/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Drecovery.c234 int err, offs1, offs2; in ubifs_recover_master_node() local
257 offs2 = (void *)mst2 - buf2; in ubifs_recover_master_node()
258 if (offs1 == offs2) { in ubifs_recover_master_node()
265 } else if (offs2 + sz == offs1) { in ubifs_recover_master_node()
271 c->leb_size - offs2 - sz < sz) { in ubifs_recover_master_node()
295 offs2 = (void *)mst2 - buf2; in ubifs_recover_master_node()
296 if (offs2 + sz + sz <= c->leb_size) in ubifs_recover_master_node()
/OK3568_Linux_fs/kernel/arch/x86/lib/
H A Dinsn-eval.c533 int *offs1, int *offs2) in get_reg_offset_16() argument
562 if (!offs1 || !offs2) in get_reg_offset_16()
568 *offs2 = -EDOM; in get_reg_offset_16()
573 *offs2 = regoff2[X86_MODRM_RM(insn->modrm.value)]; in get_reg_offset_16()
/OK3568_Linux_fs/kernel/tools/perf/arch/x86/util/
H A Dintel-pt.c1035 void *buf2, size_t offs2, size_t buf2_size) in intel_pt_compare_buffers() argument
1037 size_t end2 = offs2 + compare_size, part_size; in intel_pt_compare_buffers()
1040 return memcmp(buf1, buf2 + offs2, compare_size); in intel_pt_compare_buffers()
1043 if (memcmp(buf1, buf2 + offs2, part_size)) in intel_pt_compare_buffers()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/gp/include/
H A Dxml_crypto_api.h1305 size_t offs2 = 0; in Invoke_Crypto_InitObjectWithKeys() local
1323 res = add_attr(id1, v1, sz1, &shm1, &offs1, &shm2, &offs2); in Invoke_Crypto_InitObjectWithKeys()
1326 res = add_attr(id2, v2, sz2, &shm1, &offs1, &shm2, &offs2); in Invoke_Crypto_InitObjectWithKeys()
1329 res = add_attr(id3, v3, sz3, &shm1, &offs1, &shm2, &offs2); in Invoke_Crypto_InitObjectWithKeys()
1332 res = add_attr(id4, v4, sz4, &shm1, &offs1, &shm2, &offs2); in Invoke_Crypto_InitObjectWithKeys()
1335 res = add_attr(id5, v5, sz5, &shm1, &offs1, &shm2, &offs2); in Invoke_Crypto_InitObjectWithKeys()
1342 SET_SHARED_MEMORY_OPERATION_PARAMETER(2, 0, &shm2, offs2); in Invoke_Crypto_InitObjectWithKeys()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c1285 unsigned int offs2; in matroxfb_getmemory() local
1316 for (offs2 = 0x100000; offs2 < maxSize; offs2 += 0x200000) in matroxfb_getmemory()
1317 mga_writeb(vm, offs2, *tmp++); in matroxfb_getmemory()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmutils.c618 pkt2pktcopy(osl_t *osh, void *p1, uint offs1, void *p2, uint offs2, uint maxlen) in pkt2pktcopy() argument
629 if (offs2 < (uint)PKTLEN(osh, p2)) in pkt2pktcopy()
631 offs2 -= PKTLEN(osh, p2); in pkt2pktcopy()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcmutils.c618 pkt2pktcopy(osl_t *osh, void *p1, uint offs1, void *p2, uint offs2, uint maxlen) in pkt2pktcopy() argument
629 if (offs2 < (uint)PKTLEN(osh, p2)) in pkt2pktcopy()
631 offs2 -= PKTLEN(osh, p2); in pkt2pktcopy()