| /linux/drivers/media/common/b2c2/ |
| H A D | flexcop-hw-filter.c | 9 static void flexcop_rcv_data_ctrl(struct flexcop_device *fc, int onoff) in flexcop_rcv_data_ctrl() argument 15 void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff) in flexcop_smc_ctrl() argument 20 static void flexcop_null_filter_ctrl(struct flexcop_device *fc, int onoff) in flexcop_null_filter_ctrl() argument 25 void flexcop_set_mac_filter(struct flexcop_device *fc, u8 mac[6]) in flexcop_set_mac_filter() argument 28 v41c = fc->read_ibi_reg(fc, mac_address_41c); in flexcop_set_mac_filter() 37 fc->write_ibi_reg(fc, mac_address_418, v418); in flexcop_set_mac_filter() 38 fc->write_ibi_reg(fc, mac_address_41c, v41c); in flexcop_set_mac_filter() 41 void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff) in flexcop_mac_filter_ctrl() argument 46 static void flexcop_pid_group_filter(struct flexcop_device *fc, in flexcop_pid_group_filter() argument 53 fc->write_ibi_reg(fc, pid_filter_30c, v30c); in flexcop_pid_group_filter() [all …]
|
| H A D | flexcop-fe-tuner.c | 34 struct flexcop_device *fc = fe->dvb->priv; in flexcop_fe_request_firmware() local 36 return request_firmware(fw, name, fc->dev); in flexcop_fe_request_firmware() 45 struct flexcop_device *fc = fe->dvb->priv; in flexcop_set_voltage() local 49 v = fc->read_ibi_reg(fc, misc_204); in flexcop_set_voltage() 66 return fc->write_ibi_reg(fc, misc_204, v); in flexcop_set_voltage() 73 struct flexcop_device *fc = fe->dvb->priv; in flexcop_sleep() local 74 if (fc->fe_sleep) in flexcop_sleep() 75 return fc->fe_sleep(fe); in flexcop_sleep() 85 struct flexcop_device *fc = fe->dvb->priv; in flexcop_set_tone() local 106 return fc->write_ibi_reg(fc,lnb_switch_freq_200,v); in flexcop_set_tone() [all …]
|
| /linux/fs/ |
| H A D | fs_context.c | 39 static int legacy_init_fs_context(struct fs_context *fc); 61 static int vfs_parse_sb_flag(struct fs_context *fc, const char *key) in vfs_parse_sb_flag() argument 67 fc->sb_flags |= token; in vfs_parse_sb_flag() 68 fc->sb_flags_mask |= token; in vfs_parse_sb_flag() 74 fc->sb_flags &= ~token; in vfs_parse_sb_flag() 75 fc->sb_flags_mask |= token; in vfs_parse_sb_flag() 84 * @fc: The filesystem context to modify 94 int vfs_parse_fs_param_source(struct fs_context *fc, struct fs_parameter *param) in vfs_parse_fs_param_source() argument 100 return invalf(fc, "Non-string source"); in vfs_parse_fs_param_source() 102 if (fc->source) in vfs_parse_fs_param_source() [all …]
|
| H A D | fsopen.c | 50 struct fs_context *fc = file->private_data; in fscontext_read() local 56 err = mutex_lock_interruptible(&fc->uapi_mutex); in fscontext_read() 59 message = fetch_message_locked(fc->log.log, len, &need_free); in fscontext_read() 60 mutex_unlock(&fc->uapi_mutex); in fscontext_read() 75 struct fs_context *fc = file->private_data; in fscontext_release() local 77 if (fc) { in fscontext_release() 79 put_fs_context(fc); in fscontext_release() 92 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd() argument 96 fd = anon_inode_getfd("[fscontext]", &fscontext_fops, fc, in fscontext_create_fd() 99 put_fs_context(fc); in fscontext_create_fd() [all …]
|
| H A D | super.c | 690 bool mount_capable(struct fs_context *fc) in mount_capable() argument 692 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) in mount_capable() 695 return ns_capable(fc->user_ns, CAP_SYS_ADMIN); in mount_capable() 700 * @fc: Filesystem context. 707 * Whether or not the requested parameters in @fc are taken into account 713 * (1) the namespace the filesystem context @fc and the extant 716 * (2) the filesystem context @fc has requested that reusing an extant 730 struct super_block *sget_fc(struct fs_context *fc, in sget_fc() argument 736 struct user_namespace *user_ns = fc->global ? &init_user_ns : fc->user_ns; in sget_fc() 745 if (user_ns != &init_user_ns && !(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) { in sget_fc() [all …]
|
| /linux/drivers/isdn/hardware/mISDN/ |
| H A D | avmfritz.c | 173 struct fritzcard *fc = p; in ReadISAC_V1() local 176 outb(idx, fc->addr + CHIP_INDEX); in ReadISAC_V1() 177 return inb(fc->addr + CHIP_WINDOW + (offset & 0xf)); in ReadISAC_V1() 183 struct fritzcard *fc = p; in WriteISAC_V1() local 186 outb(idx, fc->addr + CHIP_INDEX); in WriteISAC_V1() 187 outb(value, fc->addr + CHIP_WINDOW + (offset & 0xf)); in WriteISAC_V1() 193 struct fritzcard *fc = p; in ReadFiFoISAC_V1() local 195 outb(AVM_ISAC_FIFO, fc->addr + CHIP_INDEX); in ReadFiFoISAC_V1() 196 insb(fc->addr + CHIP_WINDOW, data, size); in ReadFiFoISAC_V1() 202 struct fritzcard *fc = p; in WriteFiFoISAC_V1() local [all …]
|
| /linux/drivers/dma-buf/ |
| H A D | st-dma-fence-chain.c | 113 static int fence_chains_init(struct fence_chains *fc, unsigned int count, in fence_chains_init() argument 119 fc->chains = kvmalloc_array(count, sizeof(*fc->chains), in fence_chains_init() 121 if (!fc->chains) in fence_chains_init() 124 fc->fences = kvmalloc_array(count, sizeof(*fc->fences), in fence_chains_init() 126 if (!fc->fences) { in fence_chains_init() 131 fc->tail = NULL; in fence_chains_init() 133 fc->fences[i] = mock_fence(); in fence_chains_init() 134 if (!fc->fences[i]) { in fence_chains_init() 139 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init() 140 fc->fences[i], in fence_chains_init() [all …]
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_devtbl.h | 8 "QLA2340", "133MHz PCI-X to 2Gb FC, Single Channel", /* 0x100 */ 9 "QLA2342", "133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x101 */ 10 "QLA2344", "133MHz PCI-X to 2Gb FC, Quad Channel", /* 0x102 */ 11 "QCP2342", "cPCI to 2Gb FC, Dual Channel", /* 0x103 */ 12 "QSB2340", "SBUS to 2Gb FC, Single Channel", /* 0x104 */ 13 "QSB2342", "SBUS to 2Gb FC, Dual Channel", /* 0x105 */ 14 "QLA2310", "Sun 66MHz PCI-X to 2Gb FC, Single Channel", /* 0x106 */ 15 "QLA2332", "Sun 66MHz PCI-X to 2Gb FC, Single Channel", /* 0x107 */ 16 "QCP2332", "Sun cPCI to 2Gb FC, Dual Channel", /* 0x108 */ 17 "QCP2340", "cPCI to 2Gb FC, Single Channel", /* 0x109 */ [all …]
|
| /linux/fs/fuse/ |
| H A D | control.c | 26 struct fuse_conn *fc; in fuse_ctl_file_conn_get() local 28 fc = file_inode(file)->i_private; in fuse_ctl_file_conn_get() 29 if (fc) in fuse_ctl_file_conn_get() 30 fc = fuse_conn_get(fc); in fuse_ctl_file_conn_get() 32 return fc; in fuse_ctl_file_conn_get() 38 struct fuse_conn *fc = fuse_ctl_file_conn_get(file); in fuse_conn_abort_write() local 39 if (fc) { in fuse_conn_abort_write() 40 if (fc->abort_err) in fuse_conn_abort_write() 41 fc->aborted = true; in fuse_conn_abort_write() 42 fuse_abort_conn(fc); in fuse_conn_abort_write() [all …]
|
| H A D | inode.c | 147 static void fuse_cleanup_submount_lookup(struct fuse_conn *fc, in fuse_cleanup_submount_lookup() argument 153 fuse_queue_forget(fc, sl->forget, sl->nodeid, 1); in fuse_cleanup_submount_lookup() 171 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_evict_inode() local 176 fuse_queue_forget(fc, fi->forget, fi->nodeid, in fuse_evict_inode() 182 fuse_cleanup_submount_lookup(fc, fi->submount_lookup); in fuse_evict_inode() 192 atomic64_inc(&fc->evict_ctr); in fuse_evict_inode() 229 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_change_attributes_common() local 245 if (!evict_ctr || fi->attr_version || evict_ctr == fuse_get_evict_ctr(fc)) in fuse_change_attributes_common() 248 fi->attr_version = atomic64_inc_return(&fc->attr_version); in fuse_change_attributes_common() 254 inode->i_uid = make_kuid(fc->user_ns, attr->uid); in fuse_change_attributes_common() [all …]
|
| H A D | dev.c | 38 bool fuse_request_expired(struct fuse_conn *fc, struct list_head *list) in fuse_request_expired() argument 45 return time_is_before_jiffies(req->create_time + fc->timeout.req_timeout); in fuse_request_expired() 48 static bool fuse_fpq_processing_expired(struct fuse_conn *fc, struct list_head *processing) in fuse_fpq_processing_expired() argument 53 if (fuse_request_expired(fc, &processing[i])) in fuse_fpq_processing_expired() 76 struct fuse_conn *fc = container_of(dwork, struct fuse_conn, in fuse_check_timeout() local 78 struct fuse_iqueue *fiq = &fc->iq; in fuse_check_timeout() 83 if (!atomic_read(&fc->num_waiting)) in fuse_check_timeout() 87 expired = fuse_request_expired(fc, &fiq->pending); in fuse_check_timeout() 92 spin_lock(&fc->bg_lock); in fuse_check_timeout() 93 expired = fuse_request_expired(fc, &fc->bg_queue); in fuse_check_timeout() [all …]
|
| H A D | backing.c | 35 void fuse_backing_files_init(struct fuse_conn *fc) in fuse_backing_files_init() argument 37 idr_init(&fc->backing_files_map); in fuse_backing_files_init() 40 static int fuse_backing_id_alloc(struct fuse_conn *fc, struct fuse_backing *fb) in fuse_backing_id_alloc() argument 45 spin_lock(&fc->lock); in fuse_backing_id_alloc() 47 id = idr_alloc_cyclic(&fc->backing_files_map, fb, 1, 0, GFP_ATOMIC); in fuse_backing_id_alloc() 48 spin_unlock(&fc->lock); in fuse_backing_id_alloc() 55 static struct fuse_backing *fuse_backing_id_remove(struct fuse_conn *fc, in fuse_backing_id_remove() argument 60 spin_lock(&fc->lock); in fuse_backing_id_remove() 61 fb = idr_remove(&fc->backing_files_map, id); in fuse_backing_id_remove() 62 spin_unlock(&fc->lock); in fuse_backing_id_remove() [all …]
|
| H A D | dev_uring.c | 54 struct fuse_conn *fc = ring->fc; in fuse_uring_flush_bg() local 57 lockdep_assert_held(&fc->bg_lock); in fuse_uring_flush_bg() 60 * Allow one bg request per queue, ignoring global fc limits. in fuse_uring_flush_bg() 65 while ((fc->active_background < fc->max_background || in fuse_uring_flush_bg() 72 fc->active_background++; in fuse_uring_flush_bg() 84 struct fuse_conn *fc = ring->fc; in fuse_uring_req_end() local 91 spin_lock(&fc->bg_lock); in fuse_uring_req_end() 93 spin_unlock(&fc->bg_lock); in fuse_uring_req_end() 125 struct fuse_conn *fc = ring->fc; in fuse_uring_abort_end_requests() local 134 WARN_ON_ONCE(ring->fc->max_background != UINT_MAX); in fuse_uring_abort_end_requests() [all …]
|
| H A D | acl.c | 14 static struct posix_acl *__fuse_get_acl(struct fuse_conn *fc, in __fuse_get_acl() argument 28 if (fc->no_getxattr) in __fuse_get_acl() 43 acl = posix_acl_from_xattr(fc->user_ns, value, size); in __fuse_get_acl() 45 (size == -EOPNOTSUPP && fc->no_getxattr)) in __fuse_get_acl() 56 static inline bool fuse_no_acl(const struct fuse_conn *fc, in fuse_no_acl() argument 64 return !fc->posix_acl && (i_user_ns(inode) != &init_user_ns); in fuse_no_acl() 71 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_get_acl() local 73 if (fuse_no_acl(fc, inode)) in fuse_get_acl() 76 return __fuse_get_acl(fc, inode, type, false); in fuse_get_acl() 81 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_get_inode_acl() local [all …]
|
| /linux/include/linux/ |
| H A D | fs_context.h | 116 void (*free)(struct fs_context *fc); 117 int (*dup)(struct fs_context *fc, struct fs_context *src_fc); 118 int (*parse_param)(struct fs_context *fc, struct fs_parameter *param); 119 int (*parse_monolithic)(struct fs_context *fc, void *data); 120 int (*get_tree)(struct fs_context *fc); 121 int (*reconfigure)(struct fs_context *fc); 135 extern struct fs_context *vfs_dup_fs_context(struct fs_context *fc); 136 extern int vfs_parse_fs_param(struct fs_context *fc, struct fs_parameter *param); 137 extern int vfs_parse_fs_qstr(struct fs_context *fc, const char *key, 139 static inline int vfs_parse_fs_string(struct fs_context *fc, const char *key, in vfs_parse_fs_string() argument [all …]
|
| H A D | nvme-fc-driver.h | 14 * ********************** FC-NVME LS API ******************** 16 * Data structures used by both FC-NVME hosts and FC-NVME 17 * targets to perform FC-NVME LS requests or transmit 25 * to the LLDD to perform a NVME-FC LS request and obtain 27 * Used by nvme-fc transport (host) to send LS's such as 30 * Used by the nvmet-fc transport (controller) to send 71 * to request the transmit the NVME-FC LS response to a 72 * NVME-FC LS request. The structure originates in the LLDD 75 * FC exchange context for the NVME-FC LS request that was 77 * Used by the LLDD to pass the nvmet-fc transport (controller) [all …]
|
| /linux/drivers/mtd/ |
| H A D | mtdsuper.c | 25 static int mtd_get_sb(struct fs_context *fc, in mtd_get_sb() argument 33 sb = sget_dev(fc, MKDEV(MTD_BLOCK_MAJOR, mtd->index)); in mtd_get_sb() 57 ret = fill_super(sb, fc); in mtd_get_sb() 64 BUG_ON(fc->root); in mtd_get_sb() 65 fc->root = dget(sb->s_root); in mtd_get_sb() 76 static int mtd_get_sb_by_nr(struct fs_context *fc, int mtdnr, in mtd_get_sb_by_nr() argument 84 errorf(fc, "MTDSB: Device #%u doesn't appear to exist\n", mtdnr); in mtd_get_sb_by_nr() 88 return mtd_get_sb(fc, mtd, fill_super); in mtd_get_sb_by_nr() 93 * @fc: The filesystem context holding the parameters 96 int get_tree_mtd(struct fs_context *fc, in get_tree_mtd() argument [all …]
|
| /linux/drivers/scsi/esas2r/ |
| H A D | esas2r_flash.c | 137 struct esas2r_flash_context *fc = in esas2r_fmapi_callback() local 144 if (fc->sgc.cur_offset == NULL) in esas2r_fmapi_callback() 155 rq->interrupt_cb = fc->interrupt_cb; in esas2r_fmapi_callback() 169 (*fc->interrupt_cb)(a, rq); in esas2r_fmapi_callback() 179 struct esas2r_flash_context *fc = in build_flash_msg() local 181 struct esas2r_sg_context *sgc = &fc->sgc; in build_flash_msg() 185 if (fc->func == VDA_FLASH_BEGINW) { in build_flash_msg() 192 rq->interrupt_cb = fc->interrupt_cb; in build_flash_msg() 196 fc->func, in build_flash_msg() 198 fc->flsh_addr, in build_flash_msg() [all …]
|
| /linux/fs/proc/ |
| H A D | root.c | 60 static int proc_parse_hidepid_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_hidepid_param() argument 62 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_hidepid_param() 68 return invalf(fc, "proc: unexpected type of hidepid value\n"); in proc_parse_hidepid_param() 72 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string); in proc_parse_hidepid_param() 86 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string); in proc_parse_hidepid_param() 91 static int proc_parse_subset_param(struct fs_context *fc, char *value) in proc_parse_subset_param() argument 93 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_subset_param() 105 return invalf(fc, "proc: unsupported subset option - %s\n", value); in proc_parse_subset_param() 115 static int proc_parse_pidns_param(struct fs_context *fc, in proc_parse_pidns_param() argument 119 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_pidns_param() [all …]
|
| /linux/fs/nfs/ |
| H A D | fs_context.c | 360 static int nfs_validate_transport_protocol(struct fs_context *fc, in nfs_validate_transport_protocol() argument 386 return nfs_invalf(fc, "NFS: Unsupported transport protocol udp"); in nfs_validate_transport_protocol() 388 return nfs_invalf(fc, "NFS: Transport does not support xprtsec"); in nfs_validate_transport_protocol() 414 static int nfs_auth_info_add(struct fs_context *fc, in nfs_auth_info_add() argument 428 return nfs_invalf(fc, "NFS: too many sec= flavors"); in nfs_auth_info_add() 437 static int nfs_parse_security_flavors(struct fs_context *fc, in nfs_parse_security_flavors() argument 440 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_security_flavors() 485 return nfs_invalf(fc, "NFS: sec=%s option not recognized", p); in nfs_parse_security_flavors() 488 ret = nfs_auth_info_add(fc, &ctx->auth_info, pseudoflavor); in nfs_parse_security_flavors() 496 static int nfs_parse_xprtsec_policy(struct fs_context *fc, in nfs_parse_xprtsec_policy() argument [all …]
|
| /linux/fs/coda/ |
| H A D | inode.c | 92 static int coda_reconfigure(struct fs_context *fc) in coda_reconfigure() argument 94 sync_filesystem(fc->root->d_sb); in coda_reconfigure() 95 fc->sb_flags |= SB_NOATIME; in coda_reconfigure() 122 static int coda_set_idx(struct fs_context *fc, struct file *file) in coda_set_idx() argument 124 struct coda_fs_context *ctx = fc->fs_private; in coda_set_idx() 130 return invalf(fc, "coda: Not coda psdev"); in coda_set_idx() 134 return invalf(fc, "coda: Bad minor number"); in coda_set_idx() 139 static int coda_parse_fd(struct fs_context *fc, struct fs_parameter *param, in coda_parse_fd() argument 154 err = coda_set_idx(fc, file); in coda_parse_fd() 159 static int coda_parse_param(struct fs_context *fc, struct fs_parameter *param) in coda_parse_param() argument [all …]
|
| /linux/fs/sysfs/ |
| H A D | mount.c | 26 static int sysfs_get_tree(struct fs_context *fc) in sysfs_get_tree() argument 28 struct kernfs_fs_context *kfc = fc->fs_private; in sysfs_get_tree() 31 ret = kernfs_get_tree(fc); in sysfs_get_tree() 36 fc->root->d_sb->s_iflags |= SB_I_USERNS_VISIBLE; in sysfs_get_tree() 40 static void sysfs_fs_context_free(struct fs_context *fc) in sysfs_fs_context_free() argument 42 struct kernfs_fs_context *kfc = fc->fs_private; in sysfs_fs_context_free() 46 kernfs_free_fs_context(fc); in sysfs_fs_context_free() 55 static int sysfs_init_fs_context(struct fs_context *fc) in sysfs_init_fs_context() argument 60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context() 72 fc->fs_private = kfc; in sysfs_init_fs_context() [all …]
|
| /linux/fs/freevxfs/ |
| H A D | vxfs_super.c | 94 static int vxfs_reconfigure(struct fs_context *fc) in vxfs_reconfigure() argument 96 sync_filesystem(fc->root->d_sb); in vxfs_reconfigure() 97 fc->sb_flags |= SB_RDONLY; in vxfs_reconfigure() 125 static int vxfs_try_sb_magic(struct super_block *sbp, struct fs_context *fc, in vxfs_try_sb_magic() argument 131 int silent = fc->sb_flags & SB_SILENT; in vxfs_try_sb_magic() 138 warnf(fc, in vxfs_try_sb_magic() 149 infof(fc, in vxfs_try_sb_magic() 172 * @fc: filesytem context 184 static int vxfs_fill_super(struct super_block *sbp, struct fs_context *fc) in vxfs_fill_super() argument 191 int silent = fc->sb_flags & SB_SILENT; in vxfs_fill_super() [all …]
|
| /linux/sound/isa/gus/ |
| H A D | gus_volume.c | 131 /* The FC table above is a list of pairs. The first number in the pair */ 133 /* pair is the FC adjustment needed to change the pitch by the indexed */ 134 /* number of cents. The table was created for an FC of 32768. */ 137 /* by the FC before the LFO. This calculation also adjusts the output */ 139 /* is 2 * desired FC + 1. */ 183 unsigned int fc; 190 fc = (freq << 10) / rate; 191 if (fc > 97391L) { 192 fc = 97391; 193 pr_err("patch: (1) fc frequency overflow - %u\n", fc); [all …]
|
| /linux/fs/smb/client/ |
| H A D | fs_context.c | 217 cifs_parse_security_flavors(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) in cifs_parse_security_flavors() argument 231 cifs_errorf(fc, "sec=krb5p is not supported. Use sec=krb5,seal instead\n"); in cifs_parse_security_flavors() 257 cifs_errorf(fc, "bad security option: %s\n", value); in cifs_parse_security_flavors() 265 cifs_parse_upcall_target(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) in cifs_parse_upcall_target() argument 280 cifs_errorf(fc, "bad upcall target: %s\n", value); in cifs_parse_upcall_target() 297 cifs_parse_cache_flavor(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) in cifs_parse_cache_flavor() argument 333 cifs_errorf(fc, "bad cache= option: %s\n", value); in cifs_parse_cache_flavor() 347 static int parse_reparse_flavor(struct fs_context *fc, char *value, in parse_reparse_flavor() argument 366 cifs_errorf(fc, "bad reparse= option: %s\n", value); in parse_reparse_flavor() 384 static int parse_symlink_flavor(struct fs_context *fc, char *value, in parse_symlink_flavor() argument [all …]
|