/linux/arch/x86/include/asm/ |
A D | insn.h | 81 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/tools/arch/x86/include/asm/ |
A D | insn.h | 81 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/lib/ |
A D | bootconfig.c | 442 struct xbc_node *sib, *node = xbc_add_node(data, flag); in __xbc_add_sibling() local 448 sib = xbc_last_sibling(xbc_nodes); in __xbc_add_sibling() 449 sib->next = xbc_node_index(node); in __xbc_add_sibling() 456 sib = xbc_node_get_child(last_parent); in __xbc_add_sibling() 457 sib = xbc_last_sibling(sib); in __xbc_add_sibling() 458 sib->next = xbc_node_index(node); in __xbc_add_sibling()
|
/linux/arch/x86/lib/ |
A D | insn.c | 417 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()
|
A D | insn-eval.c | 471 regno = X86_SIB_INDEX(insn->sib.value); in get_reg_offset() 486 regno = X86_SIB_BASE(insn->sib.value); in get_reg_offset() 1132 if (!insn->sib.nbytes) in get_eff_addr_sib() 1163 addr32 = base32 + idx32 * (1 << X86_SIB_SCALE(insn->sib.value)); in get_eff_addr_sib() 1168 *eff_addr = base + indx * (1 << X86_SIB_SCALE(insn->sib.value)); in get_eff_addr_sib() 1274 if (insn->sib.nbytes) { in get_addr_ref_32() 1365 if (insn->sib.nbytes) { in get_addr_ref_64()
|
/linux/tools/arch/x86/lib/ |
A D | insn.c | 417 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/tools/objtool/arch/x86/ |
A D | decode.c | 118 sib = 0, /* sib_scale = 0, */ sib_index = 0, sib_base = 0; in arch_decode_instruction() local 158 if (insn.sib.nbytes) { in arch_decode_instruction() 159 sib = insn.sib.bytes[0]; in arch_decode_instruction() 161 sib_index = X86_SIB_INDEX(sib) + 8*rex_x; in arch_decode_instruction() 162 sib_base = X86_SIB_BASE(sib) + 8*rex_b; in arch_decode_instruction()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_flow.c | 941 sib = ICE_FLOW_FIELD_IDX_IPV4_PROT; in ice_flow_xtract_fld() 943 sib = ICE_FLOW_FIELD_IDX_IPV4_TTL; in ice_flow_xtract_fld() 948 if (match & BIT(sib)) in ice_flow_xtract_fld() 949 sib_mask = ice_flds_info[sib].mask; in ice_flow_xtract_fld() 960 sib = ICE_FLOW_FIELD_IDX_IPV6_PROT; in ice_flow_xtract_fld() 962 sib = ICE_FLOW_FIELD_IDX_IPV6_TTL; in ice_flow_xtract_fld() 967 if (match & BIT(sib)) in ice_flow_xtract_fld() 968 sib_mask = ice_flds_info[sib].mask; in ice_flow_xtract_fld() 1030 sib = fld == ICE_FLOW_FIELD_IDX_ICMP_TYPE ? in ice_flow_xtract_fld() 1067 if (sib == ICE_FLOW_FIELD_IDX_MAX || in ice_flow_xtract_fld() [all …]
|
/linux/drivers/md/persistent-data/ |
A D | dm-btree.c | 908 struct dm_block *sib; in rebalance_left() local 911 r = shadow_child(s->info, vt, parent, parent_index - 1, &sib); in rebalance_left() 915 left = dm_block_data(sib); in rebalance_left() 922 s->nodes[1] = sib; in rebalance_left() 924 unlock_block(s->info, sib); in rebalance_left() 937 struct dm_block *sib; in rebalance_right() local 940 r = shadow_child(s->info, vt, parent, parent_index + 1, &sib); in rebalance_right() 945 right = dm_block_data(sib); in rebalance_right() 950 unlock_block(s->info, sib); in rebalance_right() 953 s->nodes[1] = sib; in rebalance_right()
|
/linux/drivers/infiniband/core/ |
A D | cma.c | 1218 struct sockaddr_ib *sib; in cma_port() local 1226 sib = (struct sockaddr_ib *) addr; in cma_port() 1228 be64_to_cpu(sib->sib_sid_mask))); in cma_port() 2719 struct sockaddr_ib *sib; in cma_query_ib_route() local 3513 struct sockaddr_ib *sib; in cma_bind_port() local 3530 sib = (struct sockaddr_ib *) addr; in cma_bind_port() 3531 sid = be64_to_cpu(sib->sib_sid); in cma_bind_port() 3532 mask = be64_to_cpu(sib->sib_sid_mask); in cma_bind_port() 3732 struct sockaddr_ib *sib; in cma_select_ib_ps() local 3753 sib->sib_sid = cpu_to_be64(sid_ps | ntohs(cma_port((struct sockaddr *) sib))); in cma_select_ib_ps() [all …]
|
/linux/arch/x86/math-emu/ |
A D | get_address.c | 72 static int sib(int mod, unsigned long *fpu_eip) in sib() function 230 address = sib(mod, fpu_eip); in FPU_get_address()
|
/linux/fs/nilfs2/ |
A D | btree.c | 1051 struct nilfs_btree_node *node, *parent, *sib; in nilfs_btree_prepare_insert() local 1092 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert() 1093 if (nilfs_btree_node_get_nchildren(sib) < ncblk) { in nilfs_btree_prepare_insert() 1110 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert() 1111 if (nilfs_btree_node_get_nchildren(sib) < ncblk) { in nilfs_btree_prepare_insert() 1136 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert() 1425 struct nilfs_btree_node *node, *parent, *sib; in nilfs_btree_prepare_delete() local 1462 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_delete() 1463 if (nilfs_btree_node_get_nchildren(sib) > ncmin) { in nilfs_btree_prepare_delete() 1482 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_delete() [all …]
|
/linux/drivers/block/drbd/ |
A D | drbd_nl.c | 365 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() 393 sib.helper_exit_code = ret; in drbd_khelper() 394 drbd_bcast_event(device, &sib); in drbd_khelper() 3766 const struct sib_info *sib) in nla_put_status_info() argument 3819 if (nla_put_u32(skb, T_sib_reason, sib ? sib->sib_reason : SIB_GET_STATUS_REPLY) || in nla_put_status_info() 3859 if (sib) { in nla_put_status_info() 3860 switch(sib->sib_reason) { in nla_put_status_info() [all …]
|
A D | drbd_state.c | 1708 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()
|
A D | drbd_worker.c | 1919 struct sib_info sib = { .sib_reason = SIB_SYNC_PROGRESS, }; in update_on_disk_bitmap() local 1929 drbd_bcast_event(device, &sib); in update_on_disk_bitmap()
|
A D | drbd_int.h | 1643 void drbd_bcast_event(struct drbd_device *device, const struct sib_info *sib);
|
/linux/tools/testing/selftests/seccomp/ |
A D | seccomp_bpf.c | 2531 int sib = 0; in FIXTURE_TEARDOWN() local 2538 for ( ; sib < self->sibling_count; ++sib) { in FIXTURE_TEARDOWN() 2847 long ret, sib; in TEST_F() local 2883 sib = 1; in TEST_F() 2885 sib = 0; in TEST_F() 2892 self->sibling[!sib].num_waits += 1; in TEST_F() 2899 PTHREAD_JOIN(self->sibling[sib].tid, &status); in TEST_F() 2905 sib = !sib; in TEST_F() 2918 if (self->sibling[sib].num_waits > 1) in TEST_F() 2919 self->sibling[sib].num_waits = 1; in TEST_F() [all …]
|
/linux/arch/x86/tools/ |
A D | insn_decoder_test.c | 78 dump_field(fp, "sib", "\t", &insn->sib); in dump_insn()
|
A D | insn_sanity.c | 71 dump_field(fp, "sib", "\t", &insn->sib); in dump_insn()
|
/linux/drivers/net/ethernet/dlink/ |
A D | dl2k.h | 342 u8 sib[204]; /* 0x30-0xfb */ member
|
/linux/drivers/infiniband/ulp/rtrs/ |
A D | rtrs-srv.c | 2025 struct sockaddr_ib sib = { in rtrs_srv_rdma_init() local 2044 cm_ib = rtrs_srv_cm_init(ctx, (struct sockaddr *)&sib, RDMA_PS_IB); in rtrs_srv_rdma_init()
|
/linux/arch/x86/kvm/ |
A D | emulate.c | 1165 u8 sib; in decode_modrm() local 1256 sib = insn_fetch(u8, ctxt); in decode_modrm() 1257 index_reg |= (sib >> 3) & 7; in decode_modrm() 1258 base_reg |= sib & 7; in decode_modrm() 1259 scale = sib >> 6; in decode_modrm()
|