Home
last modified time | relevance | path

Searched full:fp (Results 1 – 25 of 1111) sorted by relevance

12345678910>>...45

/linux/fs/smb/server/
H A Dvfs_cache.c72 struct ksmbd_file *fp = NULL; in proc_show_files() local
82 idr_for_each_entry(global_ft.idr, fp, id) { in proc_show_files()
84 fp->tcon->id, in proc_show_files()
85 fp->persistent_id, in proc_show_files()
86 fp->volatile_id, in proc_show_files()
87 atomic_read(&fp->refcount)); in proc_show_files()
90 opinfo = rcu_dereference(fp->f_opinfo); in proc_show_files()
114 le32_to_cpu(fp->daccess), in proc_show_files()
115 le32_to_cpu(fp->saccess), in proc_show_files()
116 fp->filp->f_path.dentry->d_name.name); in proc_show_files()
[all …]
/linux/drivers/s390/char/
H A Dfs3270.c52 static inline int fs3270_working(struct fs3270 *fp) in fs3270_working() argument
58 return fp->active && raw3270_request_final(fp->init); in fs3270_working()
63 struct fs3270 *fp; in fs3270_do_io() local
66 fp = (struct fs3270 *)view; in fs3270_do_io()
68 rq->callback_data = &fp->wait; in fs3270_do_io()
71 if (!fs3270_working(fp)) { in fs3270_do_io()
73 rc = wait_event_interruptible(fp->wait, in fs3270_do_io()
74 fs3270_working(fp)); in fs3270_do_io()
81 wait_event(fp->wait, raw3270_request_final(rq)); in fs3270_do_io()
92 struct fs3270 *fp; in fs3270_reset_callback() local
[all …]
H A Dhmcdrv_dev.c41 static int hmcdrv_dev_open(struct inode *inode, struct file *fp);
42 static int hmcdrv_dev_release(struct inode *inode, struct file *fp);
43 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence);
44 static ssize_t hmcdrv_dev_read(struct file *fp, char __user *ubuf,
46 static ssize_t hmcdrv_dev_write(struct file *fp, const char __user *ubuf,
67 static int hmcdrv_dev_open(struct inode *inode, struct file *fp) in hmcdrv_dev_open() argument
73 if (fp->f_flags & O_NONBLOCK) in hmcdrv_dev_open()
79 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) in hmcdrv_dev_open()
88 fp->private_data = NULL; /* no command yet */ in hmcdrv_dev_open()
93 pr_debug("open file '/dev/%pD' with return code %d\n", fp, rc); in hmcdrv_dev_open()
[all …]
/linux/sound/usb/
H A Dformat.c27 * @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->altsetting); in parse_audio_format_i_type()
107 fp->iface, fp->altsetting, in parse_audio_format_i_type()
116 if (snd_usb_is_big_endian_format(chip, fp)) in parse_audio_format_i_type()
[all …]
H A Dstream.c31 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->list, &subs->fmt_list); in snd_usb_init_substream()
[all …]
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_main.c42 static int fun_port_write_cmds(struct funeth_priv *fp, unsigned int n, in fun_port_write_cmds() argument
61 fp->netdev->dev_port); in fun_port_write_cmds()
66 return fun_submit_admin_sync_cmd(fp->fdev, &cmd.req.common, in fun_port_write_cmds()
70 int fun_port_write_cmd(struct funeth_priv *fp, int key, u64 data) in fun_port_write_cmd() argument
72 return fun_port_write_cmds(fp, 1, &key, &data); in fun_port_write_cmd()
76 static int fun_port_read_cmds(struct funeth_priv *fp, unsigned int n, in fun_port_read_cmds() argument
97 fp->netdev->dev_port); in fun_port_read_cmds()
101 rc = fun_submit_admin_sync_cmd(fp->fdev, &cmd.req.common, in fun_port_read_cmds()
108 dev_dbg(fp->fdev->dev, in fun_port_read_cmds()
110 fp->lport, r48rsp->key_to_data, keys[i], data[i], in fun_port_read_cmds()
[all …]
/linux/include/scsi/
H A Dfc_frame.h50 #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 Dfprobe.c37 * When unregistering the fprobe, fprobe_hlist::fp and fprobe_hlist::array[*].fp
82 static int __insert_fprobe_node(struct fprobe_hlist_node *node, struct fprobe *fp) in __insert_fprobe_node() argument
91 WRITE_ONCE(node->fp, fp); in __insert_fprobe_node()
100 if (READ_ONCE(node->fp) != NULL) { in __delete_fprobe_node()
101 WRITE_ONCE(node->fp, NULL); in __delete_fprobe_node()
108 static bool fprobe_registered(struct fprobe *fp) in fprobe_registered() argument
113 head = &fprobe_table[hash_ptr(fp, FPROBE_HASH_BITS)]; in fprobe_registered()
116 if (fph->fp == fp) in fprobe_registered()
123 static int add_fprobe_hash(struct fprobe *fp) in add_fprobe_hash() argument
125 struct fprobe_hlist *fph = fp->hlist_array; in add_fprobe_hash()
[all …]
/linux/tools/perf/ui/stdio/
H A Dhist.c23 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 Dfprobe.h14 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,
26 * @addr: One of the probing address of @fp.
27 * @fp: The fprobe which owns this.
32 struct fprobe *fp; member
40 * @fp: The fprobe which owns this fprobe_hlist.
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
[all …]
/linux/tools/perf/util/
H A Devsel_fprintf.c20 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/drivers/sbus/char/
H A Dbbc_envctrl.c93 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/thermal/tmon/
H A Dtmon.84 \fBtmon\fP - A monitoring and testing tool for Linux kernel thermal subsystem
12 \fBtmon \fP can be used to visualize thermal relationship and
15 analysis and plot. \fBtmon\fP must be run as root in order to control device
18 \fBFunctions\fP
32 - with a built-in Proportional Integral Derivative (\fBPID\fP)
46 The \fB-c --control\fP option sets a cooling device type to control temperature
49 The \fB-d --daemon\fP option runs \fBtmon \fP as daemon without user interface
51 The \fB-g --debug\fP option allow debug messages to be stored in syslog
53 The \fB-h --help\fP option shows help message
55 The \fB-l --log\fP option write data to /var/tmp/tmon.log
[all …]
/linux/tools/power/x86/turbostat/
H A Dturbostat.814 \fBturbostat \fP reports processor topology, frequency,
18 \fBcommand\fP, which is forked and statistics are printed
29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attribute is required, all others are optional.
31 location: {\fBmsrDDD\fP | \fBmsr0xXXX\fP | \fB/sys/path...\fP | \fBperf/<device>/<event>\fP}
42 scope: {\fBcpu\fP | \fBcore\fP | \fBpackage\fP}
[all...]
/linux/tools/perf/
H A Dbuiltin-list.c35 /** @fp: File to write output to. */
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()
[all …]
/linux/security/selinux/ss/
H A Dpolicydb.c1004 static int mls_read_range_helper(struct mls_range *r, struct policy_file *fp) in mls_read_range_helper() argument
1010 rc = next_entry(buf, fp, sizeof(u32)); in mls_read_range_helper()
1021 rc = next_entry(buf, fp, sizeof(u32) * items); in mls_read_range_helper()
1033 rc = ebitmap_read(&r->level[0].cat, fp); in mls_read_range_helper()
1039 rc = ebitmap_read(&r->level[1].cat, fp); in mls_read_range_helper()
1064 struct policy_file *fp) in context_read_and_validate() argument
1069 rc = next_entry(buf, fp, sizeof buf); in context_read_and_validate()
1078 rc = mls_read_range_helper(&c->range, fp); in context_read_and_validate()
1102 int str_read(char **strp, gfp_t flags, struct policy_file *fp, u32 len) in str_read() argument
1114 rc = next_entry(str, fp, len); in str_read()
[all …]
/linux/arch/nios2/kernel/
H A Dtraps.c109 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 Dprocess.c91 pr_notice("ra: %08lx fp: %08lx sp: %08lx gp: %08lx\n", in show_regs()
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()
187 pr_emerg("or2: %08lx ra: %08lx fp: %08lx sp: %08lx\n", in dump()
[all …]
/linux/arch/arm/kernel/
H A Dstacktrace.c22 * stmdb sp!, {fp, ip, lr, pc}
23 * sub fp, ip, #4
26 * ldm sp, {fp, sp, pc}
31 * stmdb {..., fp, lr}
32 * add fp, sp, #x
37 * sub sp, fp, #x
38 * ldm {..., fp, pc}
50 unsigned long fp = frame->fp; in frame_pointer_check() local
55 * stack to another, with FP and SP pointing to different stacks, in frame_pointer_check()
56 * skipping the FP boundary check at this point. in frame_pointer_check()
[all …]
/linux/kernel/time/
H A Dposix-clock.c18 * Returns NULL if the posix_clock instance attached to 'fp' is old and stale.
20 static struct posix_clock *get_posix_clock(struct file *fp) in get_posix_clock() argument
22 struct posix_clock_context *pccontext = fp->private_data; in get_posix_clock()
40 static ssize_t posix_clock_read(struct file *fp, char __user *buf, in posix_clock_read() argument
43 struct posix_clock_context *pccontext = fp->private_data; in posix_clock_read()
44 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_read()
51 err = clk->ops.read(pccontext, fp->f_flags, buf, count); in posix_clock_read()
58 static __poll_t posix_clock_poll(struct file *fp, poll_table *wait) in posix_clock_poll() argument
60 struct posix_clock_context *pccontext = fp->private_data; in posix_clock_poll()
61 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_poll()
[all …]
/linux/drivers/scsi/libfc/
H A Dfc_lport.c154 * @fp: The received frame
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()
401 * @fp: The RLIR request frame
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()
[all …]
H A Dfc_rport.c691 * @fp: The FLOGI or PLOGI request or response frame
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()
735 * @fp: The FLOGI response frame
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()
[all …]
/linux/tools/thermal/thermometer/
H A Dthermometer.84 \fBthermometer\fP - A thermal profiling tool
13 \fBthermometer \fP captures the thermal zones temperature at a
31 Without any parameters, \fBthermometer \fP captures all the thermal
35 If a running \fBduration\fP is specified or a \fBcommand\fP, the
37 finished before. The \fBduration\fP can be specified alone as well as
38 the \fBcommand\fP. If none is specified, the capture will continue
39 indefinitively until interrupted by \fBSIGINT\fP or \fBSIGQUIT\fP.
44 The \fB-h, --help\fP option shows a short usage help
46 The \fB-o <dir>, --output <dir>\fP option defines the output directory to put the
49 The \fB-c <config>, --config <config>\fP option specifies the configuration file to use
[all …]
/linux/drivers/net/fddi/skfp/
H A Dfplustm.c170 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/arch/csky/kernel/
H A Dperf_callchain.c9 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()
79 * $ perf record -e cpu-clock --call-graph fp ./program
89 unsigned long fp = 0; in perf_callchain_user() local
[all …]

12345678910>>...45