/kernel/linux/linux-5.10/arch/sparc/mm/ |
H A D | tsb.c | 2 /* arch/sparc64/mm/tsb.c 16 #include <asm/tsb.h> 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() 89 __flush_tsb_one_entry(tsb, t in __flush_tsb_one() 83 __flush_tsb_one(struct tlb_batch *tb, unsigned long hash_shift, unsigned long tsb, unsigned long nentries) __flush_tsb_one() argument 93 __flush_huge_tsb_one_entry(unsigned long tsb, unsigned long v, unsigned long hash_shift, unsigned long nentries, unsigned int hugepage_shift) __flush_huge_tsb_one_entry() argument 107 __flush_huge_tsb_one(struct tlb_batch *tb, unsigned long hash_shift, unsigned long tsb, unsigned long nentries, unsigned int hugepage_shift) __flush_huge_tsb_one() argument [all...] |
H A D | Makefile | 8 obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o
|
H A D | init_64.c | 45 #include <asm/tsb.h> 84 extern struct tsb swapper_4m_tsb[KERNEL_TSB4M_NENTRIES]; 86 extern struct tsb swapper_tsb[KERNEL_TSB_NENTRIES]; 268 static inline void tsb_insert(struct tsb *ent, unsigned long tag, unsigned long pte) in tsb_insert() 314 struct tsb *tsb = mm->context.tsb_block[tsb_index].tsb; in __update_mmu_tsb_insert() local 317 if (unlikely(!tsb)) in __update_mmu_tsb_insert() 320 tsb += ((address >> tsb_hash_shift) & in __update_mmu_tsb_insert() 323 tsb_insert(tsb, ta in __update_mmu_tsb_insert() [all...] |
/kernel/linux/linux-6.6/arch/sparc/mm/ |
H A D | tsb.c | 2 /* arch/sparc64/mm/tsb.c 16 #include <asm/tsb.h> 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() 89 __flush_tsb_one_entry(tsb, t in __flush_tsb_one() 83 __flush_tsb_one(struct tlb_batch *tb, unsigned long hash_shift, unsigned long tsb, unsigned long nentries) __flush_tsb_one() argument 93 __flush_huge_tsb_one_entry(unsigned long tsb, unsigned long v, unsigned long hash_shift, unsigned long nentries, unsigned int hugepage_shift) __flush_huge_tsb_one_entry() argument 107 __flush_huge_tsb_one(struct tlb_batch *tb, unsigned long hash_shift, unsigned long tsb, unsigned long nentries, unsigned int hugepage_shift) __flush_huge_tsb_one() argument [all...] |
H A D | Makefile | 8 obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o
|
H A D | init_64.c | 46 #include <asm/tsb.h> 85 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, ta in __update_mmu_tsb_insert() [all...] |
/kernel/linux/linux-5.10/drivers/s390/cio/ |
H A D | fcx.c | 62 * tcw_get_tsb - return pointer to tsb associated with tcw 65 * Return pointer to the tsb associated with this tcw. 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() 235 * tcw_set_tsb - set tsb address of a tcw 237 * @tsb: the tsb address 239 * Set the address of the tsb in the specified tcw. 241 void tcw_set_tsb(struct tcw *tcw, struct tsb *ts argument 271 tsb_init(struct tsb *tsb) tsb_init() argument [all...] |
H A D | itcw.c | 22 * tcw and associated tccb, tsb, data tidaw-list plus an optional interrogate 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()
|
/kernel/linux/linux-6.6/drivers/s390/cio/ |
H A D | fcx.c | 63 * tcw_get_tsb - return pointer to tsb associated with tcw 66 * Return pointer to the tsb associated with this tcw. 68 struct tsb *tcw_get_tsb(struct tcw *tcw) in tcw_get_tsb() 70 return phys_to_virt(tcw->tsb); in tcw_get_tsb() 236 * tcw_set_tsb - set tsb address of a tcw 238 * @tsb: the tsb address 240 * Set the address of the tsb in the specified tcw. 242 void tcw_set_tsb(struct tcw *tcw, struct tsb *tsb) in tcw_set_tsb() argument 272 tsb_init(struct tsb *tsb) tsb_init() argument [all...] |
H A D | itcw.c | 23 * tcw and associated tccb, tsb, data tidaw-list plus an optional interrogate 103 /* 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()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | mmu_64.h | 66 struct tsb { struct 73 void tsb_init(struct tsb *tsb, unsigned long size); 76 struct tsb *tsb; member
|
H A D | mmu_context_64.h | 44 (mm->context.tsb_block[MM_TSB_HUGE].tsb ? in tsb_context_switch_ctx()
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | mmu_64.h | 66 struct tsb { struct 73 void tsb_init(struct tsb *tsb, unsigned long size); 76 struct tsb *tsb; member
|
H A D | mmu_context_64.h | 43 (mm->context.tsb_block[MM_TSB_HUGE].tsb ? in tsb_context_switch_ctx()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | fcx.h | 31 * @tsb: Transport-Status-Block Address 48 u64 tsb; member 152 * struct tsb - Transport-Status Block (TSB) 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);
|
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | fcx.h | 31 * @tsb: Transport-Status-Block Address 48 u64 tsb; member 152 * struct tsb - Transport-Status Block (TSB) 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);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 1235 struct bcm_tsb *tsb; in bcm_sysport_insert_tsb() local 1242 if (unlikely(skb_headroom(skb) < sizeof(*tsb))) { in bcm_sysport_insert_tsb() 1243 nskb = skb_realloc_headroom(skb, sizeof(*tsb)); in bcm_sysport_insert_tsb() 1256 tsb = skb_push(skb, sizeof(*tsb)); in bcm_sysport_insert_tsb() 1258 memset(tsb, 0, sizeof(*tsb)); in bcm_sysport_insert_tsb() 1261 tsb->pcp_dei_vid = skb_vlan_tag_get_prio(skb) & PCP_DEI_MASK; in bcm_sysport_insert_tsb() 1262 tsb->pcp_dei_vid |= (u32)skb_vlan_tag_get_id(skb) << VID_SHIFT; in bcm_sysport_insert_tsb() 1279 csum_start = skb_checksum_start_offset(skb) - sizeof(*tsb); in bcm_sysport_insert_tsb() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 1251 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() [all...] |
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dasd_3990_erp.c | 2379 struct tsb *tsb; in dasd_3990_erp_add_erp() local 2384 datasize = 64 + sizeof(struct tcw) + sizeof(struct tsb); in dasd_3990_erp_add_erp() 2411 /* make a shallow copy of the original tcw but set new tsb */ in dasd_3990_erp_add_erp() 2415 tsb = (struct tsb *) &tcw[1]; in dasd_3990_erp_add_erp() 2417 tcw->tsb = (long)tsb; in dasd_3990_erp_add_erp()
|
H A D | dasd_eckd.c | 5579 struct tsb *tsb; in dasd_eckd_dump_sense_tcw() local 5606 tsb = NULL; in dasd_eckd_dump_sense_tcw() 5609 tsb = tcw_get_tsb( in dasd_eckd_dump_sense_tcw() 5612 if (tsb) { in dasd_eckd_dump_sense_tcw() 5614 " tsb->length %d\n", tsb->length); in dasd_eckd_dump_sense_tcw() 5616 " tsb->flags %x\n", tsb->flags); in dasd_eckd_dump_sense_tcw() 5618 " tsb in dasd_eckd_dump_sense_tcw() [all...] |
H A D | dasd.c | 4165 struct tsb *tsb = NULL; in dasd_get_sense() local 4170 tsb = tcw_get_tsb((struct tcw *)(unsigned long) in dasd_get_sense() 4172 if (tsb && tsb->length == 64 && tsb->flags) in dasd_get_sense() 4173 switch (tsb->flags & 0x07) { in dasd_get_sense() 4175 sense = tsb->tsa.iostat.sense; in dasd_get_sense() 4178 sense = tsb->tsa.ddpc.sense; in dasd_get_sense()
|
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A 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() 2416 /* make a shallow copy of the original tcw but set new tsb */ in dasd_3990_erp_add_erp() 2420 tsb = (struct tsb *) &tcw[1]; in dasd_3990_erp_add_erp() 2422 tcw->tsb = virt_to_phys(tsb); in dasd_3990_erp_add_erp()
|
H A D | dasd_eckd.c | 5694 struct tsb *tsb; in dasd_eckd_dump_sense_tcw() local 5721 tsb = NULL; in dasd_eckd_dump_sense_tcw() 5724 tsb = tcw_get_tsb(phys_to_virt(irb->scsw.tm.tcw)); in dasd_eckd_dump_sense_tcw() 5726 if (tsb) { in dasd_eckd_dump_sense_tcw() 5728 " tsb->length %d\n", tsb->length); in dasd_eckd_dump_sense_tcw() 5730 " tsb->flags %x\n", tsb->flags); in dasd_eckd_dump_sense_tcw() 5732 " tsb in dasd_eckd_dump_sense_tcw() [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | ktlb.S | 14 #include <asm/tsb.h>
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | ktlb.S | 14 #include <asm/tsb.h>
|