Home
last modified time | relevance | path

Searched refs:ssize (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.3-rc2/arch/powerpc/mm/book3s64/
A Dhash_native.c70 int apsize, int ssize) in ___tlbie() argument
96 va |= ssize << 8; in ___tlbie()
108 va |= ssize << 8; in ___tlbie()
127 int apsize, int ssize) in fixup_tlbie_vpn() argument
186 va |= ssize << 8; in __tlbiel()
198 va |= ssize << 8; in __tlbiel()
218 int ssize, int local) in tlbie() argument
481 int psize, int ssize) in native_hpte_updateboltedpp() argument
690 switch (*ssize) { in hpte_decode()
742 int psize, apsize, ssize; in native_hpte_clear() local
[all …]
A Dhash_64k.c40 int ssize, int subpg_prot) in __hash_page_4K() argument
90 vpn = hpt_vpn(ea, vsid, ssize); in __hash_page_4K()
122 ssize, flags); in __hash_page_4K()
157 hash = hpt_hash(vpn, shift, ssize); in __hash_page_4K()
174 ssize); in __hash_page_4K()
187 ssize, 0); in __hash_page_4K()
230 unsigned long flags, int ssize) in __hash_page_64K() argument
275 vpn = hpt_vpn(ea, vsid, ssize); in __hash_page_64K()
284 MMU_PAGE_64K, ssize, in __hash_page_64K()
300 ssize); in __hash_page_64K()
[all …]
A Dhash_tlb.c47 int ssize; in hpte_need_flush() local
89 ssize = user_segment_size(addr); in hpte_need_flush()
90 vsid = get_user_vsid(&mm->context, addr, ssize); in hpte_need_flush()
93 ssize = mmu_kernel_ssize; in hpte_need_flush()
96 vpn = hpt_vpn(addr, vsid, ssize); in hpte_need_flush()
104 flush_hash_page(vpn, rpte, psize, ssize, mm_is_thread_local(mm)); in hpte_need_flush()
120 batch->ssize != ssize)) { in hpte_need_flush()
127 batch->ssize = ssize; in hpte_need_flush()
152 batch->psize, batch->ssize, local); in __flush_tlb_pending()
A Dhash_hugepage.c23 int ssize, unsigned int psize) in __hash_page_thp() argument
79 vpn = hpt_vpn(ea, vsid, ssize); in __hash_page_thp()
89 ssize, flags); in __hash_page_thp()
105 hash = hpt_hash(vpn, shift, ssize); in __hash_page_thp()
113 psize, lpsize, ssize, flags); in __hash_page_thp()
131 hash = hpt_hash(vpn, shift, ssize); in __hash_page_thp()
141 psize, lpsize, ssize); in __hash_page_thp()
150 psize, lpsize, ssize); in __hash_page_thp()
166 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_thp()
A Dhash_4k.c23 int ssize, int subpg_prot) in __hash_page_4K() argument
66 vpn = hpt_vpn(ea, vsid, ssize); in __hash_page_4K()
71 unsigned long gslot = pte_get_hash_gslot(vpn, shift, ssize, in __hash_page_4K()
75 MMU_PAGE_4K, ssize, flags) == -1) in __hash_page_4K()
82 hash = hpt_hash(vpn, shift, ssize); in __hash_page_4K()
89 MMU_PAGE_4K, MMU_PAGE_4K, ssize); in __hash_page_4K()
99 MMU_PAGE_4K, ssize); in __hash_page_4K()
117 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_4K()
A Dhugetlbpage.c22 int ssize, unsigned int shift, unsigned int mmu_psize) in __hash_page_huge() argument
33 vpn = hpt_vpn(ea, vsid, ssize); in __hash_page_huge()
89 gslot = pte_get_hash_gslot(vpn, shift, ssize, rpte, 0); in __hash_page_huge()
91 mmu_psize, ssize, flags) == -1) in __hash_page_huge()
96 unsigned long hash = hpt_hash(vpn, shift, ssize); in __hash_page_huge()
104 mmu_psize, ssize); in __hash_page_huge()
112 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_huge()
A Dslb.c95 slb_shadow_update(ea, ssize, flags, index); in create_shadowed_slbe()
99 : "r" (mk_vsid_data(ea, ssize, flags)), in create_shadowed_slbe()
100 "r" (mk_esid_data(ea, ssize, index)) in create_shadowed_slbe()
671 unsigned long flags, int ssize, bool kernel) in slb_insert_entry() argument
677 vsid = get_vsid(context, ea, ssize); in slb_insert_entry()
695 esid_data = mk_esid_data(ea, ssize, index); in slb_insert_entry()
740 int ssize; in slb_allocate_kernel() local
776 ssize = MMU_SEGSIZE_1T; in slb_allocate_kernel()
778 ssize = MMU_SEGSIZE_256M; in slb_allocate_kernel()
790 int ssize; in slb_allocate_user() local
[all …]
A Dhash_utils.c349 int psize, int ssize) in htab_bolt_mapping() argument
405 ssize); in htab_bolt_mapping()
415 ssize); in htab_bolt_mapping()
435 int psize, int ssize) in htab_remove_mapping() argument
1461 int psize, ssize; in hash_page_mm() local
1483 ssize = mmu_kernel_ssize; in hash_page_mm()
1490 ssize = mmu_kernel_ssize; in hash_page_mm()
1629 flags, ssize); in hash_page_mm()
1937 ssize, local); in flush_hash_page()
2028 psize, psize, ssize); in hpte_insert_repeating()
[all …]
A Dhash_pgtable.c315 int ssize; in hpte_do_hugepage_flush() local
331 ssize = user_segment_size(addr); in hpte_do_hugepage_flush()
332 vsid = get_user_vsid(&mm->context, addr, ssize); in hpte_do_hugepage_flush()
336 ssize = mmu_kernel_ssize; in hpte_do_hugepage_flush()
342 return flush_hash_hugepage(vsid, addr, pmdp, psize, ssize, flags); in hpte_do_hugepage_flush()
/linux-6.3-rc2/arch/powerpc/include/asm/book3s/64/
A Dmmu-hash.h139 int ssize, int local);
154 int ssize);
157 int psize, int ssize);
255 if (ssize == MMU_SEGSIZE_256M) in slb_vsid_shift()
262 if (ssize == MMU_SEGSIZE_256M) in segment_shift()
326 int ssize) in hpte_encode_avpn() argument
497 int psize, int ssize);
499 int psize, int ssize);
779 int ssize) in get_vsid() argument
862 #define slb_esid_mask(ssize) \ argument
[all …]
A Dtlbflush-hash.h21 int ssize; member
63 int ssize, unsigned long flags);
66 pmd_t *pmdp, unsigned int psize, int ssize,
A Dmmu.h286 unsigned long ea, int ssize) in get_user_vsid() argument
290 return get_vsid(context, ea, ssize); in get_user_vsid()
/linux-6.3-rc2/tools/lib/
A Dvsprintf.c9 ssize_t ssize = size; in vscnprintf() local
11 return (i >= ssize) ? (ssize - 1) : i; in vscnprintf()
16 ssize_t ssize = size; in scnprintf() local
24 return (i >= ssize) ? (ssize - 1) : i; in scnprintf()
29 ssize_t ssize = size; in scnprintf_pad() local
43 return (i >= ssize) ? (ssize - 1) : i; in scnprintf_pad()
/linux-6.3-rc2/arch/powerpc/mm/
A Dcopro_fault.c94 int psize, ssize; in copro_calculate_slb() local
102 ssize = user_segment_size(ea); in copro_calculate_slb()
103 vsid = get_user_vsid(&mm->context, ea, ssize); in copro_calculate_slb()
109 ssize = mmu_kernel_ssize; in copro_calculate_slb()
116 ssize = mmu_kernel_ssize; in copro_calculate_slb()
123 ssize = mmu_kernel_ssize; in copro_calculate_slb()
135 vsid = (vsid << slb_vsid_shift(ssize)) | vsidkey; in copro_calculate_slb()
138 ((ssize == MMU_SEGSIZE_1T) ? SLB_VSID_B_1T : 0); in copro_calculate_slb()
140 slb->esid = (ea & (ssize == MMU_SEGSIZE_1T ? ESID_MASK_1T : ESID_MASK)) | SLB_ESID_V; in copro_calculate_slb()
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Dlpar.c1040 int ssize, int local) in pSeries_lpar_hpte_invalidate() argument
1204 ssize, 0); in hugepage_bulk_invalidate()
1231 int ssize) in __pSeries_lpar_hugepage_invalidate() argument
1289 psize, ssize); in pSeries_lpar_hugepage_invalidate()
1333 int ssize) in compute_slot() argument
1357 int psize, ssize; in do_block_remove() local
1360 ssize = batch->ssize; in do_block_remove()
1381 ssize); in do_block_remove()
1536 int psize, ssize; in pSeries_lpar_flush_hash_range() local
1547 ssize = batch->ssize; in pSeries_lpar_flush_hash_range()
[all …]
/linux-6.3-rc2/drivers/misc/lkdtm/
A Dpowerpc.c9 static void insert_slb_entry(unsigned long p, int ssize, int page_size) in insert_slb_entry() argument
17 : "r" (mk_vsid_data(p, ssize, flags)), in insert_slb_entry()
18 "r" (mk_esid_data(p, ssize, SLB_NUM_BOLTED)) in insert_slb_entry()
22 : "r" (mk_vsid_data(p, ssize, flags)), in insert_slb_entry()
23 "r" (mk_esid_data(p, ssize, SLB_NUM_BOLTED + 1)) in insert_slb_entry()
/linux-6.3-rc2/arch/powerpc/platforms/ps3/
A Dhtab.c36 int psize, int apsize, int ssize) in ps3_hpte_insert() argument
52 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in ps3_hpte_insert()
100 int ssize, unsigned long inv_flags) in ps3_hpte_updatepp() argument
108 want_v = hpte_encode_avpn(vpn, psize, ssize); in ps3_hpte_updatepp()
147 int psize, int ssize) in ps3_hpte_updateboltedpp() argument
153 int psize, int apsize, int ssize, int local) in ps3_hpte_invalidate() argument
/linux-6.3-rc2/fs/ntfs/
A Drunlist.c228 __ntfs_rl_merge(src + ssize - 1, dst + loc + 1); in ntfs_rl_append()
231 marker = loc + ssize + 1; in ntfs_rl_append()
235 ntfs_rl_mc(dst, loc + 1, src, 0, ssize); in ntfs_rl_append()
318 marker = loc + ssize - left + disc; in ntfs_rl_insert()
388 delta = ssize - 1 - left - right; in ntfs_rl_replace()
420 marker = loc + ssize - left; in ntfs_rl_replace()
424 ntfs_rl_mc(dst, loc, src, left, ssize - left); in ntfs_rl_replace()
457 runlist_element *src, int ssize, int loc) in ntfs_rl_split() argument
473 ntfs_rl_mc(dst, loc + 1, src, 0, ssize); in ntfs_rl_split()
477 dst[loc+ssize+1].vcn = dst[loc+ssize].vcn + dst[loc+ssize].length; in ntfs_rl_split()
[all …]
/linux-6.3-rc2/arch/powerpc/mm/ptdump/
A Dhashpagetable.c211 int i, ssize = mmu_kernel_ssize; in native_find() local
215 vsid = get_kernel_vsid(ea, ssize); in native_find()
216 vpn = hpt_vpn(ea, vsid, ssize); in native_find()
217 hash = hpt_hash(vpn, shift, ssize); in native_find()
218 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_find()
246 int i, j, ssize = mmu_kernel_ssize; in pseries_find() local
251 vsid = get_kernel_vsid(ea, ssize); in pseries_find()
252 vpn = hpt_vpn(ea, vsid, ssize); in pseries_find()
253 hash = hpt_hash(vpn, shift, ssize); in pseries_find()
254 want_v = hpte_encode_avpn(vpn, psize, ssize); in pseries_find()
/linux-6.3-rc2/drivers/usb/storage/
A Djumpshot.c97 unsigned long ssize; /* sector size in bytes */ member
174 totallen = sectors * info->ssize; in jumpshot_read_data()
189 thistime = (len / info->ssize) & 0xff; in jumpshot_read_data()
251 totallen = sectors * info->ssize; in jumpshot_write_data()
267 thistime = (len / info->ssize) & 0xff; in jumpshot_write_data()
502 info->ssize = 0x200; // hard coded 512 byte sectors as per ATA spec in jumpshot_transport()
513 info->sectors, info->ssize); in jumpshot_transport()
518 ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize); in jumpshot_transport()
A Ddatafab.c61 unsigned long ssize; /* sector size in bytes */ member
162 totallen = sectors * info->ssize; in datafab_read_data()
178 thistime = (len / info->ssize) & 0xff; in datafab_read_data()
246 totallen = sectors * info->ssize; in datafab_write_data()
262 thistime = (len / info->ssize) & 0xff; in datafab_write_data()
576 info->ssize = 0x200; // hard coded 512 byte sectors as per ATA spec in datafab_transport()
582 info->sectors, info->ssize); in datafab_transport()
587 ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize); in datafab_transport()
/linux-6.3-rc2/arch/sparc/mm/
A Dleon_mm.c247 unsigned int ssize, sets; in leon_flush_needed() local
257 ssize = 1 << ((cregs.dccr & LEON3_XCCR_SSIZE_MASK) >> 20); in leon_flush_needed()
260 sets > 3 ? "unknown" : setStr[sets], ssize); in leon_flush_needed()
261 if ((ssize <= (PAGE_SIZE / 1024)) && (sets == 0)) { in leon_flush_needed()
/linux-6.3-rc2/crypto/
A Dessiv.c207 int ssize = req->assoclen - ivsize; in essiv_aead_crypt() local
211 if (ssize < 0) in essiv_aead_crypt()
214 nents = sg_nents_for_len(req->src, ssize); in essiv_aead_crypt()
226 rctx->assoc = kmalloc(ssize, GFP_ATOMIC); in essiv_aead_crypt()
231 ssize, 0); in essiv_aead_crypt()
232 sg_set_buf(rctx->sg, rctx->assoc, ssize); in essiv_aead_crypt()
234 sg_set_page(rctx->sg, sg_page(req->src), ssize, in essiv_aead_crypt()
/linux-6.3-rc2/fs/jfs/
A Dnamei.c879 int ssize; /* source pathname size */ in jfs_symlink() local
897 ssize = strlen(name) + 1; in jfs_symlink()
946 if (ssize <= IDATASIZE) { in jfs_symlink()
950 memcpy(ip->i_link, name, ssize); in jfs_symlink()
951 ip->i_size = ssize - 1; in jfs_symlink()
961 ssize, name); in jfs_symlink()
980 xsize = (ssize + bmask) & ~bmask; in jfs_symlink()
987 ip->i_size = ssize - 1; in jfs_symlink()
988 while (ssize) { in jfs_symlink()
990 int copy_size = min(ssize, PSIZE); in jfs_symlink()
[all …]
/linux-6.3-rc2/drivers/block/
A Dfloppy.c2319 int ssize; in rw_interrupt() local
2349 if (nr_sectors / ssize > in rw_interrupt()
2435 max_sector = transfer_size(ssize, in copy_buffer()
2454 pr_info("ssize=%d\n", ssize); in copy_buffer()
2544 int ssize; in make_raw_rw_request() local
2625 ssize >>= 1; in make_raw_rw_request()
2629 tracksize += ssize; in make_raw_rw_request()
2655 if (sectors > ssize && sectors < ssize + ssize) in make_raw_rw_request()
2656 max_size = ssize + ssize; in make_raw_rw_request()
2658 max_size = ssize; in make_raw_rw_request()
[all …]

Completed in 97 milliseconds

12