| /linux/drivers/media/common/b2c2/ |
| H A D | flexcop.c | 47 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_start_feed() local 48 return flexcop_pid_feed_control(fc, dvbdmxfeed, 1); in flexcop_dvb_start_feed() 53 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_stop_feed() local 54 return flexcop_pid_feed_control(fc, dvbdmxfeed, 0); in flexcop_dvb_stop_feed() 57 static int flexcop_dvb_init(struct flexcop_device *fc) in flexcop_dvb_init() argument 59 int ret = dvb_register_adapter(&fc->dvb_adapter, in flexcop_dvb_init() 60 "FlexCop Digital TV device", fc->owner, in flexcop_dvb_init() 61 fc->dev, adapter_nr); in flexcop_dvb_init() 66 fc->dvb_adapter.priv = fc; in flexcop_dvb_init() 68 fc->demux.dmx.capabilities = (DMX_TS_FILTERING | DMX_SECTION_FILTERING in flexcop_dvb_init() [all …]
|
| 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 …]
|
| H A D | flexcop-i2c.c | 11 static int flexcop_i2c_operation(struct flexcop_device *fc, in flexcop_i2c_operation() argument 20 fc->write_ibi_reg(fc, tw_sm_c_100, ibi_zero); in flexcop_i2c_operation() 21 fc->write_ibi_reg(fc, tw_sm_c_100, *r100); /* initiating i2c operation */ in flexcop_i2c_operation() 24 r = fc->read_ibi_reg(fc, tw_sm_c_100); in flexcop_i2c_operation() 59 if (i2c->fc->dev_type == FC_SKY_REV27) in flexcop_i2c_read4() 62 ret = flexcop_i2c_operation(i2c->fc, &r100); in flexcop_i2c_read4() 66 ret = flexcop_i2c_operation(i2c->fc, &r100); in flexcop_i2c_read4() 76 r104 = i2c->fc->read_ibi_reg(i2c->fc, tw_sm_c_104); in flexcop_i2c_read4() 87 static int flexcop_i2c_write4(struct flexcop_device *fc, in flexcop_i2c_write4() argument 103 fc->write_ibi_reg(fc, tw_sm_c_104, r104); in flexcop_i2c_write4() [all …]
|
| H A D | flexcop-common.h | 50 struct flexcop_device *fc; member 104 int (*get_mac_addr) (struct flexcop_device *fc, int extended); 111 void flexcop_pass_dmx_data(struct flexcop_device *fc, u8 *buf, u32 len); 112 void flexcop_pass_dmx_packets(struct flexcop_device *fc, u8 *buf, u32 no); 118 void flexcop_device_exit(struct flexcop_device *fc); 119 void flexcop_reset_block_300(struct flexcop_device *fc); 126 int flexcop_dma_control_timer_irq(struct flexcop_device *fc, 128 int flexcop_dma_config(struct flexcop_device *fc, struct flexcop_dma *dma, 130 int flexcop_dma_xfer_control(struct flexcop_device *fc, 133 int flexcop_dma_config_timer(struct flexcop_device *fc, [all …]
|
| /linux/fs/ |
| H A D | fs_context.c | 47 static int vfs_parse_sb_flag(struct fs_context *fc, const char *key) in vfs_parse_sb_flag() argument 53 fc->sb_flags |= token; in vfs_parse_sb_flag() 54 fc->sb_flags_mask |= token; in vfs_parse_sb_flag() 60 fc->sb_flags &= ~token; in vfs_parse_sb_flag() 61 fc->sb_flags_mask |= token; in vfs_parse_sb_flag() 80 int vfs_parse_fs_param_source(struct fs_context *fc, struct fs_parameter *param) in vfs_parse_fs_param_source() argument 86 return invalf(fc, "Non-string source"); in vfs_parse_fs_param_source() 88 if (fc->source) in vfs_parse_fs_param_source() 89 return invalf(fc, "Multiple sources"); in vfs_parse_fs_param_source() 91 fc->source = param->string; 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 | 694 bool mount_capable(struct fs_context *fc) in mount_capable() argument 696 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) in mount_capable() 699 return ns_capable(fc->user_ns, CAP_SYS_ADMIN); in mount_capable() 734 struct super_block *sget_fc(struct fs_context *fc, in sget_fc() argument 740 struct user_namespace *user_ns = fc->global ? &init_user_ns : fc->user_ns; in sget_fc() 749 if (user_ns != &init_user_ns && !(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) { in sget_fc() 750 errorfc(fc, "VFS: Mounting from non-initial user namespace is not allowed"); in sget_fc() 757 hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) { in sget_fc() 758 if (test(old, fc)) in sget_fc() 764 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); 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/md/ |
| H A D | dm-flakey.c | 21 #define all_corrupt_bio_flags_match(bio, fc) \ argument 22 (((bio)->bi_opf & (fc)->corrupt_bio_flags) == (fc)->corrupt_bio_flags) 54 static int parse_features(struct dm_arg_set *as, struct flakey_c *fc, in parse_features() argument 89 if (test_and_set_bit(ERROR_READS, &fc->flags)) { in parse_features() 100 if (test_and_set_bit(DROP_WRITES, &fc->flags)) { in parse_features() 103 } else if (test_bit(ERROR_WRITES, &fc->flags)) { in parse_features() 115 if (test_and_set_bit(ERROR_WRITES, &fc->flags)) { in parse_features() 119 } else if (test_bit(DROP_WRITES, &fc->flags)) { in parse_features() 131 if (fc->corrupt_bio_byte) { in parse_features() 139 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error); in parse_features() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | definer.c | 115 #define HWS_CALC_HDR_SRC(fc, s_hdr) \ argument 117 (fc)->s_bit_mask = __mlx5_mask(fte_match_param, s_hdr); \ 118 (fc)->s_bit_off = __mlx5_dw_bit_off(fte_match_param, s_hdr); \ 119 (fc)->s_byte_off = MLX5_BYTE_OFF(fte_match_param, s_hdr); \ 122 #define HWS_CALC_HDR_DST(fc, d_hdr) \ argument 124 (fc)->bit_mask = __mlx5_mask(definer_hl, d_hdr); \ 125 (fc)->bit_off = __mlx5_dw_bit_off(definer_hl, d_hdr); \ 126 (fc)->byte_off = MLX5_BYTE_OFF(definer_hl, d_hdr); \ 129 #define HWS_CALC_HDR(fc, s_hdr, d_hdr) \ argument 131 HWS_CALC_HDR_SRC(fc, s_hdr); \ [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_objs(*fc->chains, count, GFP_KERNEL | __GFP_ZERO); in fence_chains_init() 120 if (!fc->chains) in fence_chains_init() 123 fc->fences = kvmalloc_objs(*fc->fences, count, GFP_KERNEL | __GFP_ZERO); in fence_chains_init() 124 if (!fc->fences) { in fence_chains_init() 129 fc->tail = NULL; in fence_chains_init() 131 fc->fences[i] = mock_fence(); in fence_chains_init() 132 if (!fc->fences[i]) { in fence_chains_init() 137 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init() 138 fc->fences[i], in fence_chains_init() [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 …]
|
| /linux/drivers/platform/x86/lenovo/ |
| H A D | yoga-tab2-pro-1380-fastcharger.c | 49 static int yt2_1380_fc_set_gpio_mode(struct yt2_1380_fc *fc, bool enable) in yt2_1380_fc_set_gpio_mode() argument 51 struct pinctrl_state *state = enable ? fc->gpio_state : fc->uart_state; in yt2_1380_fc_set_gpio_mode() 54 ret = pinctrl_select_state(fc->pinctrl, state); in yt2_1380_fc_set_gpio_mode() 56 dev_err(fc->dev, "Error %d setting pinctrl state\n", ret); in yt2_1380_fc_set_gpio_mode() 64 static bool yt2_1380_fc_dedicated_charger_connected(struct yt2_1380_fc *fc) in yt2_1380_fc_dedicated_charger_connected() argument 66 return extcon_get_state(fc->extcon, EXTCON_CHG_USB_DCP) > 0; in yt2_1380_fc_dedicated_charger_connected() 69 static bool yt2_1380_fc_fast_charger_connected(struct yt2_1380_fc *fc) in yt2_1380_fc_fast_charger_connected() argument 71 return extcon_get_state(fc->extcon, EXTCON_CHG_USB_FAST) > 0; in yt2_1380_fc_fast_charger_connected() 76 struct yt2_1380_fc *fc = container_of(work, struct yt2_1380_fc, work); in yt2_1380_fc_worker() local 80 if (yt2_1380_fc_fast_charger_connected(fc)) in yt2_1380_fc_worker() [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 | 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/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() 96 int get_tree_mtd(struct fs_context *fc, in get_tree_mtd() argument 98 struct fs_context *fc)) in get_tree_mtd() [all …]
|
| /linux/drivers/media/pci/b2c2/ |
| H A D | flexcop-dma.c | 42 int flexcop_dma_config(struct flexcop_device *fc, in flexcop_dma_config() argument 54 fc->write_ibi_reg(fc, dma1_000, v0x0); in flexcop_dma_config() 55 fc->write_ibi_reg(fc, dma1_004, v0x4); in flexcop_dma_config() 56 fc->write_ibi_reg(fc, dma1_00c, v0xc); in flexcop_dma_config() 58 fc->write_ibi_reg(fc, dma2_010, v0x0); in flexcop_dma_config() 59 fc->write_ibi_reg(fc, dma2_014, v0x4); in flexcop_dma_config() 60 fc->write_ibi_reg(fc, dma2_01c, v0xc); in flexcop_dma_config() 72 int flexcop_dma_xfer_control(struct flexcop_device *fc, in flexcop_dma_xfer_control() argument 92 v0x0 = fc->read_ibi_reg(fc, r0x0); in flexcop_dma_xfer_control() 93 v0xc = fc->read_ibi_reg(fc, r0xc); in flexcop_dma_xfer_control() [all …]
|
| H A D | flexcop-pci.c | 76 static flexcop_ibi_value flexcop_pci_read_ibi_reg(struct flexcop_device *fc, in flexcop_pci_read_ibi_reg() argument 79 struct flexcop_pci *fc_pci = fc->bus_specific; in flexcop_pci_read_ibi_reg() 91 static int flexcop_pci_write_ibi_reg(struct flexcop_device *fc, in flexcop_pci_write_ibi_reg() argument 94 struct flexcop_pci *fc_pci = fc->bus_specific; in flexcop_pci_write_ibi_reg() 109 struct flexcop_device *fc = fc_pci->fc_dev; in flexcop_pci_irq_check_work() local 111 if (fc->feedcount) { in flexcop_pci_irq_check_work() 119 spin_lock_irq(&fc->demux.lock); in flexcop_pci_irq_check_work() 120 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work() 122 flexcop_pid_feed_control(fc, feed, 0); in flexcop_pci_irq_check_work() 125 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work() [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 …]
|