/linux-master/include/linux/ |
H A D | filter.h | 890 static inline void bpf_prog_lock_ro(struct bpf_prog *fp) argument 893 if (!fp->jited) { 894 set_vm_flush_reset_perms(fp); 895 set_memory_ro((unsigned long)fp, fp->pages); 912 struct bpf_prog *bpf_prog_select_runtime(struct bpf_prog *fp, int *err); 913 void bpf_prog_free(struct bpf_prog *fp); 926 void __bpf_prog_free(struct bpf_prog *fp); 928 static inline void bpf_prog_unlock_free(struct bpf_prog *fp) argument 930 __bpf_prog_free(fp); 1080 bpf_prog_kallsyms_verify_off(const struct bpf_prog *fp) argument 1133 bpf_prog_ebpf_jited(const struct bpf_prog *fp) argument 1204 bpf_prog_ebpf_jited(const struct bpf_prog *fp) argument 1216 bpf_jit_free(struct bpf_prog *fp) argument 1256 bpf_prog_kallsyms_add(struct bpf_prog *fp) argument 1260 bpf_prog_kallsyms_del(struct bpf_prog *fp) argument [all...] |
/linux-master/security/selinux/ss/ |
H A D | ebitmap.c | 362 int ebitmap_read(struct ebitmap *e, void *fp) argument 374 rc = next_entry(buf, fp, sizeof buf); 402 rc = next_entry(&ebitmap_start, fp, sizeof(u32)); 445 rc = next_entry(&mapbits, fp, sizeof(u64)); 469 int ebitmap_write(const struct ebitmap *e, void *fp) argument 493 rc = put_entry(buf, sizeof(u32), 3, fp); 513 rc = put_entry(buf, sizeof(u32), 1, fp); 518 rc = put_entry(buf64, sizeof(u64), 1, fp); 534 rc = put_entry(buf, sizeof(u32), 1, fp); 539 rc = put_entry(buf64, sizeof(u64), 1, fp); [all...] |
/linux-master/drivers/scsi/fcoe/ |
H A D | fcoe.c | 879 * @fp: The I/O frame 895 static bool fcoe_oem_match(struct fc_frame *fp) argument 897 struct fc_frame_header *fh = fc_frame_header_get(fp); 900 if (fc_fcp_is_read(fr_fsp(fp)) && 901 (fr_fsp(fp)->data_len > fcoe_ddp_min)) 903 else if ((fr_fsp(fp) == NULL) && 906 fcp = fc_frame_payload_get(fp, sizeof(*fcp)); 1466 * @fp: The frame to be transmitted 1470 static int fcoe_xmit(struct fc_lport *lport, struct fc_frame *fp) argument 1487 WARN_ON((fr_len(fp) 1602 fcoe_filter_frames(struct fc_lport *lport, struct fc_frame *fp) argument 1653 struct fc_frame *fp; local 2559 fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 2588 fcoe_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument 2607 fcoe_elsct_send(struct fc_lport *lport, u32 did, struct fc_frame *fp, unsigned int op, void (*resp)(struct fc_seq *, struct fc_frame *, void *), void *arg, u32 timeout) argument 2773 struct fc_frame *fp; local 2815 fcoe_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | unpriv_bpf_disabled.c | 41 FILE *fp; local 43 fp = fopen(sysctl_path, "r+"); 44 if (!fp) 46 if (old_val && fscanf(fp, "%s", old_val) <= 0) { 49 fseek(fp, 0, SEEK_SET); 50 if (fprintf(fp, "%s", new_val) < 0) 53 fclose(fp);
|
/linux-master/arch/s390/net/ |
H A D | bpf_jit_comp.c | 327 if (!fp->aux->verifier_zext) { \ 551 static void bpf_jit_prologue(struct bpf_jit *jit, struct bpf_prog *fp, argument 559 if (!bpf_is_subprog(fp)) { 696 static int bpf_jit_probe_mem(struct bpf_jit *jit, struct bpf_prog *fp, argument 705 if (!fp->aux->extable) 717 if (WARN_ON_ONCE(jit->excnt >= fp->aux->num_exentries)) 720 ex = &fp->aux->extable[jit->excnt]; 778 static noinline int bpf_jit_insn(struct bpf_jit *jit, struct bpf_prog *fp, argument 781 struct bpf_insn *insn = &fp->insnsi[i]; 1326 if (!fp 1953 bpf_jit_prog(struct bpf_jit *jit, struct bpf_prog *fp, bool extra_pass, u32 stack_depth) argument 2006 bpf_jit_alloc(struct bpf_jit *jit, struct bpf_prog *fp) argument 2032 bpf_int_jit_compile(struct bpf_prog *fp) argument [all...] |
/linux-master/fs/nfsd/ |
H A D | nfs4state.c | 85 static bool check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner); 588 struct nfs4_file *fp = container_of(rcu, struct nfs4_file, fi_rcu); local 590 kmem_cache_free(file_slab, fp); 737 * the current deny mode of the file 'fp'. 740 * current access of the file 'fp'. 749 nfs4_resolve_deny_conflicts_locked(struct nfs4_file *fp, bool new_stp, argument 758 lockdep_assert_held(&fp->fi_lock); 759 list_for_each_entry(st, &fp->fi_stateids, st_perfile) { 784 __nfs4_file_get_access(struct nfs4_file *fp, u32 access) argument 786 lockdep_assert_held(&fp 795 nfs4_file_get_access(struct nfs4_file *fp, u32 access) argument 811 nfs4_file_check_deny(struct nfs4_file *fp, u32 deny) argument 830 __nfs4_file_put_access(struct nfs4_file *fp, int oflag) argument 849 nfs4_file_put_access(struct nfs4_file *fp, u32 access) argument 882 struct nfs4_file *fp = co->co_file; local 898 struct nfs4_file *fp; local 914 find_or_hash_clnt_odstate(struct nfs4_file *fp, struct nfs4_clnt_odstate *new) argument 1160 alloc_init_deleg(struct nfs4_client *clp, struct nfs4_file *fp, struct nfs4_clnt_odstate *odstate, u32 dl_type) argument 1209 struct nfs4_file *fp = s->sc_file; local 1240 put_deleg_file(struct nfs4_file *fp) argument 1255 struct nfs4_file *fp = dp->dl_stid.sc_file; local 1281 nfs4_delegation_exists(struct nfs4_client *clp, struct nfs4_file *fp) argument 1312 hash_delegation_locked(struct nfs4_delegation *dp, struct nfs4_file *fp) argument 1337 struct nfs4_file *fp = dp->dl_stid.sc_file; local 1409 recalculate_deny_mode(struct nfs4_file *fp) argument 1443 struct nfs4_file *fp = stp->st_stid.sc_file; local 1482 struct nfs4_file *fp = stp->st_stid.sc_file; local 1589 struct nfs4_file *fp; local 4546 nfsd4_file_init(const struct svc_fh *fh, struct nfs4_file *fp) argument 4741 nfsd4_find_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) argument 4854 nfsd4_find_and_lock_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) argument 4900 init_open_stateid(struct nfs4_file *fp, struct nfsd4_open *open) argument 5074 struct nfs4_file *fp; local 5206 struct nfs4_file *fp = dp->dl_stid.sc_file; local 5478 nfs4_get_vfs_file(struct svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct nfsd4_open *open, bool new_stp) argument 5566 nfs4_upgrade_open(struct svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct nfsd4_open *open) argument 5632 nfsd4_check_conflicting_opens(struct nfs4_client *clp, struct nfs4_file *fp) argument 5697 nfsd4_verify_deleg_dentry(struct nfsd4_open *open, struct nfs4_file *fp, struct svc_fh *parent) argument 5742 struct nfs4_file *fp = stp->st_stid.sc_file; local 6028 struct nfs4_file *fp = NULL; local 7695 init_lock_stateid(struct nfs4_ol_stateid *stp, struct nfs4_lockowner *lo, struct nfs4_file *fp, struct inode *inode, struct nfs4_ol_stateid *open_stp) argument 7782 struct nfs4_file *fp = lock_stp->st_stid.sc_file; local 7846 struct nfs4_file *fp; local 8271 check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner) argument [all...] |
/linux-master/drivers/scsi/fnic/ |
H A D | fnic_fcs.c | 194 struct fc_frame *fp; local 204 fp = (struct fc_frame *)skb; 218 fc_exch_recv(lp, fp); 661 struct fc_frame *fp; local 699 fp = (struct fc_frame *)skb; 700 fc_frame_init(fp); 701 fr_sof(fp) = fcoe_hdr->fcoe_sof; 706 fr_eof(fp) = ft->fcoe_eof; 757 * @fp: received frame containing the FLOGI accept or NULL. 765 * If the FC_ID is due to point-to-point, fp ma 767 fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument 830 struct fc_frame *fp; local 1002 struct fc_frame *fp = buf->os_buf; local 1071 fnic_send_frame(struct fnic *fnic, struct fc_frame *fp) argument 1158 fnic_send(struct fc_lport *lp, struct fc_frame *fp) argument 1197 struct fc_frame *fp; local 1248 struct fc_frame *fp = (struct fc_frame *)skb; local 1291 struct fc_frame *fp = buf->os_buf; local [all...] |
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | debugfs.c | 943 static int __i2c_debugfs_open(struct inode *in, struct file *fp, u32 target) argument 947 ppd = private2ppd(fp); 952 static int i2c1_debugfs_open(struct inode *in, struct file *fp) argument 954 return __i2c_debugfs_open(in, fp, 0); 957 static int i2c2_debugfs_open(struct inode *in, struct file *fp) argument 959 return __i2c_debugfs_open(in, fp, 1); 962 static int __i2c_debugfs_release(struct inode *in, struct file *fp, u32 target) argument 966 ppd = private2ppd(fp); 973 static int i2c1_debugfs_release(struct inode *in, struct file *fp) argument 975 return __i2c_debugfs_release(in, fp, 978 i2c2_debugfs_release(struct inode *in, struct file *fp) argument 983 __qsfp_debugfs_open(struct inode *in, struct file *fp, u32 target) argument 992 qsfp1_debugfs_open(struct inode *in, struct file *fp) argument 997 qsfp2_debugfs_open(struct inode *in, struct file *fp) argument 1002 __qsfp_debugfs_release(struct inode *in, struct file *fp, u32 target) argument 1013 qsfp1_debugfs_release(struct inode *in, struct file *fp) argument 1018 qsfp2_debugfs_release(struct inode *in, struct file *fp) argument 1075 exprom_wp_debugfs_open(struct inode *in, struct file *fp) argument 1083 exprom_wp_debugfs_release(struct inode *in, struct file *fp) argument [all...] |
/linux-master/tools/perf/util/ |
H A D | map.c | 432 size_t map__fprintf(struct map *map, FILE *fp) argument 436 return fprintf(fp, " %" PRIx64 "-%" PRIx64 " %" PRIx64 " %s\n", 447 static size_t __map__fprintf_dsoname(struct map *map, bool print_off, FILE *fp) argument 465 return fprintf(fp, "%s", dsoname); 468 size_t map__fprintf_dsoname(struct map *map, FILE *fp) argument 470 return __map__fprintf_dsoname(map, false, fp); 473 size_t map__fprintf_dsoname_dsoff(struct map *map, bool print_off, u64 addr, FILE *fp) argument 480 printed += fprintf(fp, " ("); 481 printed += __map__fprintf_dsoname(map, print_off, fp); 483 printed += fprintf(fp, " 497 map__fprintf_srcline(struct map *map, u64 addr, const char *prefix, FILE *fp) argument [all...] |
H A D | symbol.h | 162 bool print_offsets, FILE *fp); 164 const struct addr_location *al, FILE *fp); 167 bool unknown_as_addr, FILE *fp); 168 size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp); 169 size_t symbol__fprintf(struct symbol *sym, FILE *fp);
|
H A D | header.h | 106 void (*print)(struct feat_fd *ff, FILE *fp); 155 int perf_header__fprintf_info(struct perf_session *s, FILE *fp, bool full); 164 size_t perf_event__fprintf_event_update(union perf_event *event, FILE *fp);
|
/linux-master/drivers/net/fddi/skfp/ |
H A D | hwmtm.c | 303 smc->hw.fp.mdr2init = FM_LSB | FM_BMMODE | FM_ENNPRQ | FM_ENHSRQ | 3 ; 306 smc->hw.fp.mdr2init |= FM_CHKPAR | FM_PARITY ; 308 smc->hw.fp.mdr3init = FM_MENRQAUNLCK | FM_MENRS ; 312 smc->hw.fp.frselreg_init = FM_ENXMTADSWAP | FM_ENRCVADSWAP ; 358 queue = smc->hw.fp.tx[QUEUE_A0] ; 372 queue = smc->hw.fp.tx[QUEUE_S] ; 394 queue = smc->hw.fp.rx[QUEUE_R1] ; 559 phys = repair_txd_ring(smc,smc->hw.fp.tx[QUEUE_A0]) ; 561 if (smc->hw.fp.tx_q[QUEUE_A0].tx_used) { 564 phys = repair_txd_ring(smc,smc->hw.fp [all...] |
/linux-master/drivers/media/tuners/ |
H A D | fc0011.c | 172 u8 fa, fp, vco_sel, vco_cal; local 224 fp = xdivr / 8; 225 fa = xdivr - fp * 8; 227 fp -= 1; 230 if (fp > 0x1F) { 231 fp = 0x1F; 234 if (fa >= fp) { 236 "fa %02X >= fp %02X, but trying to continue\n", 237 (unsigned int)(u8)fa, (unsigned int)(u8)fp); 240 regs[FC11_REG_FP] = fp; [all...] |
/linux-master/net/sched/ |
H A D | act_bpf.c | 191 struct bpf_prog *fp; local 210 ret = bpf_prog_create(&fp, &fprog_tmp); 218 cfg->filter = fp; 226 struct bpf_prog *fp; local 232 fp = bpf_prog_get_type(bpf_fd, BPF_PROG_TYPE_SCHED_ACT); 233 if (IS_ERR(fp)) 234 return PTR_ERR(fp); 239 bpf_prog_put(fp); 245 cfg->filter = fp;
|
/linux-master/arch/mips/kernel/ |
H A D | ftrace.c | 252 old_parent_ra, unsigned long parent_ra_addr, unsigned long fp) 287 sp = fp + (code & OFFSET_MASK); 306 unsigned long fp) 343 old_parent_ra, (unsigned long)parent_ra_addr, fp); 365 if (function_graph_enter(old_parent_ra, self_ra, fp, NULL)) 251 ftrace_get_parent_ra_addr(unsigned long self_ra, unsigned long old_parent_ra, unsigned long parent_ra_addr, unsigned long fp) argument 305 prepare_ftrace_return(unsigned long *parent_ra_addr, unsigned long self_ra, unsigned long fp) argument
|
/linux-master/drivers/scsi/qedi/ |
H A D | qedi_debugfs.c | 137 struct qedi_fastpath *fp = NULL; local 151 fp = &qedi->fp_array[id]; 152 sb_info = fp->sb_info; 157 que = qedi->global_queues[fp->sb_id]; 159 seq_printf(s, "CQ complete host memory: %d\n", fp->sb_id);
|
/linux-master/arch/arm/lib/ |
H A D | backtrace.S | 14 @ fp is 0 or stack frame 48 * saved fp 58 * corrected pc => stmfd sp!, {..., fp, ip, lr, pc} 64 1002: ldr sv_fp, [frame, #-12] @ get saved fp 89 1004: ldr r1, [sv_pc, #0] @ if stmfd sp!, {..., fp, ip, lr, pc} 96 teq sv_fp, #0 @ zero saved fp means 128 .Ldsi: .word 0xe92dd800 >> 11 @ stmfd sp!, {... fp, ip, lr, pc}
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_tag.c | 96 FILE *fp; local 100 fp = fopen(buff, "r"); 101 assert(fp); 103 while (fgets(buff, sizeof(buff), fp)) { 110 fclose(fp);
|
/linux-master/include/net/ |
H A D | scm.h | 31 struct file *fp[SCM_MAX_FD]; member in struct:scm_fp_list 36 struct scm_fp_list *fp; /* Passed files */ member in struct:scm_cookie 77 if (scm->fp) 168 scm->fp || scm_has_secdata(sock)) 186 if (scm->fp)
|
/linux-master/tools/testing/selftests/resctrl/ |
H A D | cat_test.c | 78 FILE *fp; local 81 fp = fopen(param->filename, "r"); 82 if (!fp) { 88 while (fgets(temp, sizeof(temp), fp)) { 126 fclose(fp);
|
/linux-master/drivers/scsi/qedf/ |
H A D | qedf_main.c | 226 static void qedf_set_data_src_addr(struct qedf_ctx *qedf, struct fc_frame *fp) argument 229 struct fc_frame_header *fh = fc_frame_header_get(fp); 234 granted_mac = fr_cb(fp)->granted_mac; 267 static void qedf_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, argument 281 * a crash when we access fp. 283 if (IS_ERR(fp)) { 285 "fp has IS_ERR() set.\n"); 290 if (fc_frame_payload_op(fp) == ELS_LS_RJT) 292 else if (fc_frame_payload_op(fp) == ELS_LS_ACC) { 294 qedf_set_data_src_addr(qedf, fp); 306 qedf_elsct_send(struct fc_lport *lport, u32 did, struct fc_frame *fp, unsigned int op, void (*resp)(struct fc_seq *, struct fc_frame *, void *), void *arg, u32 timeout) argument 336 struct fc_frame *fp; local 1037 qedf_xmit_l2_frame(struct qedf_rport *fcport, struct fc_frame *fp) argument 1059 qedf_xmit(struct fc_lport *lport, struct fc_frame *fp) argument 2192 qedf_fp_has_work(struct qedf_fastpath *fp) argument 2220 qedf_process_completions(struct qedf_fastpath *fp) argument 2320 struct qedf_fastpath *fp = dev_id; local 2466 struct fc_frame *fp; local 2750 struct qedf_fastpath *fp = NULL; local 2765 struct qedf_fastpath *fp; local [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | sigutil_32.c | 89 unsigned long fp; local 92 fp = current_thread_info()->rwbuf_stkptrs[i]; 95 err |= __put_user(fp, &rwin->rwbuf_stkptrs[i]);
|
/linux-master/tools/perf/tests/ |
H A D | fdarray.c | 20 static int fdarray__fprintf_prefix(struct fdarray *fda, const char *prefix, FILE *fp) argument 27 printed += fprintf(fp, "\n%s: ", prefix); 28 return printed + fdarray__fprintf(fda, fp);
|
/linux-master/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth.h | 159 int fun_port_write_cmd(struct funeth_priv *fp, int key, u64 data); 160 int fun_port_read_cmd(struct funeth_priv *fp, int key, u64 *data); 161 int fun_create_and_bind_tx(struct funeth_priv *fp, u32 sqid);
|
/linux-master/drivers/gpu/drm/gma500/ |
H A D | psb_intel_display.c | 107 u32 dpll = 0, fp = 0, dspcntr, pipeconf; local 156 fp = clock.n << 16 | clock.m1 << 8 | clock.m2; 219 REG_WRITE(map->fp0, fp); 254 REG_WRITE(map->fp0, fp); 311 u32 fp; local 319 fp = REG_READ(map->fp0); 321 fp = REG_READ(map->fp1); 328 fp = p->fp0; 330 fp = p->fp1; 336 clock.m1 = (fp [all...] |