Home
last modified time | relevance | path

Searched refs:ra (Results 1 – 25 of 265) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/mm/
Dreadahead.c34 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init() argument
36 ra->ra_pages = inode_to_bdi(mapping->host)->ra_pages; in file_ra_state_init()
37 ra->prev_pos = -1; in file_ra_state_init()
275 struct file_ra_state *ra, unsigned long nr_to_read) in force_page_cache_ra() argument
290 max_pages = max_t(unsigned long, bdi->io_pages, ra->ra_pages); in force_page_cache_ra()
329 static unsigned long get_next_ra_size(struct file_ra_state *ra, in get_next_ra_size() argument
332 unsigned long cur = ra->size; in get_next_ra_size()
402 struct file_ra_state *ra, in try_context_readahead() argument
425 ra->start = index; in try_context_readahead()
426 ra->size = min(size + req_size, max); in try_context_readahead()
[all …]
Dreclaim_acct.c26 static void reclaimacct_free(struct reclaim_acct *ra, enum reclaim_type type) in reclaimacct_free() argument
28 memset(ra, 0, sizeof(struct reclaim_acct)); in reclaimacct_free()
31 static void __reclaimacct_end(struct reclaim_acct *ra, u64 freed, in __reclaimacct_end() argument
36 start = ra->start[stub]; in __reclaimacct_end()
42 if (delay < DELAY_LV5 || is_system_reclaim(ra->reclaim_type)) { in __reclaimacct_end()
43 ra->delay[stub] += delay; in __reclaimacct_end()
44 ra->count[stub]++; in __reclaimacct_end()
45 ra->freed[stub] += freed; in __reclaimacct_end()
84 static void reclaimacct_directreclaim_end(struct reclaim_acct *ra) in reclaimacct_directreclaim_end() argument
88 if (ra->delay[RA_RECLAIM] > DELAY_LV4) { in reclaimacct_directreclaim_end()
[all …]
Dreclaimacct_show.c68 static void __reclaimacct_collect_data(int level, struct reclaim_acct *ra) in __reclaimacct_collect_data() argument
74 ra_show->delay[level][i] += ra->delay[i]; in __reclaimacct_collect_data()
75 ra_show->count[level][i] += ra->count[i]; in __reclaimacct_collect_data()
78 if (ra->delay[RA_RECLAIM] > ra_show->max_delay) { in __reclaimacct_collect_data()
79 ra_show->max_delay = ra->delay[RA_RECLAIM]; in __reclaimacct_collect_data()
153 struct reclaim_acct *ra, enum reclaim_type type) in __reclaimacct_collect_reclaim_efficiency() argument
157 ra->freed[RA_RECLAIM] = ra->freed[RA_SHRINKFILE] + ra->freed[RA_SHRINKANON]; in __reclaimacct_collect_reclaim_efficiency()
164 ra_eff[type].time[i] += ra->delay[i]; in __reclaimacct_collect_reclaim_efficiency()
165 ra_eff[type].freed[i] += ra->freed[i]; in __reclaimacct_collect_reclaim_efficiency()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dcps-vec-ns16550.S41 jr ra
51 NESTED(_mips_cps_puts, 0, ra)
52 move s7, ra
71 NESTED(_mips_cps_putx4, 0, ra)
88 NESTED(_mips_cps_putx8, 0, ra)
89 move s3, ra
94 move ra, s3
105 NESTED(_mips_cps_putx16, 0, ra)
106 move s5, ra
111 move ra, s5
[all …]
Dmcount.S24 PTR_S ra, PT_R31(sp)
39 PTR_L ra, PT_R31(sp)
55 jr ra
56 move ra, AT
67 NESTED(ftrace_caller, PT_SIZE, ra)
84 PTR_SUBU a0, ra, 8 /* arg1: self address */
118 NESTED(_mcount, PT_SIZE, ra)
127 move a0, ra /* arg1: self return address */
158 NESTED(ftrace_graph_caller, PT_SIZE, ra)
180 move a1, ra
[all …]
Dbmips_5xxx_init.S197 jr ra
289 jr ra
312 jr ra
333 move t8, ra
437 jr ra
470 jr ra
494 jr ra
514 jr ra
539 jr ra
569 jr ra
[all …]
/kernel/linux/linux-5.10/drivers/powercap/
Dintel_rapl_msr.c88 static int rapl_msr_read_raw(int cpu, struct reg_action *ra) in rapl_msr_read_raw() argument
90 u32 msr = (u32)ra->reg; in rapl_msr_read_raw()
92 if (rdmsrl_safe_on_cpu(cpu, msr, &ra->value)) { in rapl_msr_read_raw()
96 ra->value &= ra->mask; in rapl_msr_read_raw()
102 struct reg_action *ra = info; in rapl_msr_update_func() local
103 u32 msr = (u32)ra->reg; in rapl_msr_update_func()
106 ra->err = rdmsrl_safe(msr, &val); in rapl_msr_update_func()
107 if (ra->err) in rapl_msr_update_func()
110 val &= ~ra->mask; in rapl_msr_update_func()
111 val |= ra->value; in rapl_msr_update_func()
[all …]
Dintel_rapl_common.c696 struct reg_action ra; in rapl_read_data_raw() local
702 ra.reg = rd->regs[rp->id]; in rapl_read_data_raw()
703 if (!ra.reg) in rapl_read_data_raw()
719 ra.mask = rp->mask; in rapl_read_data_raw()
721 if (rd->rp->priv->read_raw(cpu, &ra)) { in rapl_read_data_raw()
722 pr_debug("failed to read reg 0x%llx on cpu %d\n", ra.reg, cpu); in rapl_read_data_raw()
726 value = ra.value >> rp->shift; in rapl_read_data_raw()
744 struct reg_action ra; in rapl_write_data_raw() local
752 memset(&ra, 0, sizeof(ra)); in rapl_write_data_raw()
754 ra.reg = rd->regs[rp->id]; in rapl_write_data_raw()
[all …]
/kernel/linux/linux-5.10/fs/ntfs/
Dlogfile.c147 RESTART_AREA *ra; in ntfs_check_restart_area() local
153 ra = (RESTART_AREA*)((u8*)rp + ra_ofs); in ntfs_check_restart_area()
172 ca_ofs = le16_to_cpu(ra->client_array_offset); in ntfs_check_restart_area()
184 ra_len = ca_ofs + le16_to_cpu(ra->log_clients) * in ntfs_check_restart_area()
187 ra_ofs + le16_to_cpu(ra->restart_area_length) > in ntfs_check_restart_area()
189 ra_len > le16_to_cpu(ra->restart_area_length)) { in ntfs_check_restart_area()
201 if ((ra->client_free_list != LOGFILE_NO_CLIENT && in ntfs_check_restart_area()
202 le16_to_cpu(ra->client_free_list) >= in ntfs_check_restart_area()
203 le16_to_cpu(ra->log_clients)) || in ntfs_check_restart_area()
204 (ra->client_in_use_list != LOGFILE_NO_CLIENT && in ntfs_check_restart_area()
[all …]
/kernel/linux/linux-5.10/fs/btrfs/
Dref-verify.c206 static void __save_stack_trace(struct ref_action *ra) in __save_stack_trace() argument
208 ra->trace_len = stack_trace_save(ra->trace, MAX_TRACE, 2); in __save_stack_trace()
212 struct ref_action *ra) in __print_stack_trace() argument
214 if (ra->trace_len == 0) { in __print_stack_trace()
218 stack_trace_print(ra->trace, ra->trace_len, 2); in __print_stack_trace()
221 static void inline __save_stack_trace(struct ref_action *ra) in __save_stack_trace() argument
226 struct ref_action *ra) in __print_stack_trace() argument
236 struct ref_action *ra; in free_block_entry() local
252 ra = list_first_entry(&be->actions, struct ref_action, in free_block_entry()
254 list_del(&ra->list); in free_block_entry()
[all …]
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dperf_callchain.c17 unsigned long ra = 0; in user_backtrace() local
29 ra = reg_ra; in user_backtrace()
31 ra = buftail.ra; in user_backtrace()
34 if (ra != 0) in user_backtrace()
35 perf_callchain_store(entry, ra); in user_backtrace()
69 fp = user_backtrace(entry, fp, regs->ra); in perf_callchain_user()
Dmcount.S19 sd ra, 8(sp)
30 sd ra, 24(sp)
36 ld ra, 8(sp)
42 ld ra, 24(sp)
105 mv a1, ra
121 mv a0, ra
Dmcount-dyn.S20 sd ra, 40(sp)
30 sd ra, 8(sp)
38 ld ra, 40(sp)
41 ld ra, 8(sp)
58 sd ra, 8(sp)
67 ld ra, 8(sp)
80 addi a0, ra, -MCOUNT_INSN_SIZE
123 sd ra, (PT_SIZE_ON_STACK+8)(sp)
193 ld ra, (PT_SIZE_ON_STACK+8)(sp)
213 addi a0, ra, -MCOUNT_INSN_SIZE
Dstacktrace.c39 pc = task->thread.ra; in walk_stackframe()
58 fp = frame->ra; in walk_stackframe()
59 pc = regs->ra; in walk_stackframe()
62 pc = ftrace_graph_ret_addr(current, NULL, frame->ra, in walk_stackframe()
63 &frame->ra); in walk_stackframe()
86 pc = task->thread.ra; in walk_stackframe()
/kernel/linux/linux-5.10/arch/mips/oprofile/
Dbacktrace.c16 unsigned long ra; member
80 if (old_frame->pc == 0 || old_frame->sp == 0 || old_frame->ra == 0) in unwind_user_frame()
111 new_frame.ra = old_frame->sp + ra_offset; in unwind_user_frame()
112 if (get_mem(new_frame.ra, &(new_frame.ra))) in unwind_user_frame()
126 new_frame.pc = old_frame->ra; in unwind_user_frame()
140 oprofile_add_trace(frame->ra); in do_user_backtrace()
159 &(frame->ra)); in do_kernel_backtrace()
160 oprofile_add_trace(frame->ra); in do_kernel_backtrace()
169 .ra = regs->regs[31] }; in op_mips_backtrace()
/kernel/linux/linux-5.10/lib/raid6/test/
Dtest.c90 const struct raid6_recov_calls *const *ra; in main() local
96 for (ra = raid6_recov_algos; *ra; ra++) { in main()
97 if ((*ra)->valid && !(*ra)->valid()) in main()
100 raid6_2data_recov = (*ra)->data2; in main()
101 raid6_datap_recov = (*ra)->datap; in main()
103 printf("using recovery %s\n", (*ra)->name); in main()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
D11n.h48 u8 *ra);
49 void mwifiex_create_ba_tbl(struct mwifiex_private *priv, u8 *ra, int tid,
65 void mwifiex_del_tx_ba_stream_tbl_by_ra(struct mwifiex_private *priv, u8 *ra);
72 struct mwifiex_sta_node *node = mwifiex_get_sta_entry(priv, ptr->ra); in mwifiex_is_station_ampdu_allowed()
85 if (is_broadcast_ether_addr(ptr->ra)) in mwifiex_is_ampdu_allowed()
145 int *ptid, u8 *ra) in mwifiex_find_stream_to_delete() argument
158 memcpy(ra, tx_tbl->ra, ETH_ALEN); in mwifiex_find_stream_to_delete()
183 mwifiex_tdls_peer_11n_enabled(struct mwifiex_private *priv, const u8 *ra) in mwifiex_tdls_peer_11n_enabled() argument
185 struct mwifiex_sta_node *node = mwifiex_get_sta_entry(priv, ra); in mwifiex_tdls_peer_11n_enabled()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dreturn_address.c17 unsigned long ra; in return_address() local
20 for (i = 0, frame = NULL, ra = 0; i <= depth; i++) { in return_address()
23 tmp = dwarf_unwind_stack(ra, frame); in return_address()
35 ra = frame->return_addr; in return_address()
44 return (void *)ra; in return_address()
/kernel/linux/linux-5.10/arch/powerpc/lib/
Dsstep.c127 int ra; in dform_ea() local
130 ra = (instr >> 16) & 0x1f; in dform_ea()
132 if (ra) in dform_ea()
133 ea += regs->gpr[ra]; in dform_ea()
145 int ra; in dsform_ea() local
148 ra = (instr >> 16) & 0x1f; in dsform_ea()
150 if (ra) in dsform_ea()
151 ea += regs->gpr[ra]; in dsform_ea()
162 int ra; in dqform_ea() local
165 ra = (instr >> 16) & 0x1f; in dqform_ea()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/vmx/
Dppc-xlate.pl134 my ($f,$ra,$rs,$n,$b) = @_;
136 " rldicl $ra,$rs,$b,$n";
147 my ($f,$idx,$ra) = @_;
149 " or $ra,$ra,$ra";
151 " mtspr $idx,$ra";
165 my ($f, $vrt, $ra, $rb, $op) = @_;
166 " .long ".sprintf "0x%X",(31<<26)|($vrt<<21)|($ra<<16)|($rb<<11)|($op*2+1);
/kernel/linux/linux-5.10/arch/mips/lib/
Dmemset.S119 R10KCBARRIER(0(ra))
161 R10KCBARRIER(0(ra))
166 R10KCBARRIER(0(ra))
191 R10KCBARRIER(0(ra))
216 jr ra
223 R10KCBARRIER(0(ra))
230 jr ra /* done */
245 jr ra
250 jr ra
262 jr ra
[all …]
/kernel/linux/linux-5.10/fs/fat/
Dfatent.c646 static void fat_ra_init(struct super_block *sb, struct fatent_ra *ra, in fat_ra_init() argument
671 ra->cur = 0; in fat_ra_init()
672 ra->limit = (block_end + 1) - blocknr; in fat_ra_init()
675 ra->ra_blocks = reada_blocks >> 1; in fat_ra_init()
676 ra->ra_advance = ra->cur; in fat_ra_init()
677 ra->ra_next = ra->cur; in fat_ra_init()
678 ra->ra_limit = ra->cur + min_t(sector_t, reada_blocks, ra->limit); in fat_ra_init()
682 static void fat_ent_reada(struct super_block *sb, struct fatent_ra *ra, in fat_ent_reada() argument
685 if (ra->ra_next >= ra->ra_limit) in fat_ent_reada()
688 if (ra->cur >= ra->ra_advance) { in fat_ent_reada()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/
Dreg.h97 #define VSX_XX1(xs, ra, rb) (((xs) & 0x1f) << 21 | ((ra) << 16) | \ argument
99 #define STXVD2X(xs, ra, rb) .long (0x7c000798 | VSX_XX1((xs), (ra), (rb))) argument
100 #define LXVD2X(xs, ra, rb) .long (0x7c000698 | VSX_XX1((xs), (ra), (rb))) argument
/kernel/linux/linux-5.10/net/mac80211/
Dwme.c185 const u8 *ra = NULL; in ieee80211_select_queue() local
205 ra = skb->data; in ieee80211_select_queue()
208 ra = sdata->u.wds.remote_addr; in ieee80211_select_queue()
216 ra = sdata->u.mgd.bssid; in ieee80211_select_queue()
219 ra = skb->data; in ieee80211_select_queue()
225 if (!sta && ra && !is_multicast_ether_addr(ra)) in ieee80211_select_queue()
226 sta = sta_info_get(sdata, ra); in ieee80211_select_queue()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c422 mt7915_mcu_tx_rate_cal(struct mt76_phy *mphy, struct mt7915_mcu_ra_info *ra, in mt7915_mcu_tx_rate_cal() argument
426 u16 ru_idx = le16_to_cpu(ra->ru_idx); in mt7915_mcu_tx_rate_cal()
447 if (ra->gi) in mt7915_mcu_tx_rate_cal()
453 if (ra->gi) in mt7915_mcu_tx_rate_cal()
460 rate->he_gi = ra->gi; in mt7915_mcu_tx_rate_cal()
510 struct mt7915_mcu_ra_info *ra = (struct mt7915_mcu_ra_info *)skb->data; in mt7915_mcu_tx_rate_report() local
512 u16 probe = le16_to_cpu(ra->prob_up_rate); in mt7915_mcu_tx_rate_report()
513 u16 attempts = le16_to_cpu(ra->attempts); in mt7915_mcu_tx_rate_report()
514 u16 curr = le16_to_cpu(ra->curr_rate); in mt7915_mcu_tx_rate_report()
515 u16 wcidx = le16_to_cpu(ra->wlan_idx); in mt7915_mcu_tx_rate_report()
[all …]

1234567891011