/linux-master/fs/smb/server/ |
H A D | vfs.c | 288 static int ksmbd_vfs_stream_read(struct ksmbd_file *fp, char *buf, loff_t *pos, argument 297 v_len = ksmbd_vfs_getcasexattr(file_mnt_idmap(fp->filp), 298 fp->filp->f_path.dentry, 299 fp->stream.name, 300 fp->stream.size, 367 * @fp: ksmbd file pointer 374 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, argument 377 struct file *filp = fp->filp; 388 if (!(fp->daccess & (FILE_READ_DATA_LE | FILE_EXECUTE_LE))) { 389 pr_err("no right to read(%pD)\n", fp 417 ksmbd_vfs_stream_write(struct ksmbd_file *fp, char *buf, loff_t *pos, size_t count) argument 490 ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, char *buf, size_t count, loff_t *pos, bool sync, ssize_t *written) argument 576 struct ksmbd_file *fp; local 818 ksmbd_vfs_truncate(struct ksmbd_work *work, struct ksmbd_file *fp, loff_t size) argument 989 ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, loff_t off, loff_t len) argument 1003 ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length, struct file_allocated_range_buffer *ranges, unsigned int in_count, unsigned int *out_count) argument 1124 ksmbd_vfs_empty_dir(struct ksmbd_file *fp) argument [all...] |
H A D | smb2pdu.c | 2411 struct ksmbd_file *fp, 2426 fp->stream.name = xattr_stream_name; 2427 fp->stream.size = xattr_stream_size; 2437 if (fp->cdoption == FILE_OPEN_LE) { 2502 struct ksmbd_file *fp) 2512 da.attr = le32_to_cpu(fp->f_ci->m_fattr); 2513 da.itime = da.create_time = fp->create_time; 2523 const struct path *path, struct ksmbd_file *fp) 2528 fp->f_ci->m_fattr &= ~(FILE_ATTRIBUTE_HIDDEN_LE | FILE_ATTRIBUTE_SYSTEM_LE); 2538 fp 2410 smb2_set_stream_name_xattr(const struct path *path, struct ksmbd_file *fp, char *stream_name, int s_type) argument 2501 smb2_new_xattrs(struct ksmbd_tree_connect *tcon, const struct path *path, struct ksmbd_file *fp) argument 2522 smb2_update_xattrs(struct ksmbd_tree_connect *tcon, const struct path *path, struct ksmbd_file *fp) argument 2638 struct ksmbd_file *fp; member in struct:durable_info 2804 struct ksmbd_file *fp = NULL; local 4554 smb2_get_ea(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_query_info_req *req, struct smb2_query_info_rsp *rsp, void *rsp_org) argument 4708 get_file_access_info(struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 4719 get_file_basic_info(struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 4753 get_file_standard_info(struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 4791 get_file_all_info(struct ksmbd_work *work, struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 4857 get_file_alternate_info(struct ksmbd_work *work, struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 4878 get_file_stream_info(struct ksmbd_work *work, struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 4983 get_file_internal_info(struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 5003 get_file_network_open_info(struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 5050 get_file_position_info(struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 5061 get_file_mode_info(struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 5072 get_file_compression_info(struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 5098 get_file_attribute_tag_info(struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 5117 find_file_posix_info(struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument 5170 struct ksmbd_file *fp; local 5499 struct ksmbd_file *fp; local 5679 struct ksmbd_file *fp; local 5807 smb2_rename(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_file_rename_info *file_info, struct nls_table *local_nls) argument 5954 set_file_basic_info(struct ksmbd_file *fp, struct smb2_file_basic_info *file_info, struct ksmbd_share_config *share) argument 6038 set_file_allocation_info(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_file_alloc_info *file_alloc_info) argument 6094 set_end_of_file_info(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_file_eof_info *file_eof_info) argument 6127 set_rename_info(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_file_rename_info *rename_info, unsigned int buf_len) argument 6146 set_file_disposition_info(struct ksmbd_file *fp, struct smb2_file_disposition_info *file_info) argument 6168 set_file_position_info(struct ksmbd_file *fp, struct smb2_file_pos_info *file_info) argument 6191 set_file_mode_info(struct ksmbd_file *fp, struct smb2_file_mode_info *file_info) argument 6222 smb2_set_info_file(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_set_info_req *req, struct ksmbd_share_config *share) argument 6314 smb2_set_info_sec(struct ksmbd_file *fp, int addition_info, char *buffer, int buf_len) argument 6335 struct ksmbd_file *fp = NULL; local 6555 struct ksmbd_file *fp = NULL; local 6781 smb2_write_rdma_channel(struct ksmbd_work *work, struct smb2_write_req *req, struct ksmbd_file *fp, loff_t offset, size_t length, bool sync) argument 6821 struct ksmbd_file *fp = NULL; local 7163 struct ksmbd_file *fp = NULL; local 7800 struct ksmbd_file *fp; local 7875 struct ksmbd_file *fp; local 7918 struct ksmbd_file *fp; local 8101 struct ksmbd_file *fp; local 8164 struct ksmbd_file *fp; local 8290 struct ksmbd_file *fp; local [all...] |
/linux-master/drivers/android/ |
H A D | binder.c | 737 struct flat_binder_object *fp) 742 binder_uintptr_t ptr = fp ? fp->binder : 0; 743 binder_uintptr_t cookie = fp ? fp->cookie : 0; 744 __u32 flags = fp ? fp->flags : 0; 792 struct flat_binder_object *fp) 800 node = binder_init_node_ilocked(proc, new_node, fp); 1988 struct flat_binder_object *fp; local 734 binder_init_node_ilocked( struct binder_proc *proc, struct binder_node *new_node, struct flat_binder_object *fp) argument 791 binder_new_node(struct binder_proc *proc, struct flat_binder_object *fp) argument 2007 struct flat_binder_object *fp; local 2140 binder_translate_binder(struct flat_binder_object *fp, struct binder_transaction *t, struct binder_thread *thread) argument 2193 binder_translate_handle(struct flat_binder_object *fp, struct binder_transaction *t, struct binder_thread *thread) argument 3383 struct flat_binder_object *fp; local 3403 struct flat_binder_object *fp; local 3422 struct binder_fd_object *fp = to_binder_fd_object(hdr); local [all...] |
/linux-master/tools/perf/util/ |
H A D | annotate.c | 2732 static void FILE__set_percent_color(void *fp __maybe_unused, 2738 static int FILE__set_jumps_percent_color(void *fp __maybe_unused, 2744 static int FILE__set_color(void *fp __maybe_unused, int color __maybe_unused) 2749 static void FILE__printf(void *fp, const char *fmt, ...) argument 2754 vfprintf(fp, fmt, args); 2758 static void FILE__write_graph(void *fp, int graph) argument 2770 fputs(s, fp); 2773 static int symbol__annotate_fprintf2(struct symbol *sym, FILE *fp) argument 2778 .obj = fp, 2791 fputc('\n', fp); 2804 FILE *fp; local 2866 disasm_line__fprintf(struct disasm_line *dl, FILE *fp) argument 2883 disasm__fprintf(struct list_head *head, FILE *fp) argument [all...] |
/linux-master/net/unix/ |
H A D | af_unix.c | 1801 UNIXCB(skb).fp = scm_fp_dup(scm->fp); 1802 if (!UNIXCB(skb).fp) 1805 for (i = scm->fp->count - 1; i >= 0; i--) 1806 unix_inflight(scm->fp->user, scm->fp->fp[i]); 1815 scm->fp = UNIXCB(skb).fp; 1816 UNIXCB(skb).fp 1937 struct scm_fp_list *fp = UNIXCB(skb).fp; local 1946 struct scm_fp_list *fp = UNIXCB(skb).fp; local [all...] |
H A D | garbage.c | 168 if (UNIXCB(skb).fp) { 171 int nfd = UNIXCB(skb).fp->count; 172 struct file **fp = UNIXCB(skb).fp->fp; local 176 struct unix_sock *u = unix_get_socket(*fp++);
|
/linux-master/net/core/ |
H A D | dev.c | 3957 const struct bpf_mprog_fp *fp; local 3963 bpf_mprog_foreach_prog(entry, fp, prog) {
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_drv.h | 394 * @fp: If @kernel is false, points to the file of the client. Otherwise 423 struct vmw_fpriv *fp; member in struct:vmw_sw_context
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bios.c | 114 uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & DCB_OUTPUT_C ? 1 : 0); 120 if (!bios->fp.xlated_entry || !sub || !scriptofs) 123 run_digital_op_script(dev, scriptofs, dcbent, head, bios->fp.dual_link); 127 mdelay(ROM16(bios->data[bios->fp.xlated_entry + 7])); 167 scriptptr = ROM16(bios->data[bios->fp.lvdsmanufacturerpointer + 7 + outputset * 2]); 171 scriptptr = ROM16(bios->data[bios->fp.lvdsmanufacturerpointer + 11 + outputset * 2]); 174 clktable = bios->fp.lvdsmanufacturerpointer + 15; 179 if (bios->fp.dual_link) 181 if (bios->fp [all...] |
/linux-master/arch/x86/events/ |
H A D | core.c | 2783 valid_user_frame(const void __user *fp, unsigned long size) argument 2785 return __access_ok(fp, size); 2826 const struct stack_frame_ia32 __user *fp; local 2834 fp = compat_ptr(ss_base + regs->bp); 2837 if (!valid_user_frame(fp, sizeof(frame))) 2840 if (__get_user(frame.next_frame, &fp->next_frame)) 2842 if (__get_user(frame.return_address, &fp->return_address)) 2846 fp = compat_ptr(ss_base + frame.next_frame); 2863 const struct stack_frame __user *fp; local 2876 fp [all...] |
/linux-master/drivers/ata/ |
H A D | libata-scsi.c | 1212 u16 fp; local 1216 fp = 4; 1222 fp = 4; 1229 fp = 4; 1250 ata_scsi_set_invalid_field(qc->dev, scmd, fp, bp); 1375 u16 fp; local 1383 fp = 9; 1390 fp = 15; 1396 fp = 0; 1469 ata_scsi_set_invalid_field(qc->dev, scmd, fp, 1526 u16 fp = 0; local 2365 u16 fp; local 2853 u16 fp; local 3181 u16 fp; local 3443 u16 sect, fp = (u16)-1; local 3530 u16 fp = (u16)-1; local 3611 ata_mselect_caching(struct ata_queued_cmd *qc, const u8 *buf, int len, u16 *fp) argument 3656 ata_mselect_control_spg0(struct ata_queued_cmd *qc, const u8 *buf, int len, u16 *fp) argument 3699 ata_mselect_control_ata_feature(struct ata_queued_cmd *qc, const u8 *buf, int len, u16 *fp) argument 3760 ata_mselect_control(struct ata_queued_cmd *qc, u8 spg, const u8 *buf, int len, u16 *fp) argument 3791 u16 fp = (u16)-1; local [all...] |
H A D | libata-core.c | 6472 const struct ata_force_param *fp = &force_tbl[i]; local 6474 if (strncasecmp(val, fp->name, strlen(val))) 6478 match_fp = fp; 6480 if (strcasecmp(val, fp->name) == 0) {
|
/linux-master/tools/power/x86/turbostat/ |
H A D | turbostat.c | 294 FILE *fp; member in struct:gfx_sysfs_info 2958 FILE *fp; local 2962 fp = fopen_or_die(path, "r"); 2964 retval = fscanf(fp, "%lld", &counter); 2968 fclose(fp); 3009 FILE *fp; local 3013 fp = fopen(path, "r"); 3014 if (!fp) 3017 ret = fscanf(fp, "%d", &epb); 3021 fclose(fp); 3086 FILE *fp; local 4505 FILE *fp; local 4536 FILE *fp; local 4636 static FILE *fp; local 4699 FILE *fp; local 4738 FILE *fp; local 4763 FILE *fp; local 5389 FILE *fp; local 7508 FILE *fp; local [all...] |
/linux-master/kernel/ |
H A D | kprobes.c | 1987 * @fp: A frame pointer 1993 * The @tsk must be 'current' or a task which is not running. @fp is a hint 1995 * kretprobe_instance::fp field. The @cur is a loop cursor for searching the 1999 unsigned long kretprobe_find_ret_addr(struct task_struct *tsk, void *fp, argument 2013 } while (ri->fp != fp); 2055 if (WARN_ON_ONCE(ri->fp != frame_pointer))
|
/linux-master/drivers/target/ |
H A D | target_core_configfs.c | 111 struct file *fp; local 134 fp = filp_open(db_root_stage, O_RDONLY, 0); 135 if (IS_ERR(fp)) { 139 if (!S_ISDIR(file_inode(fp)->i_mode)) { 140 filp_close(fp, NULL); 144 filp_close(fp, NULL); 3652 struct file *fp; local 3655 fp = filp_open(db_root_stage, O_RDONLY, 0); 3656 if (IS_ERR(fp)) { 3660 if (!S_ISDIR(file_inode(fp) [all...] |
/linux-master/drivers/scsi/ |
H A D | sg.c | 2534 Sg_fd *fp; local 2540 list_for_each_entry(fp, &sdp->sfds, sfd_siblings) { 2542 read_lock(&fp->rq_list_lock); /* irqs already disabled */ 2545 jiffies_to_msecs(fp->timeout), 2546 fp->reserve.bufflen, 2547 (int) fp->reserve.k_use_sg, 0); 2549 (int) fp->cmd_q, (int) fp->force_packid, 2550 (int) fp->keep_orphan); 2551 list_for_each_entry(srp, &fp [all...] |
/linux-master/drivers/platform/x86/ |
H A D | toshiba_acpi.c | 2611 static long toshiba_acpi_ioctl(struct file *fp, unsigned int cmd, argument
|
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_vp9_req_lat_if.c | 64 u8 fp[3]; member in struct:vdec_vp9_slice_frame_ctx::__anon55 130 u32 fp[4]; member in struct:vdec_vp9_slice_frame_counts::__anon59 149 * @fp: motion vector fractional bit counts. 162 u32 fp[2][4]; member in struct:vdec_vp9_slice_counts_map 1287 for (i = 0; i < ARRAY_SIZE(counts_map->fp); i++) 1288 memcpy(counts_map->fp[i], counts->mvcomp[i].fp, 1289 sizeof(counts_map->fp[0])); 1290 counts_helper->fp = &counts_map->fp; [all...] |
/linux-master/drivers/crypto/ccp/ |
H A D | sev-dev.c | 234 struct file *fp; local 249 fp = file_open_root(&root, filename, flags, mode); 254 return fp; 260 struct file *fp; local 268 fp = open_file_as_root(init_ex_path, O_RDONLY, 0); 269 if (IS_ERR(fp)) { 270 int ret = PTR_ERR(fp); 285 nread = kernel_read(fp, sev_init_ex_buffer, NV_LENGTH, NULL); 293 filp_close(fp, NULL); 301 struct file *fp; local [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/kernel/trace/ |
H A D | bpf_trace.c | 2583 struct fprobe fp; member in struct:bpf_kprobe_multi_link 2664 unregister_fprobe(&kmulti_link->fp); 2696 info->kprobe_multi.missed = kmulti_link->fp.nmissed; 2824 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, argument 2830 link = container_of(fp, struct bpf_kprobe_multi_link, fp); 2836 kprobe_multi_link_exit_handler(struct fprobe *fp, unsigned long fentry_ip, argument 2842 link = container_of(fp, struct bpf_kprobe_multi_link, fp); 3058 link->fp [all...] |
/linux-master/include/linux/ |
H A D | bpf.h | 1942 bool bpf_prog_map_compatible(struct bpf_map *map, const struct bpf_prog *fp); 1943 int bpf_prog_calc_tag(struct bpf_prog *fp); 2481 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr, bpfptr_t uattr, u32 uattr_size);
|
/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/gpu/drm/i915/display/ |
H A D | intel_display.c | 7992 u32 dpll, fp; local 8002 fp = i9xx_dpll_compute_fp(&clock); 8025 intel_de_write(dev_priv, FP0(pipe), fp); 8026 intel_de_write(dev_priv, FP1(pipe), fp);
|
/linux-master/arch/riscv/kvm/ |
H A D | vcpu_onereg.c | 896 return sizeof(cntx->fp.f) / sizeof(u32); 925 return sizeof(cntx->fp.d.f) / sizeof(u64) + 1; 937 /* copy fp.d.f indices */ 949 /* copy fp.d.fcsr indices */
|