Home
last modified time | relevance | path

Searched refs:tsb (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/arch/sparc/mm/
H A Dtsb.c20 extern struct tsb swapper_tsb[KERNEL_TSB_NENTRIES];
38 struct tsb *ent = &swapper_tsb[idx]; in flush_tsb_kernel_range_scan()
62 struct tsb *ent = &swapper_tsb[hash]; in flush_tsb_kernel_range()
77 ent = tsb + (hash * sizeof(struct tsb)); in __flush_tsb_one_entry()
108 unsigned long tsb, unsigned long nentries, in __flush_huge_tsb_one() argument
200 tsb_bytes / sizeof(struct tsb); in setup_tsb_params()
400 struct tsb *old_tsb, *new_tsb; in tsb_grow()
479 sizeof(struct tsb)); in tsb_grow()
570 mm->context.tsb_block[i].tsb = NULL; in init_new_context()
594 if (!tp->tsb) in tsb_destroy_one()
[all …]
H A DMakefile8 obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o
H A Dinit_64.c85 extern struct tsb swapper_4m_tsb[KERNEL_TSB4M_NENTRIES];
87 extern struct tsb swapper_tsb[KERNEL_TSB_NENTRIES];
274 static inline void tsb_insert(struct tsb *ent, unsigned long tag, unsigned long pte) in tsb_insert()
321 struct tsb *tsb = mm->context.tsb_block[tsb_index].tsb; in __update_mmu_tsb_insert() local
324 if (unlikely(!tsb)) in __update_mmu_tsb_insert()
327 tsb += ((address >> tsb_hash_shift) & in __update_mmu_tsb_insert()
330 tsb_insert(tsb, tag, tte); in __update_mmu_tsb_insert()
1876 struct tsb *ent = &swapper_tsb[i]; in flush_all_kernel_tsbs()
1882 struct tsb *ent = &swapper_4m_tsb[i]; in flush_all_kernel_tsbs()
2987 if (mm->context.tsb_block[MM_TSB_HUGE].tsb != NULL) in update_mmu_cache_pmd()
[all …]
H A Dfault_64.c478 if (mm->context.tsb_block[MM_TSB_HUGE].tsb) in do_sparc64_fault()
/openbmc/linux/drivers/s390/cio/
H A Dfcx.c68 struct tsb *tcw_get_tsb(struct tcw *tcw) in tcw_get_tsb()
70 return phys_to_virt(tcw->tsb); in tcw_get_tsb()
242 void tcw_set_tsb(struct tcw *tcw, struct tsb *tsb) in tcw_set_tsb() argument
244 tcw->tsb = virt_to_phys(tsb); in tcw_set_tsb()
272 void tsb_init(struct tsb *tsb) in tsb_init() argument
274 memset(tsb, 0, sizeof(*tsb)); in tsb_init()
H A Ditcw.c103 /* TSB */ sizeof(struct tsb) + in itcw_calc_size()
108 /* TSB */ sizeof(struct tsb) + in itcw_calc_size()
243 chunk = fit_chunk(&start, end, sizeof(struct tsb), 8, 0); in itcw_init()
250 chunk = fit_chunk(&start, end, sizeof(struct tsb), 8, 0); in itcw_init()
/openbmc/linux/arch/sparc/include/asm/
H A Dmmu_64.h66 struct tsb { struct
73 void tsb_init(struct tsb *tsb, unsigned long size); argument
76 struct tsb *tsb; member
H A Dmmu_context_64.h43 (mm->context.tsb_block[MM_TSB_HUGE].tsb ? in tsb_context_switch_ctx()
/openbmc/linux/arch/s390/include/asm/
H A Dfcx.h48 u64 tsb; member
161 struct tsb { struct
295 struct tsb *tcw_get_tsb(struct tcw *tcw);
303 void tcw_set_tsb(struct tcw *tcw, struct tsb *tsb);
306 void tsb_init(struct tsb *tsb);
/openbmc/qemu/backends/tpm/
H A Dtpm_emulator.c691 TPMSizedBuffer *tsb, in tpm_emulator_get_state_blob() argument
699 tpm_sized_buffer_reset(tsb); in tpm_emulator_get_state_blob()
732 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob()
733 if (!tsb->buffer) { in tpm_emulator_get_state_blob()
747 tsb->size = totlength; in tpm_emulator_get_state_blob()
790 TPMSizedBuffer *tsb, in tpm_emulator_set_state_blob() argument
797 if (tsb->size == 0) { in tpm_emulator_set_state_blob()
804 .u.req.length = cpu_to_be32(tsb->size), in tpm_emulator_set_state_blob()
816 n = qemu_chr_fe_write_all(&tpm_emu->ctrl_chr, tsb->buffer, tsb->size); in tpm_emulator_set_state_blob()
817 if (n != tsb->size) { in tpm_emulator_set_state_blob()
[all …]
H A Dtpm_util.c329 void tpm_sized_buffer_reset(TPMSizedBuffer *tsb) in tpm_sized_buffer_reset() argument
331 g_free(tsb->buffer); in tpm_sized_buffer_reset()
332 tsb->buffer = NULL; in tpm_sized_buffer_reset()
333 tsb->size = 0; in tpm_sized_buffer_reset()
H A Dtpm_int.h86 void tpm_sized_buffer_reset(TPMSizedBuffer *tsb);
/openbmc/qemu/target/sparc/
H A Dldst_helper.c91 tsb_register = mmu->tsb; in ultrasparc_tsb_pointer()
1422 ret = env->immu.tsb; in helper_ld_asi()
1483 ret = env->dmmu.tsb; in helper_ld_asi()
1749 PRIx64 "\n", env->immu.tsb, val); in helper_st_asi()
1750 env->immu.tsb = val; in helper_st_asi()
1830 PRIx64 "\n", env->dmmu.tsb, val); in helper_st_asi()
1831 env->dmmu.tsb = val; in helper_st_asi()
H A Dcpu.h391 uint64_t tsb; member
/openbmc/linux/drivers/s390/block/
H A Ddasd_3990_erp.c2378 struct tsb *tsb; in dasd_3990_erp_add_erp() local
2383 datasize = 64 + sizeof(struct tcw) + sizeof(struct tsb); in dasd_3990_erp_add_erp()
2414 tsb = (struct tsb *) &tcw[1]; in dasd_3990_erp_add_erp()
2416 tcw->tsb = virt_to_phys(tsb); in dasd_3990_erp_add_erp()
H A Ddasd_eckd.c5691 struct tsb *tsb; in dasd_eckd_dump_sense_tcw() local
5718 tsb = NULL; in dasd_eckd_dump_sense_tcw()
5723 if (tsb) { in dasd_eckd_dump_sense_tcw()
5732 residual = tsb->count - 28; in dasd_eckd_dump_sense_tcw()
5736 switch (tsb->flags & 0x07) { in dasd_eckd_dump_sense_tcw()
5740 tsb->tsa.iostat.dev_time); in dasd_eckd_dump_sense_tcw()
5743 tsb->tsa.iostat.def_time); in dasd_eckd_dump_sense_tcw()
5746 tsb->tsa.iostat.queue_time); in dasd_eckd_dump_sense_tcw()
5753 sense = tsb->tsa.iostat.sense; in dasd_eckd_dump_sense_tcw()
5762 rcq = tsb->tsa.ddpc.rcq; in dasd_eckd_dump_sense_tcw()
[all …]
H A Ddasd.c4037 struct tsb *tsb = NULL; in dasd_get_sense() local
4042 tsb = tcw_get_tsb(phys_to_virt(irb->scsw.tm.tcw)); in dasd_get_sense()
4043 if (tsb && tsb->length == 64 && tsb->flags) in dasd_get_sense()
4044 switch (tsb->flags & 0x07) { in dasd_get_sense()
4046 sense = tsb->tsa.iostat.sense; in dasd_get_sense()
4049 sense = tsb->tsa.ddpc.sense; in dasd_get_sense()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c1251 struct bcm_tsb *tsb; in bcm_sysport_insert_tsb() local
1258 if (unlikely(skb_headroom(skb) < sizeof(*tsb))) { in bcm_sysport_insert_tsb()
1259 nskb = skb_realloc_headroom(skb, sizeof(*tsb)); in bcm_sysport_insert_tsb()
1272 tsb = skb_push(skb, sizeof(*tsb)); in bcm_sysport_insert_tsb()
1274 memset(tsb, 0, sizeof(*tsb)); in bcm_sysport_insert_tsb()
1277 tsb->pcp_dei_vid = skb_vlan_tag_get_prio(skb) & PCP_DEI_MASK; in bcm_sysport_insert_tsb()
1278 tsb->pcp_dei_vid |= (u32)skb_vlan_tag_get_id(skb) << VID_SHIFT; in bcm_sysport_insert_tsb()
1295 csum_start = skb_checksum_start_offset(skb) - sizeof(*tsb); in bcm_sysport_insert_tsb()
1311 tsb->l4_ptr_dest_map = csum_info; in bcm_sysport_insert_tsb()
/openbmc/linux/arch/sparc/kernel/
H A Dtraps_64.c2907 offsetof(struct tsb_config, tsb)) || in trap_init()