Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/tools/objtool/arch/x86/
Ddecode.c130 sib = 0, /* sib_scale = 0, */ sib_index = 0, sib_base = 0; in arch_decode_instruction() local
173 if (insn.sib.nbytes) { in arch_decode_instruction()
174 sib = insn.sib.bytes[0]; in arch_decode_instruction()
176 sib_index = X86_SIB_INDEX(sib) + 8*rex_x; in arch_decode_instruction()
177 sib_base = X86_SIB_BASE(sib) + 8*rex_b; in arch_decode_instruction()
/linux-6.1.9/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.1.9/drivers/md/persistent-data/
Ddm-btree.c910 struct dm_block *sib; in rebalance_left() local
913 r = shadow_child(s->info, vt, parent, parent_index - 1, &sib); in rebalance_left()
917 left = dm_block_data(sib); in rebalance_left()
924 s->nodes[1] = sib; in rebalance_left()
926 unlock_block(s->info, sib); in rebalance_left()
939 struct dm_block *sib; in rebalance_right() local
942 r = shadow_child(s->info, vt, parent, parent_index + 1, &sib); in rebalance_right()
947 right = dm_block_data(sib); in rebalance_right()
952 unlock_block(s->info, sib); in rebalance_right()
955 s->nodes[1] = sib; in rebalance_right()
/linux-6.1.9/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.1.9/drivers/infiniband/core/
Dcma.c655 static void cma_translate_ib(struct sockaddr_ib *sib, struct rdma_dev_addr *dev_addr) in cma_translate_ib() argument
658 rdma_addr_set_sgid(dev_addr, (union ib_gid *) &sib->sib_addr); in cma_translate_ib()
659 ib_addr_set_pkey(dev_addr, ntohs(sib->sib_pkey)); in cma_translate_ib()
1346 struct sockaddr_ib *sib; in cma_port() local
1354 sib = (struct sockaddr_ib *) addr; in cma_port()
1355 return htons((u16) (be64_to_cpu(sib->sib_sid) & in cma_port()
1356 be64_to_cpu(sib->sib_sid_mask))); in cma_port()
2898 struct sockaddr_ib *sib; in cma_query_ib_route() local
2929 sib = (struct sockaddr_ib *) cma_src_addr(id_priv); in cma_query_ib_route()
2930 path_rec.traffic_class = (u8) (be32_to_cpu(sib->sib_flowinfo) >> 20); in cma_query_ib_route()
[all …]
/linux-6.1.9/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.1.9/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()
3687 const struct sib_info *sib) in nla_put_status_info() argument
3707 exclude_sensitive = sib || !capable(CAP_SYS_ADMIN); in nla_put_status_info()
3740 if (nla_put_u32(skb, T_sib_reason, sib ? sib->sib_reason : SIB_GET_STATUS_REPLY) || in nla_put_status_info()
[all …]
Ddrbd_state.c1708 struct sib_info sib; in after_state_ch() local
1712 sib.sib_reason = SIB_STATE_CHANGE; in after_state_ch()
1713 sib.os = os; in after_state_ch()
1714 sib.ns = ns; in after_state_ch()
1724 drbd_bcast_event(device, &sib); in after_state_ch()
Ddrbd_worker.c1914 struct sib_info sib = { .sib_reason = SIB_SYNC_PROGRESS, }; in update_on_disk_bitmap() local
1924 drbd_bcast_event(device, &sib); in update_on_disk_bitmap()
Ddrbd_int.h1637 void drbd_bcast_event(struct drbd_device *device, const struct sib_info *sib);
/linux-6.1.9/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.1.9/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2582 int sib = 0; in FIXTURE_TEARDOWN() local
2589 for ( ; sib < self->sibling_count; ++sib) { in FIXTURE_TEARDOWN()
2590 struct tsync_sibling *s = &self->sibling[sib]; in FIXTURE_TEARDOWN()
2898 long ret, sib; in TEST_F() local
2934 sib = 1; in TEST_F()
2936 sib = 0; in TEST_F()
2943 self->sibling[!sib].num_waits += 1; in TEST_F()
2950 PTHREAD_JOIN(self->sibling[sib].tid, &status); in TEST_F()
2953 while (!kill(self->sibling[sib].system_tid, 0)) in TEST_F()
2956 sib = !sib; in TEST_F()
[all …]
/linux-6.1.9/drivers/net/ethernet/dlink/
Ddl2k.h342 u8 sib[204]; /* 0x30-0xfb */ member
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c2036 struct sockaddr_ib sib = { in rtrs_srv_rdma_init() local
2055 cm_ib = rtrs_srv_cm_init(ctx, (struct sockaddr *)&sib, RDMA_PS_IB); in rtrs_srv_rdma_init()
/linux-6.1.9/arch/x86/kvm/
Demulate.c1208 u8 sib; in decode_modrm() local
1299 sib = insn_fetch(u8, ctxt); in decode_modrm()
1300 index_reg |= (sib >> 3) & 7; in decode_modrm()
1301 base_reg |= sib & 7; in decode_modrm()
1302 scale = sib >> 6; in decode_modrm()