Home
last modified time | relevance | path

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

/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()
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 …]
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()
1869 struct tsb *ent = &swapper_tsb[i]; in flush_all_kernel_tsbs()
1875 struct tsb *ent = &swapper_4m_tsb[i]; in flush_all_kernel_tsbs()
2970 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()
/linux/drivers/s390/cio/
H A Dfcx.c69 struct tsb *tcw_get_tsb(struct tcw *tcw) in tcw_get_tsb()
71 return dma64_to_virt(tcw->tsb); in tcw_get_tsb()
243 void tcw_set_tsb(struct tcw *tcw, struct tsb *tsb) in tcw_set_tsb() argument
245 tcw->tsb = virt_to_dma64(tsb); in tcw_set_tsb()
273 void tsb_init(struct tsb *tsb) in tsb_init() argument
275 memset(tsb, 0, sizeof(*tsb)); in tsb_init()
H A Ditcw.c104 /* TSB */ sizeof(struct tsb) + in itcw_calc_size()
109 /* TSB */ sizeof(struct tsb) + in itcw_calc_size()
244 chunk = fit_chunk(&start, end, sizeof(struct tsb), 8, 0); in itcw_init()
251 chunk = fit_chunk(&start, end, sizeof(struct tsb), 8, 0); in itcw_init()
/linux/arch/s390/include/asm/
H A Dfcx.h49 dma64_t tsb; member
162 struct tsb { struct
296 struct tsb *tcw_get_tsb(struct tcw *tcw);
304 void tcw_set_tsb(struct tcw *tcw, struct tsb *tsb);
307 void tsb_init(struct tsb *tsb);
/linux/drivers/s390/block/
H A Ddasd_3990_erp.c2345 struct tsb *tsb; in dasd_3990_erp_add_erp() local
2350 datasize = 64 + sizeof(struct tcw) + sizeof(struct tsb); in dasd_3990_erp_add_erp()
2381 tsb = (struct tsb *) &tcw[1]; in dasd_3990_erp_add_erp()
2383 tcw->tsb = virt_to_dma64(tsb); in dasd_3990_erp_add_erp()
/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c1217 struct bcm_tsb *tsb; in bcm_sysport_insert_tsb() local
1224 if (unlikely(skb_headroom(skb) < sizeof(*tsb))) { in bcm_sysport_insert_tsb()
1225 nskb = skb_realloc_headroom(skb, sizeof(*tsb)); in bcm_sysport_insert_tsb()
1238 tsb = skb_push(skb, sizeof(*tsb)); in bcm_sysport_insert_tsb()
1240 memset(tsb, 0, sizeof(*tsb)); in bcm_sysport_insert_tsb()
1243 tsb->pcp_dei_vid = skb_vlan_tag_get_prio(skb) & PCP_DEI_MASK; in bcm_sysport_insert_tsb()
1244 tsb->pcp_dei_vid |= (u32)skb_vlan_tag_get_id(skb) << VID_SHIFT; in bcm_sysport_insert_tsb()
1261 csum_start = skb_checksum_start_offset(skb) - sizeof(*tsb); in bcm_sysport_insert_tsb()
1277 tsb->l4_ptr_dest_map = csum_info; in bcm_sysport_insert_tsb()