/linux-6.1.9/arch/sparc/mm/ |
D | tsb.c | 20 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() 69 static void __flush_tsb_one_entry(unsigned long tsb, unsigned long v, in __flush_tsb_one_entry() argument 77 ent = tsb + (hash * sizeof(struct tsb)); in __flush_tsb_one_entry() 84 unsigned long tsb, unsigned long nentries) in __flush_tsb_one() argument 89 __flush_tsb_one_entry(tsb, tb->vaddrs[i], hash_shift, nentries); in __flush_tsb_one() 93 static void __flush_huge_tsb_one_entry(unsigned long tsb, unsigned long v, in __flush_huge_tsb_one_entry() argument 103 __flush_tsb_one_entry(tsb, v + (i << hash_shift), hash_shift, in __flush_huge_tsb_one_entry() 108 unsigned long tsb, unsigned long nentries, in __flush_huge_tsb_one() argument [all …]
|
D | Makefile | 8 obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o
|
D | init_64.c | 85 extern struct tsb swapper_4m_tsb[KERNEL_TSB4M_NENTRIES]; 87 extern struct tsb swapper_tsb[KERNEL_TSB_NENTRIES]; 269 static inline void tsb_insert(struct tsb *ent, unsigned long tag, unsigned long pte) in tsb_insert() 315 struct tsb *tsb = mm->context.tsb_block[tsb_index].tsb; in __update_mmu_tsb_insert() local 318 if (unlikely(!tsb)) in __update_mmu_tsb_insert() 321 tsb += ((address >> tsb_hash_shift) & in __update_mmu_tsb_insert() 324 tsb_insert(tsb, tag, tte); in __update_mmu_tsb_insert() 1863 struct tsb *ent = &swapper_tsb[i]; in flush_all_kernel_tsbs() 1869 struct tsb *ent = &swapper_4m_tsb[i]; in flush_all_kernel_tsbs() 2957 if (mm->context.tsb_block[MM_TSB_HUGE].tsb != NULL) in update_mmu_cache_pmd() [all …]
|
D | fault_64.c | 469 if (mm->context.tsb_block[MM_TSB_HUGE].tsb) in do_sparc64_fault()
|
/linux-6.1.9/drivers/s390/cio/ |
D | fcx.c | 67 struct tsb *tcw_get_tsb(struct tcw *tcw) in tcw_get_tsb() 69 return (struct tsb *) ((addr_t) tcw->tsb); in tcw_get_tsb() 241 void tcw_set_tsb(struct tcw *tcw, struct tsb *tsb) in tcw_set_tsb() argument 243 tcw->tsb = (u64) ((addr_t) tsb); in tcw_set_tsb() 271 void tsb_init(struct tsb *tsb) in tsb_init() argument 273 memset(tsb, 0, sizeof(*tsb)); in tsb_init()
|
D | itcw.c | 102 /* TSB */ sizeof(struct tsb) + in itcw_calc_size() 107 /* TSB */ sizeof(struct tsb) + in itcw_calc_size() 242 chunk = fit_chunk(&start, end, sizeof(struct tsb), 8, 0); in itcw_init() 249 chunk = fit_chunk(&start, end, sizeof(struct tsb), 8, 0); in itcw_init()
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | mmu_64.h | 66 struct tsb { struct 73 void tsb_init(struct tsb *tsb, unsigned long size); argument 76 struct tsb *tsb; member
|
D | mmu_context_64.h | 43 (mm->context.tsb_block[MM_TSB_HUGE].tsb ? in tsb_context_switch_ctx()
|
/linux-6.1.9/arch/s390/include/asm/ |
D | fcx.h | 48 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);
|
/linux-6.1.9/drivers/s390/block/ |
D | dasd_3990_erp.c | 2384 struct tsb *tsb; in dasd_3990_erp_add_erp() local 2389 datasize = 64 + sizeof(struct tcw) + sizeof(struct tsb); in dasd_3990_erp_add_erp() 2420 tsb = (struct tsb *) &tcw[1]; in dasd_3990_erp_add_erp() 2422 tcw->tsb = (long)tsb; in dasd_3990_erp_add_erp()
|
D | dasd_eckd.c | 5665 struct tsb *tsb; in dasd_eckd_dump_sense_tcw() local 5692 tsb = NULL; in dasd_eckd_dump_sense_tcw() 5695 tsb = tcw_get_tsb( in dasd_eckd_dump_sense_tcw() 5698 if (tsb) { in dasd_eckd_dump_sense_tcw() 5700 " tsb->length %d\n", tsb->length); in dasd_eckd_dump_sense_tcw() 5702 " tsb->flags %x\n", tsb->flags); in dasd_eckd_dump_sense_tcw() 5704 " tsb->dcw_offset %d\n", tsb->dcw_offset); in dasd_eckd_dump_sense_tcw() 5706 " tsb->count %d\n", tsb->count); in dasd_eckd_dump_sense_tcw() 5707 residual = tsb->count - 28; in dasd_eckd_dump_sense_tcw() 5711 switch (tsb->flags & 0x07) { in dasd_eckd_dump_sense_tcw() [all …]
|
D | dasd.c | 4020 struct tsb *tsb = NULL; in dasd_get_sense() local 4025 tsb = tcw_get_tsb((struct tcw *)(unsigned long) in dasd_get_sense() 4027 if (tsb && tsb->length == 64 && tsb->flags) in dasd_get_sense() 4028 switch (tsb->flags & 0x07) { in dasd_get_sense() 4030 sense = tsb->tsa.iostat.sense; in dasd_get_sense() 4033 sense = tsb->tsa.ddpc.sense; in dasd_get_sense()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 1240 struct bcm_tsb *tsb; in bcm_sysport_insert_tsb() local 1247 if (unlikely(skb_headroom(skb) < sizeof(*tsb))) { in bcm_sysport_insert_tsb() 1248 nskb = skb_realloc_headroom(skb, sizeof(*tsb)); in bcm_sysport_insert_tsb() 1261 tsb = skb_push(skb, sizeof(*tsb)); in bcm_sysport_insert_tsb() 1263 memset(tsb, 0, sizeof(*tsb)); in bcm_sysport_insert_tsb() 1266 tsb->pcp_dei_vid = skb_vlan_tag_get_prio(skb) & PCP_DEI_MASK; in bcm_sysport_insert_tsb() 1267 tsb->pcp_dei_vid |= (u32)skb_vlan_tag_get_id(skb) << VID_SHIFT; in bcm_sysport_insert_tsb() 1284 csum_start = skb_checksum_start_offset(skb) - sizeof(*tsb); in bcm_sysport_insert_tsb() 1300 tsb->l4_ptr_dest_map = csum_info; in bcm_sysport_insert_tsb()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | traps_64.c | 2907 offsetof(struct tsb_config, tsb)) || in trap_init()
|