/linux-4.19.296/include/scsi/ |
D | fc_frame.h | 62 #define fp_skb(fp) (&((fp)->skb)) argument 63 #define fr_hdr(fp) ((fp)->skb.data) argument 64 #define fr_len(fp) ((fp)->skb.len) argument 65 #define fr_cb(fp) ((struct fcoe_rcv_info *)&((fp)->skb.cb[0])) argument 66 #define fr_dev(fp) (fr_cb(fp)->fr_dev) argument 67 #define fr_seq(fp) (fr_cb(fp)->fr_seq) argument 68 #define fr_sof(fp) (fr_cb(fp)->fr_sof) argument 69 #define fr_eof(fp) (fr_cb(fp)->fr_eof) argument 70 #define fr_flags(fp) (fr_cb(fp)->fr_flags) argument 71 #define fr_encaps(fp) (fr_cb(fp)->fr_encaps) argument [all …]
|
D | fc_encode.h | 73 static inline void fc_fill_fc_hdr(struct fc_frame *fp, enum fc_rctl r_ctl, in fc_fill_fc_hdr() argument 79 fh = fc_frame_header_get(fp); in fc_fill_fc_hdr() 88 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_adisc_fill() argument 92 adisc = fc_frame_payload_get(fp, sizeof(*adisc)); in fc_adisc_fill() 104 static inline struct fc_ct_req *fc_ct_hdr_fill(const struct fc_frame *fp, in fc_ct_hdr_fill() argument 113 ct = fc_frame_payload_get(fp, ct_plen); in fc_ct_hdr_fill() 132 u32 fc_id, struct fc_frame *fp, in fc_ct_ns_fill() argument 141 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_gid_ft), in fc_ct_ns_fill() 147 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_fid), in fc_ct_ns_fill() 154 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rft), in fc_ct_ns_fill() [all …]
|
/linux-4.19.296/drivers/s390/char/ |
D | fs3270.c | 54 fs3270_working(struct fs3270 *fp) in fs3270_working() argument 60 return fp->active && raw3270_request_final(fp->init); in fs3270_working() 66 struct fs3270 *fp; in fs3270_do_io() local 69 fp = (struct fs3270 *) view; in fs3270_do_io() 71 rq->callback_data = &fp->wait; in fs3270_do_io() 74 if (!fs3270_working(fp)) { in fs3270_do_io() 76 rc = wait_event_interruptible(fp->wait, in fs3270_do_io() 77 fs3270_working(fp)); in fs3270_do_io() 84 wait_event(fp->wait, raw3270_request_final(rq)); in fs3270_do_io() 96 struct fs3270 *fp; in fs3270_reset_callback() local [all …]
|
D | hmcdrv_dev.c | 56 static int hmcdrv_dev_open(struct inode *inode, struct file *fp); 57 static int hmcdrv_dev_release(struct inode *inode, struct file *fp); 58 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence); 59 static ssize_t hmcdrv_dev_read(struct file *fp, char __user *ubuf, 61 static ssize_t hmcdrv_dev_write(struct file *fp, const char __user *ubuf, 114 static int hmcdrv_dev_open(struct inode *inode, struct file *fp) in hmcdrv_dev_open() argument 120 if (fp->f_flags & O_NONBLOCK) in hmcdrv_dev_open() 126 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) in hmcdrv_dev_open() 135 fp->private_data = NULL; /* no command yet */ in hmcdrv_dev_open() 140 pr_debug("open file '/dev/%pD' with return code %d\n", fp, rc); in hmcdrv_dev_open() [all …]
|
/linux-4.19.296/fs/autofs/ |
D | dev-ioctl.c | 171 static int autofs_dev_ioctl_version(struct file *fp, in autofs_dev_ioctl_version() argument 182 static int autofs_dev_ioctl_protover(struct file *fp, in autofs_dev_ioctl_protover() argument 191 static int autofs_dev_ioctl_protosubver(struct file *fp, in autofs_dev_ioctl_protosubver() argument 275 static int autofs_dev_ioctl_openmount(struct file *fp, in autofs_dev_ioctl_openmount() argument 306 static int autofs_dev_ioctl_closemount(struct file *fp, in autofs_dev_ioctl_closemount() argument 317 static int autofs_dev_ioctl_ready(struct file *fp, in autofs_dev_ioctl_ready() argument 331 static int autofs_dev_ioctl_fail(struct file *fp, in autofs_dev_ioctl_fail() argument 355 static int autofs_dev_ioctl_setpipefd(struct file *fp, in autofs_dev_ioctl_setpipefd() argument 408 static int autofs_dev_ioctl_catatonic(struct file *fp, in autofs_dev_ioctl_catatonic() argument 417 static int autofs_dev_ioctl_timeout(struct file *fp, in autofs_dev_ioctl_timeout() argument [all …]
|
/linux-4.19.296/fs/ocfs2/ |
D | locks.c | 42 struct ocfs2_file_private *fp = file->private_data; in ocfs2_do_flock() local 43 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_do_flock() 50 mutex_lock(&fp->fp_mutex); in ocfs2_do_flock() 92 mutex_unlock(&fp->fp_mutex); in ocfs2_do_flock() 100 struct ocfs2_file_private *fp = file->private_data; in ocfs2_do_funlock() local 102 mutex_lock(&fp->fp_mutex); in ocfs2_do_funlock() 105 mutex_unlock(&fp->fp_mutex); in ocfs2_do_funlock()
|
/linux-4.19.296/include/linux/ |
D | filter.h | 711 static inline void bpf_prog_lock_ro(struct bpf_prog *fp) in bpf_prog_lock_ro() argument 713 fp->undo_set_mem = 1; in bpf_prog_lock_ro() 714 set_memory_ro((unsigned long)fp, fp->pages); in bpf_prog_lock_ro() 717 static inline void bpf_prog_unlock_ro(struct bpf_prog *fp) in bpf_prog_unlock_ro() argument 719 if (fp->undo_set_mem) in bpf_prog_unlock_ro() 720 set_memory_rw((unsigned long)fp, fp->pages); in bpf_prog_unlock_ro() 735 bpf_jit_binary_hdr(const struct bpf_prog *fp) in bpf_jit_binary_hdr() argument 737 unsigned long real_start = (unsigned long)fp->bpf_func; in bpf_jit_binary_hdr() 749 struct bpf_prog *bpf_prog_select_runtime(struct bpf_prog *fp, int *err); 750 void bpf_prog_free(struct bpf_prog *fp); [all …]
|
/linux-4.19.296/fs/nfsd/ |
D | nfs4state.c | 78 static bool check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner); 393 struct nfs4_file *fp = container_of(rcu, struct nfs4_file, fi_rcu); in nfsd4_free_file_rcu() local 395 kmem_cache_free(file_slab, fp); in nfsd4_free_file_rcu() 524 __nfs4_file_get_access(struct nfs4_file *fp, u32 access) in __nfs4_file_get_access() argument 526 lockdep_assert_held(&fp->fi_lock); in __nfs4_file_get_access() 529 atomic_inc(&fp->fi_access[O_WRONLY]); in __nfs4_file_get_access() 531 atomic_inc(&fp->fi_access[O_RDONLY]); in __nfs4_file_get_access() 535 nfs4_file_get_access(struct nfs4_file *fp, u32 access) in nfs4_file_get_access() argument 537 lockdep_assert_held(&fp->fi_lock); in nfs4_file_get_access() 544 if ((access & fp->fi_share_deny) != 0) in nfs4_file_get_access() [all …]
|
D | nfs4layouts.c | 159 struct nfs4_file *fp = ls->ls_stid.sc_file; in nfsd4_free_layout_stateid() local 167 spin_lock(&fp->fi_lock); in nfsd4_free_layout_stateid() 169 spin_unlock(&fp->fi_lock); in nfsd4_free_layout_stateid() 216 struct nfs4_file *fp = parent->sc_file; in nfsd4_alloc_layout_stateid() local 225 get_nfs4_file(fp); in nfsd4_alloc_layout_stateid() 226 stp->sc_file = fp; in nfsd4_alloc_layout_stateid() 239 ls->ls_file = get_file(fp->fi_deleg_file); in nfsd4_alloc_layout_stateid() 241 ls->ls_file = find_any_file(fp); in nfsd4_alloc_layout_stateid() 246 put_nfs4_file(fp); in nfsd4_alloc_layout_stateid() 256 spin_lock(&fp->fi_lock); in nfsd4_alloc_layout_stateid() [all …]
|
/linux-4.19.296/drivers/hid/ |
D | hid-roccat-common.h | 43 ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj, 46 ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj, 51 static ssize_t roccat_common2_sysfs_write_ ## thingy(struct file *fp, \ 55 return roccat_common2_sysfs_write(fp, kobj, buf, off, count, \ 60 static ssize_t roccat_common2_sysfs_read_ ## thingy(struct file *fp, \ 64 return roccat_common2_sysfs_read(fp, kobj, buf, off, count, \
|
D | hid-roccat-lua.c | 29 static ssize_t lua_sysfs_read(struct file *fp, struct kobject *kobj, in lua_sysfs_read() argument 51 static ssize_t lua_sysfs_write(struct file *fp, struct kobject *kobj, in lua_sysfs_write() argument 71 static ssize_t lua_sysfs_write_ ## thingy(struct file *fp, \ 75 return lua_sysfs_write(fp, kobj, buf, off, count, \ 80 static ssize_t lua_sysfs_read_ ## thingy(struct file *fp, \ 84 return lua_sysfs_read(fp, kobj, buf, off, count, \
|
D | hid-roccat-pyra.c | 89 static ssize_t pyra_sysfs_read(struct file *fp, struct kobject *kobj, in pyra_sysfs_read() argument 114 static ssize_t pyra_sysfs_write(struct file *fp, struct kobject *kobj, in pyra_sysfs_write() argument 137 static ssize_t pyra_sysfs_write_ ## thingy(struct file *fp, \ 141 return pyra_sysfs_write(fp, kobj, buf, off, count, \ 146 static ssize_t pyra_sysfs_read_ ## thingy(struct file *fp, \ 150 return pyra_sysfs_read(fp, kobj, buf, off, count, \ 188 static ssize_t pyra_sysfs_read_profilex_settings(struct file *fp, in pyra_sysfs_read_profilex_settings() argument 201 return pyra_sysfs_read(fp, kobj, buf, off, count, in pyra_sysfs_read_profilex_settings() 206 static ssize_t pyra_sysfs_read_profilex_buttons(struct file *fp, in pyra_sysfs_read_profilex_buttons() argument 219 return pyra_sysfs_read(fp, kobj, buf, off, count, in pyra_sysfs_read_profilex_buttons() [all …]
|
D | hid-roccat-koneplus.c | 86 static ssize_t koneplus_sysfs_read(struct file *fp, struct kobject *kobj, in koneplus_sysfs_read() argument 111 static ssize_t koneplus_sysfs_write(struct file *fp, struct kobject *kobj, in koneplus_sysfs_write() argument 135 static ssize_t koneplus_sysfs_write_ ## thingy(struct file *fp, \ 139 return koneplus_sysfs_write(fp, kobj, buf, off, count, \ 144 static ssize_t koneplus_sysfs_read_ ## thingy(struct file *fp, \ 148 return koneplus_sysfs_read(fp, kobj, buf, off, count, \ 190 static ssize_t koneplus_sysfs_read_profilex_settings(struct file *fp, in koneplus_sysfs_read_profilex_settings() argument 203 return koneplus_sysfs_read(fp, kobj, buf, off, count, in koneplus_sysfs_read_profilex_settings() 208 static ssize_t koneplus_sysfs_read_profilex_buttons(struct file *fp, in koneplus_sysfs_read_profilex_buttons() argument 221 return koneplus_sysfs_read(fp, kobj, buf, off, count, in koneplus_sysfs_read_profilex_buttons()
|
D | hid-roccat-kovaplus.c | 129 static ssize_t kovaplus_sysfs_read(struct file *fp, struct kobject *kobj, in kovaplus_sysfs_read() argument 154 static ssize_t kovaplus_sysfs_write(struct file *fp, struct kobject *kobj, in kovaplus_sysfs_write() argument 178 static ssize_t kovaplus_sysfs_write_ ## thingy(struct file *fp, \ 182 return kovaplus_sysfs_write(fp, kobj, buf, off, count, \ 187 static ssize_t kovaplus_sysfs_read_ ## thingy(struct file *fp, \ 191 return kovaplus_sysfs_read(fp, kobj, buf, off, count, \ 220 static ssize_t kovaplus_sysfs_read_profilex_settings(struct file *fp, in kovaplus_sysfs_read_profilex_settings() argument 233 return kovaplus_sysfs_read(fp, kobj, buf, off, count, in kovaplus_sysfs_read_profilex_settings() 238 static ssize_t kovaplus_sysfs_read_profilex_buttons(struct file *fp, in kovaplus_sysfs_read_profilex_buttons() argument 251 return kovaplus_sysfs_read(fp, kobj, buf, off, count, in kovaplus_sysfs_read_profilex_buttons()
|
/linux-4.19.296/include/net/ |
D | scm.h | 28 struct file *fp[SCM_MAX_FD]; member 33 struct scm_fp_list *fp; /* Passed files */ member 74 if (scm->fp) in scm_destroy() 127 if (test_bit(SOCK_PASSCRED, &sock->flags) || scm->fp || in scm_recv() 148 if (!scm->fp) in scm_recv()
|
D | af_unix.h | 11 void unix_inflight(struct user_struct *user, struct file *fp); 12 void unix_notinflight(struct user_struct *user, struct file *fp); 37 struct scm_fp_list *fp; /* Passed files */ member
|
/linux-4.19.296/drivers/isdn/hisax/ |
D | elsa_ser.c | 243 int count, len, fp; in write_modem() local 252 fp = cs->hw.elsa.transcnt + cs->hw.elsa.transp; in write_modem() 253 fp &= (MAX_MODEM_BUF - 1); in write_modem() 255 if (count > MAX_MODEM_BUF - fp) { in write_modem() 256 count = MAX_MODEM_BUF - fp; in write_modem() 258 cs->hw.elsa.transbuf + fp, count); in write_modem() 263 fp = 0; in write_modem() 266 cs->hw.elsa.transbuf + fp, count); in write_modem() 448 int count, fp; in modem_write_cmd() local 456 fp = cs->hw.elsa.transcnt + cs->hw.elsa.transp; in modem_write_cmd() [all …]
|
/linux-4.19.296/drivers/misc/mei/ |
D | client.c | 395 const struct file *fp) in mei_io_cb_init() argument 404 cb->fp = fp; in mei_io_cb_init() 451 static void mei_io_list_free_fp(struct list_head *head, const struct file *fp) in mei_io_list_free_fp() argument 456 if (!fp || fp == cb->fp) in mei_io_list_free_fp() 472 const struct file *fp) in mei_cl_alloc_cb() argument 476 cb = mei_io_cb_init(cl, fop_type, fp); in mei_cl_alloc_cb() 507 const struct file *fp) in mei_cl_enqueue_ctrl_wr_cb() argument 515 cb = mei_cl_alloc_cb(cl, length, fop_type, fp); in mei_cl_enqueue_ctrl_wr_cb() 532 struct mei_cl_cb *mei_cl_read_cb(const struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb() argument 537 if (!fp || fp == cb->fp) in mei_cl_read_cb() [all …]
|
D | client.h | 99 const struct file *fp); 102 const struct file *fp); 105 const struct file *fp); 106 int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp); 204 int mei_cl_read_start(struct mei_cl *cl, size_t length, const struct file *fp);
|
D | debugfs.c | 27 static ssize_t mei_dbgfs_read_meclients(struct file *fp, char __user *ubuf, in mei_dbgfs_read_meclients() argument 30 struct mei_device *dev = fp->private_data; in mei_dbgfs_read_meclients() 89 static ssize_t mei_dbgfs_read_active(struct file *fp, char __user *ubuf, in mei_dbgfs_read_active() argument 92 struct mei_device *dev = fp->private_data; in mei_dbgfs_read_active() 152 static ssize_t mei_dbgfs_read_devstate(struct file *fp, char __user *ubuf, in mei_dbgfs_read_devstate() argument 155 struct mei_device *dev = fp->private_data; in mei_dbgfs_read_devstate()
|
/linux-4.19.296/fs/ocfs2/dlmfs/ |
D | dlmfs.c | 136 struct dlmfs_filp_private *fp = NULL; in dlmfs_file_open() local 153 fp = kmalloc(sizeof(*fp), GFP_NOFS); in dlmfs_file_open() 154 if (!fp) { in dlmfs_file_open() 158 fp->fp_lock_level = level; in dlmfs_file_open() 170 kfree(fp); in dlmfs_file_open() 174 file->private_data = fp; in dlmfs_file_open() 184 struct dlmfs_filp_private *fp = file->private_data; in dlmfs_file_release() local 192 if (fp) { in dlmfs_file_release() 193 level = fp->fp_lock_level; in dlmfs_file_release() 197 kfree(fp); in dlmfs_file_release()
|
/linux-4.19.296/drivers/media/tuners/ |
D | fc0011.c | 181 u8 fa, fp, vco_sel, vco_cal; in fc0011_set_params() local 233 fp = xdivr / 8; in fc0011_set_params() 234 fa = xdivr - fp * 8; in fc0011_set_params() 236 fp -= 1; in fc0011_set_params() 239 if (fp > 0x1F) { in fc0011_set_params() 240 fp = 0x1F; in fc0011_set_params() 243 if (fa >= fp) { in fc0011_set_params() 246 (unsigned int)(u8)fa, (unsigned int)(u8)fp); in fc0011_set_params() 249 regs[FC11_REG_FP] = fp; in fc0011_set_params()
|
/linux-4.19.296/drivers/misc/ |
D | hpilo.c | 432 static ssize_t ilo_read(struct file *fp, char __user *buf, in ilo_read() argument 436 struct ccb_data *data = fp->private_data; in ilo_read() 482 static ssize_t ilo_write(struct file *fp, const char __user *buf, in ilo_write() argument 486 struct ccb_data *data = fp->private_data; in ilo_write() 514 static __poll_t ilo_poll(struct file *fp, poll_table *wait) in ilo_poll() argument 516 struct ccb_data *data = fp->private_data; in ilo_poll() 519 poll_wait(fp, &data->ccb_waitq, wait); in ilo_poll() 529 static int ilo_close(struct inode *ip, struct file *fp) in ilo_close() argument 543 data = fp->private_data; in ilo_close() 560 static int ilo_open(struct inode *ip, struct file *fp) in ilo_open() argument [all …]
|
/linux-4.19.296/drivers/char/ |
D | apm-emulation.c | 202 static ssize_t apm_read(struct file *fp, char __user *buf, size_t count, loff_t *ppos) in apm_read() argument 204 struct apm_user *as = fp->private_data; in apm_read() 211 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) in apm_read() 239 static __poll_t apm_poll(struct file *fp, poll_table * wait) in apm_poll() argument 241 struct apm_user *as = fp->private_data; in apm_poll() 243 poll_wait(fp, &apm_waitqueue, wait); in apm_poll()
|
/linux-4.19.296/fs/ |
D | fcntl.c | 871 struct fasync_struct *fa, **fp; in fasync_remove_entry() local 876 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_remove_entry() 884 *fp = fa->fa_next; in fasync_remove_entry() 919 struct fasync_struct *fa, **fp; in fasync_insert_entry() local 923 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_insert_entry() 1017 void kill_fasync(struct fasync_struct **fp, int sig, int band) in kill_fasync() argument 1022 if (*fp) { in kill_fasync() 1024 kill_fasync_rcu(rcu_dereference(*fp), sig, band); in kill_fasync()
|