Home
last modified time | relevance | path

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

/linux-6.12.1/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
260 return insn_offset_sib(insn) + insn->sib.nbytes; in insn_offset_displacement()
/linux-6.12.1/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
260 return insn_offset_sib(insn) + insn->sib.nbytes; in insn_offset_displacement()
/linux-6.12.1/lib/
Dbootconfig.c456 struct xbc_node *sib, *node = xbc_add_node(data, flag); in __xbc_add_sibling() local
462 sib = xbc_last_sibling(xbc_nodes); in __xbc_add_sibling()
463 sib->next = xbc_node_index(node); in __xbc_add_sibling()
470 sib = xbc_node_get_child(last_parent); in __xbc_add_sibling()
471 sib = xbc_last_sibling(sib); in __xbc_add_sibling()
472 sib->next = xbc_node_index(node); in __xbc_add_sibling()
/linux-6.12.1/tools/objtool/arch/x86/
Ddecode.c164 sib = 0, /* sib_scale = 0, */ sib_index = 0, sib_base = 0; in arch_decode_instruction() local
207 if (ins.sib.nbytes) { in arch_decode_instruction()
208 sib = ins.sib.bytes[0]; in arch_decode_instruction()
210 sib_index = X86_SIB_INDEX(sib) + 8*rex_x; in arch_decode_instruction()
211 sib_base = X86_SIB_BASE(sib) + 8*rex_b; in arch_decode_instruction()
/linux-6.12.1/arch/x86/lib/
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()
Dinsn.c440 if (insn->sib.got) in insn_get_sib()
451 insn_field_set(&insn->sib, in insn_get_sib()
455 insn->sib.got = 1; in insn_get_sib()
508 base = X86_SIB_BASE(insn->sib.value); in insn_get_displacement()
736 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
/linux-6.12.1/fs/bcachefs/
Dbtree_update_interior.h140 enum btree_node_sibling sib) in bch2_foreground_maybe_merge_sibling() argument
151 if (b->sib_u64s[sib] > trans->c->btree_foreground_merge_threshold) in bch2_foreground_maybe_merge_sibling()
154 return __bch2_foreground_maybe_merge(trans, path_idx, level, flags, sib); in bch2_foreground_maybe_merge_sibling()
Dbtree_iter.c1325 struct btree_path *sib; in have_path_at_pos() local
1327 sib = prev_btree_path(trans, path); in have_path_at_pos()
1328 if (sib && !btree_path_cmp(sib, path)) in have_path_at_pos()
1329 return sib; in have_path_at_pos()
1331 sib = next_btree_path(trans, path); in have_path_at_pos()
1332 if (sib && !btree_path_cmp(sib, path)) in have_path_at_pos()
1333 return sib; in have_path_at_pos()
1340 struct btree_path *sib; in have_node_at_pos() local
1342 sib = prev_btree_path(trans, path); in have_node_at_pos()
1343 if (sib && sib->level == path->level && path_l(sib)->b == path_l(path)->b) in have_node_at_pos()
[all …]
Dbtree_update_interior.c1941 enum btree_node_sibling sib) in __bch2_foreground_maybe_merge() argument
1979 if ((sib == btree_prev_sib && bpos_eq(b->data->min_key, POS_MIN)) || in __bch2_foreground_maybe_merge()
1980 (sib == btree_next_sib && bpos_eq(b->data->max_key, SPOS_MAX))) { in __bch2_foreground_maybe_merge()
1981 b->sib_u64s[sib] = U16_MAX; in __bch2_foreground_maybe_merge()
1985 sib_pos = sib == btree_prev_sib in __bch2_foreground_maybe_merge()
2001 b->sib_u64s[sib] = U16_MAX; in __bch2_foreground_maybe_merge()
2005 if (sib == btree_prev_sib) { in __bch2_foreground_maybe_merge()
2047 b->sib_u64s[sib] = sib_u64s; in __bch2_foreground_maybe_merge()
2049 if (b->sib_u64s[sib] > c->btree_foreground_merge_threshold) in __bch2_foreground_maybe_merge()
/linux-6.12.1/tools/arch/x86/lib/
Dinsn.c440 if (insn->sib.got) in insn_get_sib()
451 insn_field_set(&insn->sib, in insn_get_sib()
455 insn->sib.got = 1; in insn_get_sib()
508 base = X86_SIB_BASE(insn->sib.value); in insn_get_displacement()
736 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_flow.c925 enum ice_flow_field sib = ICE_FLOW_FIELD_IDX_MAX; in ice_flow_xtract_fld() local
961 sib = ICE_FLOW_FIELD_IDX_IPV4_PROT; in ice_flow_xtract_fld()
963 sib = ICE_FLOW_FIELD_IDX_IPV4_TTL; in ice_flow_xtract_fld()
968 if (match & BIT(sib)) in ice_flow_xtract_fld()
969 sib_mask = ice_flds_info[sib].mask; in ice_flow_xtract_fld()
980 sib = ICE_FLOW_FIELD_IDX_IPV6_PROT; in ice_flow_xtract_fld()
982 sib = ICE_FLOW_FIELD_IDX_IPV6_TTL; in ice_flow_xtract_fld()
987 if (match & BIT(sib)) in ice_flow_xtract_fld()
988 sib_mask = ice_flds_info[sib].mask; in ice_flow_xtract_fld()
1050 sib = fld == ICE_FLOW_FIELD_IDX_ICMP_TYPE ? in ice_flow_xtract_fld()
[all …]
/linux-6.12.1/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.12.1/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.12.1/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()
1375 struct sockaddr_ib *sib; in cma_port() local
1383 sib = (struct sockaddr_ib *) addr; in cma_port()
1384 return htons((u16) (be64_to_cpu(sib->sib_sid) & in cma_port()
1385 be64_to_cpu(sib->sib_sid_mask))); in cma_port()
2930 struct sockaddr_ib *sib; in cma_query_ib_route() local
2961 sib = (struct sockaddr_ib *) cma_src_addr(id_priv); in cma_query_ib_route()
2962 path_rec.traffic_class = (u8) (be32_to_cpu(sib->sib_flowinfo) >> 20); in cma_query_ib_route()
[all …]
/linux-6.12.1/fs/nilfs2/
Dbtree.c1068 struct nilfs_btree_node *node, *parent, *sib; in nilfs_btree_prepare_insert() local
1109 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert()
1110 if (nilfs_btree_node_get_nchildren(sib) < ncblk) { in nilfs_btree_prepare_insert()
1127 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert()
1128 if (nilfs_btree_node_get_nchildren(sib) < ncblk) { in nilfs_btree_prepare_insert()
1153 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert()
1154 nilfs_btree_node_init(sib, 0, level, 0, ncblk, NULL, NULL); in nilfs_btree_prepare_insert()
1442 struct nilfs_btree_node *node, *parent, *sib; in nilfs_btree_prepare_delete() local
1479 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_delete()
1480 if (nilfs_btree_node_get_nchildren(sib) > ncmin) { in nilfs_btree_prepare_delete()
[all …]
/linux-6.12.1/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()
3701 const struct sib_info *sib) in nla_put_status_info() argument
3721 exclude_sensitive = sib || !capable(CAP_SYS_ADMIN); in nla_put_status_info()
3754 if (nla_put_u32(skb, T_sib_reason, sib ? sib->sib_reason : SIB_GET_STATUS_REPLY) || in nla_put_status_info()
[all …]
Ddrbd_state.c1715 struct sib_info sib; in after_state_ch() local
1719 sib.sib_reason = SIB_STATE_CHANGE; in after_state_ch()
1720 sib.os = os; in after_state_ch()
1721 sib.ns = ns; in after_state_ch()
1731 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.h1572 void drbd_bcast_event(struct drbd_device *device, const struct sib_info *sib);
/linux-6.12.1/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.12.1/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2601 int sib = 0; in FIXTURE_TEARDOWN() local
2608 for ( ; sib < self->sibling_count; ++sib) { in FIXTURE_TEARDOWN()
2609 struct tsync_sibling *s = &self->sibling[sib]; in FIXTURE_TEARDOWN()
2917 long ret, sib; in TEST_F() local
2953 sib = 1; in TEST_F()
2955 sib = 0; in TEST_F()
2962 self->sibling[!sib].num_waits += 1; in TEST_F()
2969 PTHREAD_JOIN(self->sibling[sib].tid, &status); in TEST_F()
2972 while (!kill(self->sibling[sib].system_tid, 0)) in TEST_F()
2975 sib = !sib; in TEST_F()
[all …]
/linux-6.12.1/drivers/net/ethernet/dlink/
Ddl2k.h342 u8 sib[204]; /* 0x30-0xfb */ member
/linux-6.12.1/arch/x86/kvm/
Demulate.c1179 u8 sib; in decode_modrm() local
1270 sib = insn_fetch(u8, ctxt); in decode_modrm()
1271 index_reg |= (sib >> 3) & 7; in decode_modrm()
1272 base_reg |= sib & 7; in decode_modrm()
1273 scale = sib >> 6; in decode_modrm()
/linux-6.12.1/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c2058 struct sockaddr_ib sib = { in rtrs_srv_rdma_init() local
2077 cm_ib = rtrs_srv_cm_init(ctx, (struct sockaddr *)&sib, RDMA_PS_IB); in rtrs_srv_rdma_init()