Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/include/asm/
Dinsn.h36 struct insn_field sib; member
66 #define X86_SIB_SCALE(sib) (((sib) & 0xc0) >> 6) argument
67 #define X86_SIB_INDEX(sib) (((sib) & 0x38) >> 3) argument
68 #define X86_SIB_BASE(sib) ((sib) & 0x07) argument
152 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
209 return insn_offset_sib(insn) + insn->sib.nbytes; in insn_offset_displacement()
/kernel/linux/linux-5.10/tools/arch/x86/include/asm/
Dinsn.h36 struct insn_field sib; member
66 #define X86_SIB_SCALE(sib) (((sib) & 0xc0) >> 6) argument
67 #define X86_SIB_INDEX(sib) (((sib) & 0x38) >> 3) argument
68 #define X86_SIB_BASE(sib) ((sib) & 0x07) argument
152 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
209 return insn_offset_sib(insn) + insn->sib.nbytes; in insn_offset_displacement()
/kernel/linux/linux-5.10/tools/objtool/arch/x86/
Ddecode.c97 modrm_reg = 0, sib = 0; in arch_decode_instruction() local
137 if (insn.sib.nbytes) in arch_decode_instruction()
138 sib = insn.sib.bytes[0]; in arch_decode_instruction()
264 } else if (rex_w && !rex_b && modrm_rm == 4 && sib == 0x24) { in arch_decode_instruction()
290 } else if (rex_w && !rex_b && sib == 0x24 && in arch_decode_instruction()
306 if (sib == 0x24 && rex_w && !rex_b && !rex_x) { in arch_decode_instruction()
/kernel/linux/linux-5.10/lib/
Dbootconfig.c372 struct xbc_node *sib, *node = xbc_add_node(data, flag); in xbc_add_sibling() local
377 sib = xbc_last_sibling(xbc_nodes); in xbc_add_sibling()
378 sib->next = xbc_node_index(node); in xbc_add_sibling()
384 sib = xbc_node_get_child(last_parent); in xbc_add_sibling()
385 sib = xbc_last_sibling(sib); in xbc_add_sibling()
386 sib->next = xbc_node_index(node); in xbc_add_sibling()
/kernel/linux/linux-5.10/arch/x86/lib/
Dinsn.c403 if (insn->sib.got) in insn_get_sib()
416 insn->sib.value = get_next(insn_byte_t, insn); in insn_get_sib()
417 insn->sib.nbytes = 1; in insn_get_sib()
420 insn->sib.got = 1; in insn_get_sib()
449 if (!insn->sib.got) { in insn_get_displacement()
475 base = X86_SIB_BASE(insn->sib.value); in insn_get_displacement()
Dinsn-eval.c475 regno = X86_SIB_INDEX(insn->sib.value); in get_reg_offset()
490 regno = X86_SIB_BASE(insn->sib.value); in get_reg_offset()
1136 if (!insn->sib.nbytes) in get_eff_addr_sib()
1167 addr32 = base32 + idx32 * (1 << X86_SIB_SCALE(insn->sib.value)); in get_eff_addr_sib()
1172 *eff_addr = base + indx * (1 << X86_SIB_SCALE(insn->sib.value)); in get_eff_addr_sib()
1278 if (insn->sib.nbytes) { in get_addr_ref_32()
1369 if (insn->sib.nbytes) { in get_addr_ref_64()
/kernel/linux/linux-5.10/tools/arch/x86/lib/
Dinsn.c403 if (insn->sib.got) in insn_get_sib()
416 insn->sib.value = get_next(insn_byte_t, insn); in insn_get_sib()
417 insn->sib.nbytes = 1; in insn_get_sib()
420 insn->sib.got = 1; in insn_get_sib()
449 if (!insn->sib.got) { in insn_get_displacement()
475 base = X86_SIB_BASE(insn->sib.value); in insn_get_displacement()
/kernel/linux/linux-5.10/kernel/sched/
Dcore_ctl.c61 struct list_head sib; member
544 list_for_each_entry(c, &cluster->lru, sib) { in eval_need()
698 list_del(&cpu_data->sib); in move_cpu_lru()
699 list_add_tail(&cpu_data->sib, &cpu_data->cluster->lru); in move_cpu_lru()
716 list_for_each_entry_safe(c, tmp, &cluster->lru, sib) { in try_to_isolate()
763 list_for_each_entry_safe(c, tmp, &cluster->lru, sib) { in try_to_isolate()
810 list_for_each_entry_safe(c, tmp, &cluster->lru, sib) { in __try_to_unisolate()
1020 list_add_tail(&state->sib, &cluster->lru); in cluster_init()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dradix_tlb.c1272 int sib = cpu_first_thread_sibling(cpu); in radix_kvm_prefetch_workaround() local
1275 for (; sib <= cpu_last_thread_sibling(cpu) && !flush; sib++) { in radix_kvm_prefetch_workaround()
1276 if (sib == cpu) in radix_kvm_prefetch_workaround()
1278 if (!cpu_possible(sib)) in radix_kvm_prefetch_workaround()
1280 if (paca_ptrs[sib]->kvm_hstate.kvm_vcpu) in radix_kvm_prefetch_workaround()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcma.c543 static void cma_translate_ib(struct sockaddr_ib *sib, struct rdma_dev_addr *dev_addr) in cma_translate_ib() argument
546 rdma_addr_set_sgid(dev_addr, (union ib_gid *) &sib->sib_addr); in cma_translate_ib()
547 ib_addr_set_pkey(dev_addr, ntohs(sib->sib_pkey)); in cma_translate_ib()
1227 struct sockaddr_ib *sib; in cma_port() local
1235 sib = (struct sockaddr_ib *) addr; in cma_port()
1236 return htons((u16) (be64_to_cpu(sib->sib_sid) & in cma_port()
1237 be64_to_cpu(sib->sib_sid_mask))); in cma_port()
2681 struct sockaddr_ib *sib; in cma_query_ib_route() local
2712 sib = (struct sockaddr_ib *) cma_src_addr(id_priv); in cma_query_ib_route()
2713 path_rec.traffic_class = (u8) (be32_to_cpu(sib->sib_flowinfo) >> 20); in cma_query_ib_route()
[all …]
/kernel/linux/linux-5.10/fs/nilfs2/
Dbtree.c1063 struct nilfs_btree_node *node, *parent, *sib; in nilfs_btree_prepare_insert() local
1104 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert()
1105 if (nilfs_btree_node_get_nchildren(sib) < ncblk) { in nilfs_btree_prepare_insert()
1122 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert()
1123 if (nilfs_btree_node_get_nchildren(sib) < ncblk) { in nilfs_btree_prepare_insert()
1148 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert()
1149 nilfs_btree_node_init(sib, 0, level, 0, ncblk, NULL, NULL); in nilfs_btree_prepare_insert()
1437 struct nilfs_btree_node *node, *parent, *sib; in nilfs_btree_prepare_delete() local
1474 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_delete()
1475 if (nilfs_btree_node_get_nchildren(sib) > ncmin) { in nilfs_btree_prepare_delete()
[all …]
/kernel/linux/linux-5.10/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()
3766 const struct sib_info *sib) in nla_put_status_info() argument
3786 exclude_sensitive = sib || !capable(CAP_SYS_ADMIN); in nla_put_status_info()
3819 if (nla_put_u32(skb, T_sib_reason, sib ? sib->sib_reason : SIB_GET_STATUS_REPLY) || in nla_put_status_info()
[all …]
Ddrbd_state.c1707 struct sib_info sib; in after_state_ch() local
1711 sib.sib_reason = SIB_STATE_CHANGE; in after_state_ch()
1712 sib.os = os; in after_state_ch()
1713 sib.ns = ns; in after_state_ch()
1723 drbd_bcast_event(device, &sib); in after_state_ch()
Ddrbd_worker.c1915 struct sib_info sib = { .sib_reason = SIB_SYNC_PROGRESS, }; in update_on_disk_bitmap() local
1925 drbd_bcast_event(device, &sib); in update_on_disk_bitmap()
Ddrbd_int.h1645 void drbd_bcast_event(struct drbd_device *device, const struct sib_info *sib);
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2527 int sib = 0; in FIXTURE_TEARDOWN() local
2534 for ( ; sib < self->sibling_count; ++sib) { in FIXTURE_TEARDOWN()
2535 struct tsync_sibling *s = &self->sibling[sib]; in FIXTURE_TEARDOWN()
2843 long ret, sib; in TEST_F() local
2879 sib = 1; in TEST_F()
2881 sib = 0; in TEST_F()
2888 self->sibling[!sib].num_waits += 1; in TEST_F()
2895 PTHREAD_JOIN(self->sibling[sib].tid, &status); in TEST_F()
2898 while (!kill(self->sibling[sib].system_tid, 0)) in TEST_F()
2901 sib = !sib; in TEST_F()
[all …]
/kernel/linux/linux-5.10/arch/x86/tools/
Dinsn_decoder_test.c78 dump_field(fp, "sib", "\t", &insn->sib); in dump_insn()
Dinsn_sanity.c75 dump_field(fp, "sib", "\t", &insn->sib); in dump_insn()
/kernel/linux/linux-5.10/drivers/net/ethernet/dlink/
Ddl2k.h342 u8 sib[204]; /* 0x30-0xfb */ member
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dseverity.c239 if (!insn.modrm.got || !insn.sib.got) in is_copy_from_user()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c1999 struct sockaddr_ib sib = { in rtrs_srv_rdma_init() local
2018 cm_ib = rtrs_srv_cm_init(ctx, (struct sockaddr *)&sib, RDMA_PS_IB); in rtrs_srv_rdma_init()
/kernel/linux/linux-5.10/arch/x86/kvm/
Demulate.c1313 u8 sib; in decode_modrm() local
1404 sib = insn_fetch(u8, ctxt); in decode_modrm()
1405 index_reg |= (sib >> 3) & 7; in decode_modrm()
1406 base_reg |= sib & 7; in decode_modrm()
1407 scale = sib >> 6; in decode_modrm()