| /linux/drivers/net/fddi/ |
| H A D | defza.c | 212 static inline void fza_regs_dump(struct fza_private *fp) in fza_regs_dump() argument 214 pr_debug("%s: iomem registers:\n", fp->name); in fza_regs_dump() 215 pr_debug(" reset: 0x%04x\n", readw_o(&fp->regs->reset)); in fza_regs_dump() 216 pr_debug(" interrupt event: 0x%04x\n", readw_u(&fp->regs->int_event)); in fza_regs_dump() 217 pr_debug(" status: 0x%04x\n", readw_u(&fp->regs->status)); in fza_regs_dump() 218 pr_debug(" interrupt mask: 0x%04x\n", readw_u(&fp->regs->int_mask)); in fza_regs_dump() 219 pr_debug(" control A: 0x%04x\n", readw_u(&fp->regs->control_a)); in fza_regs_dump() 220 pr_debug(" control B: 0x%04x\n", readw_u(&fp->regs->control_b)); in fza_regs_dump() 223 static inline void fza_do_reset(struct fza_private *fp) in fza_do_reset() argument 226 writew_o(FZA_RESET_INIT, &fp->regs->reset); in fza_do_reset() [all …]
|
| /linux/sound/usb/ |
| H A D | format.c | 27 * @fp: audioformat record 32 struct audioformat *fp, in parse_audio_format_i_type() argument 39 switch (fp->protocol) { in parse_audio_format_i_type() 46 fp->iface, fp->altsetting, format); in parse_audio_format_i_type() 63 fp->dsd_raw = true; in parse_audio_format_i_type() 88 fp->fmt_bits = sample_width; in parse_audio_format_i_type() 89 fp->fmt_sz = sample_bytes; in parse_audio_format_i_type() 95 fp->iface, fp in parse_audio_format_i_type() 162 set_fixed_rate(struct audioformat * fp,int rate,int rate_bits) set_fixed_rate() argument 177 set_rate_table_min_max(struct audioformat * fp) set_rate_table_min_max() argument 203 parse_audio_format_rates_v1(struct snd_usb_audio * chip,struct audioformat * fp,unsigned char * fmt,int offset) parse_audio_format_rates_v1() argument 285 s1810c_valid_sample_rate(struct audioformat * fp,unsigned int rate) s1810c_valid_sample_rate() argument 310 focusrite_valid_sample_rate(struct snd_usb_audio * chip,struct audioformat * fp,unsigned int rate) focusrite_valid_sample_rate() argument 359 parse_uac2_sample_rate_range(struct snd_usb_audio * chip,struct audioformat * fp,int nr_triplets,const unsigned char * data) parse_uac2_sample_rate_range() argument 424 line6_parse_audio_format_rates_quirk(struct snd_usb_audio * chip,struct audioformat * fp) line6_parse_audio_format_rates_quirk() argument 479 validate_sample_rate_table_v2v3(struct snd_usb_audio * chip,struct audioformat * fp,int clock) validate_sample_rate_table_v2v3() argument 555 parse_audio_format_rates_v2v3(struct snd_usb_audio * chip,struct audioformat * fp) parse_audio_format_rates_v2v3() argument 660 parse_audio_format_i(struct snd_usb_audio * chip,struct audioformat * fp,u64 format,void * _fmt) parse_audio_format_i() argument 743 parse_audio_format_ii(struct snd_usb_audio * chip,struct audioformat * fp,u64 format,void * _fmt) parse_audio_format_ii() argument 793 snd_usb_parse_audio_format(struct snd_usb_audio * chip,struct audioformat * fp,u64 format,struct uac_format_type_i_continuous_descriptor * fmt,int stream) snd_usb_parse_audio_format() argument 835 snd_usb_parse_audio_format_v3(struct snd_usb_audio * chip,struct audioformat * fp,struct uac3_as_header_descriptor * as,int stream) snd_usb_parse_audio_format_v3() argument [all...] |
| H A D | stream.c | 31 static void audioformat_free(struct audioformat *fp) in audioformat_free() argument 33 list_del(&fp->list); /* unlink for avoiding double-free */ in audioformat_free() 34 kfree(fp->rate_table); in audioformat_free() 35 kfree(fp->chmap); in audioformat_free() 36 kfree(fp); in audioformat_free() 44 struct audioformat *fp, *n; in free_substream() local 48 list_for_each_entry_safe(fp, n, &subs->fmt_list, list) in free_substream() 49 audioformat_free(fp); in free_substream() 81 struct audioformat *fp, in snd_usb_init_substream() argument 100 list_add_tail(&fp in snd_usb_init_substream() 134 have_dup_chmap(struct snd_usb_substream * subs,struct audioformat * fp) have_dup_chmap() argument 151 struct audioformat *fp; usb_chmap_ctl_tlv() local 212 struct audioformat *fp; add_chmap() local 490 __snd_usb_add_audio_stream(struct snd_usb_audio * chip,int stream,struct audioformat * fp,struct snd_usb_power_domain * pd) __snd_usb_add_audio_stream() argument 573 snd_usb_add_audio_stream(struct snd_usb_audio * chip,int stream,struct audioformat * fp) snd_usb_add_audio_stream() argument 580 snd_usb_add_audio_stream_v3(struct snd_usb_audio * chip,int stream,struct audioformat * fp,struct snd_usb_power_domain * pd) snd_usb_add_audio_stream_v3() argument 693 struct audioformat *fp; audio_format_alloc_init() local 727 struct audioformat *fp; snd_usb_get_audioformat_uac12() local 892 struct audioformat *fp; snd_usb_get_audioformat_uac3() local 1125 struct audioformat *fp = NULL; __snd_usb_parse_audio_interface() local [all...] |
| /linux/include/scsi/ |
| H A D | fc_frame.h | 50 #define fp_skb(fp) (&((fp)->skb)) argument 51 #define fr_hdr(fp) ((fp)->skb.data) argument 52 #define fr_len(fp) ((fp)->skb.len) argument 53 #define fr_cb(fp) ((struct fcoe_rcv_info *)&((fp)->skb.cb[0])) argument 54 #define fr_dev(fp) (fr_cb(fp)->fr_dev) argument 55 #define fr_seq(fp) (fr_cb(fp)->fr_seq) argument 56 #define fr_sof(fp) (fr_cb(fp)->fr_sof) argument 57 #define fr_eof(fp) (fr_cb(fp)->fr_eof) argument 58 #define fr_flags(fp) (fr_cb(fp)->fr_flags) argument 59 #define fr_encaps(fp) (fr_cb(fp)->fr_encaps) argument [all …]
|
| /linux/kernel/trace/ |
| H A D | fprobe.c | 95 if (READ_ONCE(node->fp) != NULL) { in delete_fprobe_node() 96 WRITE_ONCE(node->fp, NULL); in delete_fprobe_node() 110 static bool is_fprobe_still_exist(struct fprobe *fp) in is_fprobe_still_exist() argument 115 head = &fprobe_table[hash_ptr(fp, FPROBE_HASH_BITS)]; in is_fprobe_still_exist() 118 if (fph->fp == fp) in is_fprobe_still_exist() 125 static int add_fprobe_hash(struct fprobe *fp) in add_fprobe_hash() argument 127 struct fprobe_hlist *fph = fp->hlist_array; in add_fprobe_hash() 135 if (is_fprobe_still_exist(fp)) in add_fprobe_hash() 138 head = &fprobe_table[hash_ptr(fp, FPROBE_HASH_BITS)]; in add_fprobe_hash() 139 hlist_add_head_rcu(&fp->hlist_array->hlist, head); in add_fprobe_hash() [all …]
|
| /linux/drivers/sbus/char/ |
| H A D | bbc_envctrl.c | 93 static void set_fan_speeds(struct bbc_fan_control *fp) in set_fan_speeds() argument 98 if (fp->cpu_fan_speed < FAN_SPEED_MIN) in set_fan_speeds() 99 fp->cpu_fan_speed = FAN_SPEED_MIN; in set_fan_speeds() 100 if (fp->cpu_fan_speed > FAN_SPEED_MAX) in set_fan_speeds() 101 fp->cpu_fan_speed = FAN_SPEED_MAX; in set_fan_speeds() 102 if (fp->system_fan_speed < FAN_SPEED_MIN) in set_fan_speeds() 103 fp->system_fan_speed = FAN_SPEED_MIN; in set_fan_speeds() 104 if (fp->system_fan_speed > FAN_SPEED_MAX) in set_fan_speeds() 105 fp->system_fan_speed = FAN_SPEED_MAX; in set_fan_speeds() 108 fp->index, in set_fan_speeds() [all …]
|
| /linux/tools/perf/ui/stdio/ |
| H A D | hist.c | 23 static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin) in callchain__fprintf_left_margin() argument 26 int ret = fprintf(fp, " "); in callchain__fprintf_left_margin() 32 ret += fprintf(fp, " "); in callchain__fprintf_left_margin() 37 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line() argument 41 size_t ret = callchain__fprintf_left_margin(fp, left_margin); in ipchain__fprintf_graph_line() 45 ret += fprintf(fp, "| "); in ipchain__fprintf_graph_line() 47 ret += fprintf(fp, " "); in ipchain__fprintf_graph_line() 49 ret += fprintf(fp, "\n"); in ipchain__fprintf_graph_line() 54 static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_node *node, in ipchain__fprintf_graph() argument 65 ret += callchain__fprintf_left_margin(fp, left_margin); in ipchain__fprintf_graph() [all …]
|
| /linux/include/linux/ |
| H A D | fprobe.h | 14 typedef int (*fprobe_entry_cb)(struct fprobe *fp, unsigned long entry_ip, 18 typedef void (*fprobe_exit_cb)(struct fprobe *fp, unsigned long entry_ip, 32 struct fprobe *fp; member 47 struct fprobe *fp; member 82 static inline bool fprobe_disabled(struct fprobe *fp) in fprobe_disabled() argument 84 return (fp) ? fp->flags & FPROBE_FL_DISABLED : false; in fprobe_disabled() 87 static inline bool fprobe_shared_with_kprobes(struct fprobe *fp) in fprobe_shared_with_kprobes() argument 89 return (fp) ? fp->flags & FPROBE_FL_KPROBE_SHARED : false; in fprobe_shared_with_kprobes() 93 int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter); 94 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num); [all …]
|
| /linux/arch/nios2/kernel/ |
| H A D | traps.c | 109 asmlinkage void breakpoint_c(struct pt_regs *fp) in breakpoint_c() argument 116 fp->ea -= 4; in breakpoint_c() 117 _exception(SIGTRAP, fp, TRAP_BRKPT, fp->ea); in breakpoint_c() 122 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) in handle_unaligned_c() argument 127 fp->ea -= 4; in handle_unaligned_c() 129 if (fixup_exception(fp)) in handle_unaligned_c() 132 if (!user_mode(fp)) { in handle_unaligned_c() 137 pr_alert(" op-code 0x%08lx\n", *(unsigned long *)(fp->ea)); in handle_unaligned_c() 138 show_regs(fp); in handle_unaligned_c() 142 _exception(SIGBUS, fp, BUS_ADRALN, addr); in handle_unaligned_c() [all …]
|
| H A D | process.c | 92 regs->ra, regs->fp, regs->sp, regs->gp); in show_regs() 152 void dump(struct pt_regs *fp) in dump() argument 174 pr_emerg("PC: %08lx\n", fp->ea); in dump() 176 (long) fp->estatus, (long) fp); in dump() 179 fp->r1, fp->r2, fp->r3); in dump() 182 fp->r4, fp->r5, fp->r6, fp->r7); in dump() 184 fp->r8, fp->r9, fp->r10, fp->r11); in dump() 186 fp->r12, fp->r13, fp->r14, fp->r15); in dump() 188 fp->orig_r2, fp->ra, fp->fp, fp->sp); in dump() 190 (unsigned int) fp->sp, (unsigned int) fp); in dump() [all …]
|
| H A D | misaligned.c | 51 static inline u32 get_reg_val(struct pt_regs *fp, int reg) in get_reg_val() argument 53 u8 *p = ((u8 *)fp) + reg_offsets[reg]; in get_reg_val() 57 static inline void put_reg_val(struct pt_regs *fp, int reg, u32 val) in put_reg_val() argument 59 u8 *p = ((u8 *)fp) + reg_offsets[reg]; in put_reg_val() 66 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) in handle_unaligned_c() argument 75 fp->ea -= 4; in handle_unaligned_c() 77 if (fixup_exception(fp)) { in handle_unaligned_c() 81 in_kernel = !user_mode(fp); in handle_unaligned_c() 83 isn = *(unsigned long *)(fp->ea); in handle_unaligned_c() 93 addr = get_reg_val(fp, a) + imm16; in handle_unaligned_c() [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_phonet.c | 202 struct f_phonet *fp = ep->driver_data; in pn_tx_complete() local 203 struct net_device *dev = fp->dev; in pn_tx_complete() 227 struct f_phonet *fp; in pn_net_xmit() local 235 fp = port->usb; in pn_net_xmit() 236 if (unlikely(!fp)) /* race with carrier loss */ in pn_net_xmit() 239 req = fp->in_req; in pn_net_xmit() 246 if (unlikely(usb_ep_queue(fp->in_ep, req, GFP_ATOMIC))) in pn_net_xmit() 295 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) in pn_rx_submit() argument 308 err = usb_ep_queue(fp->out_ep, req, gfp_flags); in pn_rx_submit() 316 struct f_phonet *fp = ep->driver_data; in pn_rx_complete() local [all …]
|
| /linux/drivers/net/fddi/skfp/ |
| H A D | fplustm.c | 170 smc->hw.fp.fifo.rbc_ram_start = 0 ; in init_ram() 171 smc->hw.fp.fifo.rbc_ram_end = in init_ram() 172 smc->hw.fp.fifo.rbc_ram_start + RBC_MEM_SIZE ; in init_ram() 174 MARW(smc->hw.fp.fifo.rbc_ram_start) ; in init_ram() 175 for (i = smc->hw.fp.fifo.rbc_ram_start; in init_ram() 176 i < (u_short) (smc->hw.fp.fifo.rbc_ram_end-1); i++) in init_ram() 190 outpw(FM_A(FM_RPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* RPR1 */ in set_recvptr() 191 outpw(FM_A(FM_SWPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* SWPR1 */ in set_recvptr() 192 outpw(FM_A(FM_WPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* WPR1 */ in set_recvptr() 193 outpw(FM_A(FM_EARV1),smc->hw.fp.fifo.tx_s_start-1) ; /* EARV1 */ in set_recvptr() [all …]
|
| /linux/tools/perf/util/ |
| H A D | evsel_fprintf.c | 20 static int comma_fprintf(FILE *fp, bool *first, const char *fmt, ...) in comma_fprintf() argument 26 ret += fprintf(fp, ","); in comma_fprintf() 28 ret += fprintf(fp, ":"); in comma_fprintf() 33 ret += vfprintf(fp, fmt, args); in comma_fprintf() 38 static int __print_attr__fprintf(FILE *fp, const char *name, const char *val, void *priv) in __print_attr__fprintf() argument 40 return comma_fprintf(fp, (bool *)priv, " %s: %s", name, val); in __print_attr__fprintf() 43 int evsel__fprintf(struct evsel *evsel, struct perf_attr_details *details, FILE *fp) in evsel__fprintf() argument 55 printed += fprintf(fp, "%s{", evsel->group_name ?: ""); in evsel__fprintf() 57 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf() 59 printed += fprintf(fp, ",%s", evsel__name(pos)); in evsel__fprintf() [all …]
|
| /linux/tools/perf/ |
| H A D | builtin-list.c | 36 FILE *fp; member 76 fprintf(print_state->fp, in default_print_start() 90 static void wordwrap(FILE *fp, const char *s, int start, int max, int corr) in wordwrap() argument 102 fprintf(fp, comma ? ",\n%*s" : "\n%*s", start, ""); in wordwrap() 107 n = fprintf(fp, "%s%.*s", sep, wlen, s); in wordwrap() 128 FILE *fp = print_state->fp; in default_print_event() local 147 fprintf(fp, "%s ", event_alias); in default_print_event() 149 fprintf(fp, "%s ", event_name); in default_print_event() 155 fprintf(fp, "\n%s:\n", topic); in default_print_event() 161 pos = fprintf(fp, " %s OR %s", event_name, event_alias); in default_print_event() [all …]
|
| /linux/arch/csky/kernel/ |
| H A D | ptrace.c | 465 void show_regs(struct pt_regs *fp) in show_regs() argument 483 pr_info("PC: 0x%08lx (%pS)\n", (long)fp->pc, (void *)fp->pc); in show_regs() 484 pr_info("LR: 0x%08lx (%pS)\n", (long)fp->lr, (void *)fp->lr); in show_regs() 485 pr_info("SP: 0x%08lx\n", (long)fp->usp); in show_regs() 486 pr_info("PSR: 0x%08lx\n", (long)fp->sr); in show_regs() 487 pr_info("orig_a0: 0x%08lx\n", fp->orig_a0); in show_regs() 488 pr_info("PT_REGS: 0x%08lx\n", (long)fp); in show_regs() 491 fp->a0, fp->a1, fp->a2, fp->a3); in show_regs() 494 fp->regs[0], fp->regs[1], fp->regs[2], fp->regs[3]); in show_regs() 496 fp->regs[4], fp->regs[5], fp->regs[6], fp->regs[7]); in show_regs() [all …]
|
| H A D | perf_callchain.c | 9 unsigned long fp; member 18 if (unlikely(frame->fp < low || frame->fp > high)) in unwind_frame_kernel() 21 if (kstack_end((void *)frame->fp) || frame->fp & 0x3) in unwind_frame_kernel() 24 *frame = *(struct stackframe *)frame->fp; in unwind_frame_kernel() 48 unsigned long fp, unsigned long reg_lr) in user_backtrace() argument 52 unsigned long __user *user_frame_tail = (unsigned long __user *)fp; in user_backtrace() 66 fp = buftail.fp; in user_backtrace() 69 return fp; in user_backtrace() 89 unsigned long fp = 0; in perf_callchain_user() local 91 fp = regs->regs[4]; in perf_callchain_user() [all …]
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_rport.c | 699 struct fc_frame *fp) in fc_rport_login_complete() argument 706 flogi = fc_frame_payload_get(fp, sizeof(*flogi)); in fc_rport_login_complete() 712 if (fc_frame_payload_op(fp) == ELS_FLOGI) { in fc_rport_login_complete() 738 static void fc_rport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_rport_flogi_resp() argument 749 IS_ERR(fp) ? "error" : fc_els_resp_type(fp)); in fc_rport_flogi_resp() 751 if (fp == ERR_PTR(-FC_EX_CLOSED)) in fc_rport_flogi_resp() 759 if (IS_ERR(fp)) in fc_rport_flogi_resp() 764 if (IS_ERR(fp)) { in fc_rport_flogi_resp() 765 fc_rport_error(rdata, PTR_ERR(fp)); in fc_rport_flogi_resp() 768 opcode = fc_frame_payload_op(fp); in fc_rport_flogi_resp() [all …]
|
| H A D | fc_lport.c | 156 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop() argument 158 fc_frame_free(fp); in fc_frame_drop() 403 static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_rlir_req() argument 410 fc_seq_els_rsp_send(fp, ELS_LS_ACC, NULL); in fc_lport_recv_rlir_req() 411 fc_frame_free(fp); in fc_lport_recv_rlir_req() 422 struct fc_frame *fp; in fc_lport_recv_echo_req() local 438 fp = fc_frame_alloc(lport, len); in fc_lport_recv_echo_req() 439 if (fp) { in fc_lport_recv_echo_req() 440 dp = fc_frame_payload_get(fp, len); in fc_lport_recv_echo_req() 443 fc_fill_reply_hdr(fp, in_fp, FC_RCTL_ELS_REP, 0); in fc_lport_recv_echo_req() [all …]
|
| H A D | fc_exch.c | 262 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr() argument 265 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_exch_setup_hdr() 268 fr_sof(fp) = ep->class; in fc_exch_setup_hdr() 270 fr_sof(fp) = fc_sof_normal(ep->class); in fc_exch_setup_hdr() 273 fr_eof(fp) = FC_EOF_T; in fc_exch_setup_hdr() 275 fr_eof(fp) = FC_EOF_N; in fc_exch_setup_hdr() 285 fill = fr_len(fp) & 3; in fc_exch_setup_hdr() 289 skb_put(fp_skb(fp), fill); in fc_exch_setup_hdr() 293 WARN_ON(fr_len(fp) % 4 != 0); /* no pad to non last frame */ in fc_exch_setup_hdr() 294 fr_eof(fp) = FC_EOF_N; in fc_exch_setup_hdr() [all …]
|
| H A D | fc_frame.c | 22 u32 fc_frame_crc_check(struct fc_frame *fp) in fc_frame_crc_check() argument 29 WARN_ON(!fc_frame_is_linear(fp)); in fc_frame_crc_check() 30 fr_flags(fp) &= ~FCPHF_CRC_UNCHECKED; in fc_frame_crc_check() 31 len = (fr_len(fp) + 3) & ~3; /* round up length to include fill */ in fc_frame_crc_check() 32 bp = (const u8 *) fr_hdr(fp); in fc_frame_crc_check() 34 error = crc ^ fr_crc(fp); in fc_frame_crc_check() 45 struct fc_frame *fp; in _fc_frame_alloc() local 55 fp = (struct fc_frame *) skb; in _fc_frame_alloc() 56 fc_frame_init(fp); in _fc_frame_alloc() 58 return fp; in _fc_frame_alloc() [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | stacktrace.c | 38 static inline int fp_is_valid(unsigned long fp, unsigned long sp) in fp_is_valid() argument 45 return !(fp < low || fp > high || fp & 0x07); in fp_is_valid() 51 unsigned long fp, sp, pc; in walk_stackframe() local 56 fp = frame_pointer(regs); in walk_stackframe() 60 fp = (unsigned long)__builtin_frame_address(0); in walk_stackframe() 66 fp = task->thread.s[0]; in walk_stackframe() 77 if (unlikely(!fp_is_valid(fp, sp))) in walk_stackframe() 81 frame = (struct stackframe *)fp - 1; in walk_stackframe() 82 sp = fp; in walk_stackframe() 85 fp = frame->ra; in walk_stackframe() [all …]
|
| /linux/drivers/comedi/drivers/ni_routing/tools/ |
| H A D | convert_c_to_py.c | 36 void family_write(const struct family_route_values *rv, FILE *fp) in family_write() argument 38 fprintf(fp, in family_write() 54 fprintf(fp, " %u : {\n", dest); in family_write() 75 fprintf(fp, " %u : \"%s(%u)\",\n", in family_write() 78 fprintf(fp, " },\n"); in family_write() 80 fprintf(fp, " },\n\n"); in family_write() 99 void device_write(const struct ni_device_routes *dR, FILE *fp) in device_write() argument 101 fprintf(fp, in device_write() 116 fprintf(fp, " %u : [", dR->routes[i].dest); in device_write() 128 fprintf(fp, "%u,", dR->routes[i].src[j]); in device_write() [all …]
|
| /linux/security/selinux/ss/ |
| H A D | policydb.c | 1005 static int mls_read_range_helper(struct mls_range *r, struct policy_file *fp) in mls_read_range_helper() argument 1011 rc = next_entry(buf, fp, sizeof(u32)); in mls_read_range_helper() 1022 rc = next_entry(buf, fp, sizeof(u32) * items); in mls_read_range_helper() 1034 rc = ebitmap_read(&r->level[0].cat, fp); in mls_read_range_helper() 1040 rc = ebitmap_read(&r->level[1].cat, fp); in mls_read_range_helper() 1065 struct policy_file *fp) in context_read_and_validate() argument 1070 rc = next_entry(buf, fp, sizeof buf); in context_read_and_validate() 1079 rc = mls_read_range_helper(&c->range, fp); in context_read_and_validate() 1103 int str_read(char **strp, gfp_t flags, struct policy_file *fp, u32 len) in str_read() argument 1115 rc = next_entry(str, fp, len); in str_read() [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | stacktrace.c | 50 unsigned long fp = frame->fp; in frame_pointer_check() local 68 if (fp < low + 4 || fp > high - 4) in frame_pointer_check() 71 if (fp < low + 12 || fp > high - 4) in frame_pointer_check() 80 unsigned long fp = frame->fp; in unwind_frame() local 108 frame->sp = frame->fp; in unwind_frame() 109 frame->fp = READ_ONCE_NOCHECK(*(unsigned long *)(fp)); in unwind_frame() 110 frame->pc = READ_ONCE_NOCHECK(*(unsigned long *)(fp + 4)); in unwind_frame() 112 frame->fp = READ_ONCE_NOCHECK(*(unsigned long *)(fp - 12)); in unwind_frame() 113 frame->sp = READ_ONCE_NOCHECK(*(unsigned long *)(fp - 8)); in unwind_frame() 114 frame->pc = READ_ONCE_NOCHECK(*(unsigned long *)(fp - 4)); in unwind_frame() [all …]
|