/linux-master/samples/cgroup/ |
H A D | memcg_event_listener.c | 102 FILE *fp = fopen(events->path, "re"); local 147 if (!fp) { 157 nread = getline(&line, &len, fp); 199 fclose(fp);
|
/linux-master/arch/loongarch/kernel/ |
H A D | rethook_trampoline.S | 28 cfi_st fp, PT_R22 63 cfi_ld fp, PT_R22
|
H A D | perf_event.c | 31 user_backtrace(struct perf_callchain_entry_ctx *entry, unsigned long fp) argument 37 user_frame_tail = (unsigned long __user *)(fp - sizeof(struct stack_frame)); 47 if (err || (unsigned long)user_frame_tail >= buftail.fp) 52 return buftail.fp; 58 unsigned long fp; local 67 fp = regs->regs[22]; 69 while (entry->nr < entry->max_stack && fp && !((unsigned long)fp & 0xf)) 70 fp = user_backtrace(entry, fp); [all...] |
/linux-master/tools/testing/selftests/mm/ |
H A D | vm_util.h | 40 bool check_for_pattern(FILE *fp, const char *pattern, char *buf, size_t len);
|
/linux-master/arch/arc/include/asm/ |
H A D | entry-compact.h | 248 PUSH fp 300 POP fp 332 PUSH fp 368 POP fp
|
/linux-master/arch/alpha/ |
H A D | Makefile | 15 cflags-y := -pipe -mno-fp-regs -ffixed-8
|
/linux-master/arch/alpha/lib/ |
H A D | fpreg.c | 30 val = current_thread_info()->fp[reg]; 85 current_thread_info()->fp[reg] = val; 140 LDT(0, current_thread_info()->fp[reg]); 197 STT(0, current_thread_info()->fp[reg]);
|
/linux-master/arch/sparc/kernel/ |
H A D | uprobes.c | 142 unsigned long fp = regs->u_regs[UREG_FP]; local 147 if (test_thread_64bit_stack(fp)) { 149 (unsigned long __user *) (fp + STACK_BIAS) + rd; 153 __user *) fp + rd;
|
/linux-master/drivers/tty/ |
H A D | n_tty.c | 1502 const u8 *fp, size_t count) 1513 if (fp) 1514 flag = *fp++; 1541 n_tty_receive_buf_raw(struct tty_struct *tty, const u8 *cp, const u8 *fp, argument 1548 if (fp) 1549 flag = *fp++; 1558 n_tty_receive_buf_closing(struct tty_struct *tty, const u8 *cp, const u8 *fp, argument 1564 if (fp) 1565 flag = *fp++; 1572 const u8 *fp, size_ 1501 n_tty_lookahead_flow_ctrl(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count) argument 1571 n_tty_receive_buf_standard(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count, bool lookahead_done) argument 1610 __receive_buf(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count) argument 1685 n_tty_receive_buf_common(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count, bool flow) argument 1766 n_tty_receive_buf(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count) argument 1772 n_tty_receive_buf2(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count) argument [all...] |
/linux-master/drivers/hid/ |
H A D | hid-roccat-koneplus.c | 81 static ssize_t koneplus_sysfs_read(struct file *fp, struct kobject *kobj, argument 106 static ssize_t koneplus_sysfs_write(struct file *fp, struct kobject *kobj, argument 130 static ssize_t koneplus_sysfs_write_ ## thingy(struct file *fp, \ 134 return koneplus_sysfs_write(fp, kobj, buf, off, count, \ 139 static ssize_t koneplus_sysfs_read_ ## thingy(struct file *fp, \ 143 return koneplus_sysfs_read(fp, kobj, buf, off, count, \ 185 static ssize_t koneplus_sysfs_read_profilex_settings(struct file *fp, argument 198 return koneplus_sysfs_read(fp, kobj, buf, off, count, 203 static ssize_t koneplus_sysfs_read_profilex_buttons(struct file *fp, argument 216 return koneplus_sysfs_read(fp, kob [all...] |
H A D | hid-roccat-kovaplus.c | 124 static ssize_t kovaplus_sysfs_read(struct file *fp, struct kobject *kobj, argument 149 static ssize_t kovaplus_sysfs_write(struct file *fp, struct kobject *kobj, argument 173 static ssize_t kovaplus_sysfs_write_ ## thingy(struct file *fp, \ 177 return kovaplus_sysfs_write(fp, kobj, buf, off, count, \ 182 static ssize_t kovaplus_sysfs_read_ ## thingy(struct file *fp, \ 186 return kovaplus_sysfs_read(fp, kobj, buf, off, count, \ 215 static ssize_t kovaplus_sysfs_read_profilex_settings(struct file *fp, argument 228 return kovaplus_sysfs_read(fp, kobj, buf, off, count, 233 static ssize_t kovaplus_sysfs_read_profilex_buttons(struct file *fp, argument 246 return kovaplus_sysfs_read(fp, kob [all...] |
/linux-master/tools/perf/util/ |
H A D | stat.c | 706 size_t perf_event__fprintf_stat(union perf_event *event, FILE *fp) argument 711 ret = fprintf(fp, "\n... id %" PRI_lu64 ", cpu %d, thread %d\n", 713 ret += fprintf(fp, "... value %" PRI_lu64 ", enabled %" PRI_lu64 ", running %" PRI_lu64 "\n", 719 size_t perf_event__fprintf_stat_round(union perf_event *event, FILE *fp) argument 724 ret = fprintf(fp, "\n... time %" PRI_lu64 ", type %s\n", rd->time, 730 size_t perf_event__fprintf_stat_config(union perf_event *event, FILE *fp) argument 737 ret = fprintf(fp, "\n"); 738 ret += fprintf(fp, "... aggr_mode %d\n", sc.aggr_mode); 739 ret += fprintf(fp, "... scale %d\n", sc.scale); 740 ret += fprintf(fp, " [all...] |
H A D | header.c | 661 FILE *fp; local 666 fp = fopen("/proc/meminfo", "r"); 667 if (!fp) 670 while (getline(&buf, &len, fp) > 0) { 682 fclose(fp); 1645 static void print_hostname(struct feat_fd *ff, FILE *fp) argument 1647 fprintf(fp, "# hostname : %s\n", ff->ph->env.hostname); 1650 static void print_osrelease(struct feat_fd *ff, FILE *fp) argument 1652 fprintf(fp, "# os release : %s\n", ff->ph->env.os_release); 1655 static void print_arch(struct feat_fd *ff, FILE *fp) argument 1660 print_cpudesc(struct feat_fd *ff, FILE *fp) argument 1665 print_nrcpus(struct feat_fd *ff, FILE *fp) argument 1671 print_version(struct feat_fd *ff, FILE *fp) argument 1676 print_cmdline(struct feat_fd *ff, FILE *fp) argument 1705 print_cpu_topology(struct feat_fd *ff, FILE *fp) argument 1762 print_clockid(struct feat_fd *ff, FILE *fp) argument 1768 print_clock_data(struct feat_fd *ff, FILE *fp) argument 1811 print_hybrid_topology(struct feat_fd *ff, FILE *fp) argument 1823 print_dir_format(struct feat_fd *ff, FILE *fp) argument 1835 print_bpf_prog_info(struct feat_fd *ff, FILE *fp) argument 1859 print_bpf_btf(struct feat_fd *ff, FILE *fp) argument 2012 __desc_attr__fprintf(FILE *fp, const char *name, const char *val, void *priv __maybe_unused) argument 2018 print_event_desc(struct feat_fd *ff, FILE *fp) argument 2056 print_total_mem(struct feat_fd *ff, FILE *fp) argument 2061 print_numa_topology(struct feat_fd *ff, FILE *fp) argument 2078 print_cpuid(struct feat_fd *ff, FILE *fp) argument 2083 print_branch_stack(struct feat_fd *ff __maybe_unused, FILE *fp) argument 2088 print_auxtrace(struct feat_fd *ff __maybe_unused, FILE *fp) argument 2093 print_stat(struct feat_fd *ff __maybe_unused, FILE *fp) argument 2109 print_compressed(struct feat_fd *ff, FILE *fp) argument 2116 __print_pmu_caps(FILE *fp, int nr_caps, char **caps, char *pmu_name) argument 2135 print_cpu_pmu_caps(struct feat_fd *ff, FILE *fp) argument 2141 print_pmu_caps(struct feat_fd *ff, FILE *fp) argument 2160 print_pmu_mappings(struct feat_fd *ff, FILE *fp) argument 2196 print_group_desc(struct feat_fd *ff, FILE *fp) argument 2218 print_sample_time(struct feat_fd *ff, FILE *fp) argument 2240 memory_node__fprintf(struct memory_node *n, unsigned long long bsize, FILE *fp) argument 2253 print_mem_topology(struct feat_fd *ff, FILE *fp) argument 3471 FILE *fp; member in struct:header_print_data 3508 perf_header__fprintf_info(struct perf_session *session, FILE *fp, bool full) argument 4372 perf_event__fprintf_event_update(union perf_event *event, FILE *fp) argument [all...] |
H A D | machine.h | 213 size_t machine__fprintf(struct machine *machine, FILE *fp); 236 size_t machine__fprintf_dsos_buildid(struct machine *machine, FILE *fp, 238 size_t machines__fprintf_dsos(struct machines *machines, FILE *fp); 239 size_t machines__fprintf_dsos_buildid(struct machines *machines, FILE *fp, 249 size_t machine__fprintf_vmlinux_path(struct machine *machine, FILE *fp);
|
/linux-master/tools/power/pm-graph/ |
H A D | bootgraph.py | 75 fp = open('/proc/version', 'r') 76 self.kernel = self.kernelVersion(fp.read().strip()) 77 fp.close() 129 fp = open(self.tpath+'available_filter_functions') 130 fulllist = fp.read().split('\n') 131 fp.close() 200 fp = open(filename, 'w') 201 fp.write(self.teststamp+'\n') 202 fp.write(self.sysstamp+'\n') 203 fp [all...] |
/linux-master/include/linux/ |
H A D | kprobes.h | 170 void *fp; 556 unsigned long kretprobe_find_ret_addr(struct task_struct *tsk, void *fp, argument 559 return rethook_find_ret_addr(tsk, (unsigned long)fp, cur); 567 unsigned long kretprobe_find_ret_addr(struct task_struct *tsk, void *fp, 577 unsigned long kretprobe_find_ret_addr(struct task_struct *tsk, void *fp, argument
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | file_ops.c | 34 static int hfi1_file_open(struct inode *inode, struct file *fp); 35 static int hfi1_file_close(struct inode *inode, struct file *fp); 37 static __poll_t hfi1_poll(struct file *fp, struct poll_table_struct *pt); 38 static int hfi1_file_mmap(struct file *fp, struct vm_area_struct *vma); 65 static __poll_t poll_urgent(struct file *fp, struct poll_table_struct *pt); 66 static __poll_t poll_next(struct file *fp, struct poll_table_struct *pt); 74 static long hfi1_file_ioctl(struct file *fp, unsigned int cmd, 146 static int hfi1_file_open(struct inode *inode, struct file *fp) argument 170 fp->private_data = fd; 174 fp 180 hfi1_file_ioctl(struct file *fp, unsigned int cmd, unsigned long arg) argument 318 hfi1_file_mmap(struct file *fp, struct vm_area_struct *vma) argument 609 hfi1_poll(struct file *fp, struct poll_table_struct *pt) argument 627 hfi1_file_close(struct inode *inode, struct file *fp) argument 1437 poll_urgent(struct file *fp, struct poll_table_struct *pt) argument 1460 poll_next(struct file *fp, struct poll_table_struct *pt) argument [all...] |
/linux-master/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 962 FILE *fp; local 969 fp = fopen(pathname, "w"); 970 if (!fp) { 977 retval = fprintf(fp, "%d", khz); 984 fclose(fp); 1233 FILE *fp; local 1240 fp = fopen_or_die(pathname, "r"); 1241 retval = fscanf(fp, "%d\n", &pkg); 1244 fclose(fp); 1282 FILE *fp; local [all...] |
/linux-master/drivers/scsi/ |
H A D | mac53c94.c | 513 struct fsc_state *fp = (struct fsc_state *)macio_get_drvdata(mdev); local 514 struct Scsi_Host *host = fp->host; 518 free_irq(fp->intr, fp); 520 if (fp->regs) 521 iounmap(fp->regs); 522 if (fp->dma) 523 iounmap(fp->dma); 524 kfree(fp->dma_cmd_space);
|
/linux-master/arch/arm/kernel/ |
H A D | traps.c | 221 unsigned int fp, mode; local 230 fp = frame_pointer(regs); 233 fp = thread_saved_fp(tsk); 236 asm("mov %0, fp" : "=r" (fp) : : "cc"); 240 if (!fp) { 243 } else if (verify_stack(fp)) { 244 pr_cont("invalid frame pointer 0x%08x", fp); 246 } else if (fp < (unsigned long)end_of_stack(tsk)) 251 c_backtrace(fp, mod [all...] |
/linux-master/tools/testing/selftests/user_events/ |
H A D | ftrace_test.c | 53 static int skip_until_empty_line(FILE *fp) argument 58 c = getc(fp); 74 FILE *fp = fopen(fmt_file, "r"); local 77 if (!fp) 81 if (skip_until_empty_line(fp) < 0) 85 if (skip_until_empty_line(fp) < 0) 89 if (fgets(buffer, len, fp) == NULL) 97 fclose(fp); 101 fclose(fp);
|
/linux-master/net/core/ |
H A D | filter.c | 348 static bool convert_bpf_extensions(struct sock_filter *fp, argument 354 switch (fp->k) { 381 if (fp->k == SKF_AD_OFF + SKF_AD_IFINDEX) 440 switch (fp->k) { 478 static bool convert_bpf_ld_abs(struct sock_filter *fp, struct bpf_insn **insnp) argument 481 int size = bpf_size_to_bytes(BPF_SIZE(fp->code)); 482 bool endian = BPF_SIZE(fp->code) == BPF_H || 483 BPF_SIZE(fp->code) == BPF_W; 484 bool indirect = BPF_MODE(fp->code) == BPF_IND; 487 int offset = fp 573 struct sock_filter *fp; local 1141 bpf_prog_store_orig_filter(struct bpf_prog *fp, const struct sock_fprog *fprog) argument 1164 bpf_release_orig_filter(struct bpf_prog *fp) argument 1184 __sk_filter_release(struct sk_filter *fp) argument 1196 struct sk_filter *fp = container_of(rcu, struct sk_filter, rcu); local 1207 sk_filter_release(struct sk_filter *fp) argument 1213 sk_filter_uncharge(struct sock *sk, struct sk_filter *fp) argument 1224 __sk_filter_charge(struct sock *sk, struct sk_filter *fp) argument 1238 sk_filter_charge(struct sock *sk, struct sk_filter *fp) argument 1250 bpf_migrate_filter(struct bpf_prog *fp) argument 1320 bpf_prepare_filter(struct bpf_prog *fp, bpf_aux_classic_check_t trans) argument 1372 struct bpf_prog *fp; local 1418 struct bpf_prog *fp; local 1457 bpf_prog_destroy(struct bpf_prog *fp) argument 1465 struct sk_filter *fp, *old_fp; local [all...] |
/linux-master/drivers/net/wireless/ti/wl1251/ |
H A D | main.c | 721 struct wl1251_filter_params *fp; local 728 fp = kzalloc(sizeof(*fp), GFP_ATOMIC); 729 if (!fp) { 735 fp->mc_list_length = 0; 737 fp->enabled = false; 739 fp->enabled = true; 741 memcpy(fp->mc_list[fp->mc_list_length], 743 fp 761 struct wl1251_filter_params *fp = (void *)(unsigned long)multicast; local [all...] |
/linux-master/drivers/char/ |
H A D | apm-emulation.c | 203 static ssize_t apm_read(struct file *fp, char __user *buf, size_t count, loff_t *ppos) argument 205 struct apm_user *as = fp->private_data; 212 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) 240 static __poll_t apm_poll(struct file *fp, poll_table * wait) argument 242 struct apm_user *as = fp->private_data; 244 poll_wait(fp, &apm_waitqueue, wait);
|
/linux-master/tools/power/cpupower/utils/ |
H A D | cpufreq-info.c | 25 FILE *fp; local 30 fp = fopen("/proc/stat", "r"); 31 if (!fp) { 36 while (!feof(fp)) { 37 if (!fgets(value, LINE_LEN, fp)) 49 fclose(fp);
|