Home
last modified time | relevance | path

Searched refs:sib (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/tools/arch/x86/include/asm/
Dinsn.h81 struct insn_field sib; member
111 #define X86_SIB_SCALE(sib) (((sib) & 0xc0) >> 6) argument
112 #define X86_SIB_INDEX(sib) (((sib) & 0x38) >> 3) argument
113 #define X86_SIB_BASE(sib) ((sib) & 0x07) argument
236 return insn_offset_sib(insn) + insn->sib.nbytes; in insn_offset_displacement()
/linux-6.6.21/arch/x86/include/asm/
Dinsn.h81 struct insn_field sib; member
111 #define X86_SIB_SCALE(sib) (((sib) & 0xc0) >> 6) argument
112 #define X86_SIB_INDEX(sib) (((sib) & 0x38) >> 3) argument
113 #define X86_SIB_BASE(sib) ((sib) & 0x07) argument
236 return insn_offset_sib(insn) + insn->sib.nbytes; in insn_offset_displacement()
/linux-6.6.21/lib/
Dbootconfig.c455 struct xbc_node *sib, *node = xbc_add_node(data, flag); in __xbc_add_sibling() local
461 sib = xbc_last_sibling(xbc_nodes); in __xbc_add_sibling()
462 sib->next = xbc_node_index(node); in __xbc_add_sibling()
469 sib = xbc_node_get_child(last_parent); in __xbc_add_sibling()
470 sib = xbc_last_sibling(sib); in __xbc_add_sibling()
471 sib->next = xbc_node_index(node); in __xbc_add_sibling()
/linux-6.6.21/arch/x86/lib/
Dinsn.c417 if (insn->sib.got) in insn_get_sib()
430 insn_field_set(&insn->sib, in insn_get_sib()
434 insn->sib.got = 1; in insn_get_sib()
463 if (!insn->sib.got) { in insn_get_displacement()
489 base = X86_SIB_BASE(insn->sib.value); in insn_get_displacement()
721 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
Dinsn-eval.c482 regno = X86_SIB_INDEX(insn->sib.value); in get_regno()
497 regno = X86_SIB_BASE(insn->sib.value); in get_regno()
1174 if (!insn->sib.nbytes) in get_eff_addr_sib()
1205 addr32 = base32 + idx32 * (1 << X86_SIB_SCALE(insn->sib.value)); in get_eff_addr_sib()
1210 *eff_addr = base + indx * (1 << X86_SIB_SCALE(insn->sib.value)); in get_eff_addr_sib()
1316 if (insn->sib.nbytes) { in get_addr_ref_32()
1407 if (insn->sib.nbytes) { in get_addr_ref_64()
/linux-6.6.21/tools/arch/x86/lib/
Dinsn.c417 if (insn->sib.got) in insn_get_sib()
430 insn_field_set(&insn->sib, in insn_get_sib()
434 insn->sib.got = 1; in insn_get_sib()
463 if (!insn->sib.got) { in insn_get_displacement()
489 base = X86_SIB_BASE(insn->sib.value); in insn_get_displacement()
721 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
/linux-6.6.21/tools/objtool/arch/x86/
Ddecode.c158 sib = 0, /* sib_scale = 0, */ sib_index = 0, sib_base = 0; in arch_decode_instruction() local
201 if (ins.sib.nbytes) { in arch_decode_instruction()
202 sib = ins.sib.bytes[0]; in arch_decode_instruction()
204 sib_index = X86_SIB_INDEX(sib) + 8*rex_x; in arch_decode_instruction()
205 sib_base = X86_SIB_BASE(sib) + 8*rex_b; in arch_decode_instruction()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_flow.c902 enum ice_flow_field sib = ICE_FLOW_FIELD_IDX_MAX; in ice_flow_xtract_fld() local
938 sib = ICE_FLOW_FIELD_IDX_IPV4_PROT; in ice_flow_xtract_fld()
940 sib = ICE_FLOW_FIELD_IDX_IPV4_TTL; in ice_flow_xtract_fld()
945 if (match & BIT(sib)) in ice_flow_xtract_fld()
946 sib_mask = ice_flds_info[sib].mask; in ice_flow_xtract_fld()
957 sib = ICE_FLOW_FIELD_IDX_IPV6_PROT; in ice_flow_xtract_fld()
959 sib = ICE_FLOW_FIELD_IDX_IPV6_TTL; in ice_flow_xtract_fld()
964 if (match & BIT(sib)) in ice_flow_xtract_fld()
965 sib_mask = ice_flds_info[sib].mask; in ice_flow_xtract_fld()
1027 sib = fld == ICE_FLOW_FIELD_IDX_ICMP_TYPE ? in ice_flow_xtract_fld()
[all …]
/linux-6.6.21/drivers/md/persistent-data/
Ddm-btree.c919 struct dm_block *sib; in rebalance_left() local
922 r = shadow_child(s->info, vt, parent, parent_index - 1, &sib); in rebalance_left()
926 left = dm_block_data(sib); in rebalance_left()
933 s->nodes[1] = sib; in rebalance_left()
935 unlock_block(s->info, sib); in rebalance_left()
948 struct dm_block *sib; in rebalance_right() local
951 r = shadow_child(s->info, vt, parent, parent_index + 1, &sib); in rebalance_right()
956 right = dm_block_data(sib); in rebalance_right()
961 unlock_block(s->info, sib); in rebalance_right()
964 s->nodes[1] = sib; in rebalance_right()
/linux-6.6.21/arch/x86/math-emu/
Dget_address.c72 static int sib(int mod, unsigned long *fpu_eip) in sib() function
230 address = sib(mod, fpu_eip); in FPU_get_address()
/linux-6.6.21/drivers/infiniband/core/
Dcma.c661 static void cma_translate_ib(struct sockaddr_ib *sib, struct rdma_dev_addr *dev_addr) in cma_translate_ib() argument
664 rdma_addr_set_sgid(dev_addr, (union ib_gid *) &sib->sib_addr); in cma_translate_ib()
665 ib_addr_set_pkey(dev_addr, ntohs(sib->sib_pkey)); in cma_translate_ib()
1373 struct sockaddr_ib *sib; in cma_port() local
1381 sib = (struct sockaddr_ib *) addr; in cma_port()
1382 return htons((u16) (be64_to_cpu(sib->sib_sid) & in cma_port()
1383 be64_to_cpu(sib->sib_sid_mask))); in cma_port()
2928 struct sockaddr_ib *sib; in cma_query_ib_route() local
2959 sib = (struct sockaddr_ib *) cma_src_addr(id_priv); in cma_query_ib_route()
2960 path_rec.traffic_class = (u8) (be32_to_cpu(sib->sib_flowinfo) >> 20); in cma_query_ib_route()
[all …]
/linux-6.6.21/fs/nilfs2/
Dbtree.c1062 struct nilfs_btree_node *node, *parent, *sib; in nilfs_btree_prepare_insert() local
1103 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert()
1104 if (nilfs_btree_node_get_nchildren(sib) < ncblk) { in nilfs_btree_prepare_insert()
1121 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert()
1122 if (nilfs_btree_node_get_nchildren(sib) < ncblk) { in nilfs_btree_prepare_insert()
1147 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert()
1148 nilfs_btree_node_init(sib, 0, level, 0, ncblk, NULL, NULL); in nilfs_btree_prepare_insert()
1436 struct nilfs_btree_node *node, *parent, *sib; in nilfs_btree_prepare_delete() local
1473 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_delete()
1474 if (nilfs_btree_node_get_nchildren(sib) > ncmin) { in nilfs_btree_prepare_delete()
[all …]
/linux-6.6.21/drivers/block/drbd/
Ddrbd_nl.c365 struct sib_info sib; in drbd_khelper() local
379 sib.sib_reason = SIB_HELPER_PRE; in drbd_khelper()
380 sib.helper_name = cmd; in drbd_khelper()
381 drbd_bcast_event(device, &sib); in drbd_khelper()
392 sib.sib_reason = SIB_HELPER_POST; in drbd_khelper()
393 sib.helper_exit_code = ret; in drbd_khelper()
394 drbd_bcast_event(device, &sib); in drbd_khelper()
3710 const struct sib_info *sib) in nla_put_status_info() argument
3730 exclude_sensitive = sib || !capable(CAP_SYS_ADMIN); in nla_put_status_info()
3763 if (nla_put_u32(skb, T_sib_reason, sib ? sib->sib_reason : SIB_GET_STATUS_REPLY) || in nla_put_status_info()
[all …]
Ddrbd_state.c1711 struct sib_info sib; in after_state_ch() local
1715 sib.sib_reason = SIB_STATE_CHANGE; in after_state_ch()
1716 sib.os = os; in after_state_ch()
1717 sib.ns = ns; in after_state_ch()
1727 drbd_bcast_event(device, &sib); in after_state_ch()
Ddrbd_worker.c1921 struct sib_info sib = { .sib_reason = SIB_SYNC_PROGRESS, }; in update_on_disk_bitmap() local
1931 drbd_bcast_event(device, &sib); in update_on_disk_bitmap()
Ddrbd_int.h1582 void drbd_bcast_event(struct drbd_device *device, const struct sib_info *sib);
/linux-6.6.21/arch/x86/tools/
Dinsn_decoder_test.c78 dump_field(fp, "sib", "\t", &insn->sib); in dump_insn()
Dinsn_sanity.c71 dump_field(fp, "sib", "\t", &insn->sib); in dump_insn()
/linux-6.6.21/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2599 int sib = 0; in FIXTURE_TEARDOWN() local
2606 for ( ; sib < self->sibling_count; ++sib) { in FIXTURE_TEARDOWN()
2607 struct tsync_sibling *s = &self->sibling[sib]; in FIXTURE_TEARDOWN()
2915 long ret, sib; in TEST_F() local
2951 sib = 1; in TEST_F()
2953 sib = 0; in TEST_F()
2960 self->sibling[!sib].num_waits += 1; in TEST_F()
2967 PTHREAD_JOIN(self->sibling[sib].tid, &status); in TEST_F()
2970 while (!kill(self->sibling[sib].system_tid, 0)) in TEST_F()
2973 sib = !sib; in TEST_F()
[all …]
/linux-6.6.21/drivers/net/ethernet/dlink/
Ddl2k.h342 u8 sib[204]; /* 0x30-0xfb */ member
/linux-6.6.21/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c2041 struct sockaddr_ib sib = { in rtrs_srv_rdma_init() local
2060 cm_ib = rtrs_srv_cm_init(ctx, (struct sockaddr *)&sib, RDMA_PS_IB); in rtrs_srv_rdma_init()
/linux-6.6.21/arch/x86/kvm/
Demulate.c1178 u8 sib; in decode_modrm() local
1269 sib = insn_fetch(u8, ctxt); in decode_modrm()
1270 index_reg |= (sib >> 3) & 7; in decode_modrm()
1271 base_reg |= sib & 7; in decode_modrm()
1272 scale = sib >> 6; in decode_modrm()