| /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/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/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 | ieee80211.h | 353 static inline bool ieee80211_has_tods(__le16 fc) in ieee80211_has_tods() argument 355 return (fc & cpu_to_le16(IEEE80211_FCTL_TODS)) != 0; in ieee80211_has_tods() 363 static inline bool ieee80211_has_fromds(__le16 fc) in ieee80211_has_fromds() argument 365 return (fc & cpu_to_le16(IEEE80211_FCTL_FROMDS)) != 0; in ieee80211_has_fromds() 373 static inline bool ieee80211_has_a4(__le16 fc) in ieee80211_has_a4() argument 376 return (fc & tmp) == tmp; in ieee80211_has_a4() 384 static inline bool ieee80211_has_morefrags(__le16 fc) in ieee80211_has_morefrags() argument 386 return (fc & cpu_to_le16(IEEE80211_FCTL_MOREFRAGS)) != 0; in ieee80211_has_morefrags() 394 static inline bool ieee80211_has_retry(__le16 fc) in ieee80211_has_retry() argument 396 return (fc & cpu_to_le16(IEEE80211_FCTL_RETRY)) != 0; in ieee80211_has_retry() [all …]
|
| H A D | ieee802154.h | 330 static inline int ieee802154_is_data(__le16 fc) in ieee802154_is_data() argument 332 return (fc & cpu_to_le16(IEEE802154_FCTL_FTYPE)) == in ieee802154_is_data() 340 static inline bool ieee802154_is_secen(__le16 fc) in ieee802154_is_secen() argument 342 return fc & cpu_to_le16(IEEE802154_FCTL_SECEN); in ieee802154_is_secen() 349 static inline bool ieee802154_is_ackreq(__le16 fc) in ieee802154_is_ackreq() argument 351 return fc & cpu_to_le16(IEEE802154_FCTL_ACKREQ); in ieee802154_is_ackreq() 358 static inline bool ieee802154_is_intra_pan(__le16 fc) in ieee802154_is_intra_pan() argument 360 return fc & cpu_to_le16(IEEE802154_FCTL_INTRA_PAN); in ieee802154_is_intra_pan() 367 static inline __le16 ieee802154_daddr_mode(__le16 fc) in ieee802154_daddr_mode() argument 369 return fc & cpu_to_le16(IEEE802154_FCTL_DADDR); in ieee802154_daddr_mode() [all …]
|
| /linux/fs/ |
| 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 | 799 bool mount_capable(struct fs_context *fc) in mount_capable() argument 801 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) in mount_capable() 804 return ns_capable(fc->user_ns, CAP_SYS_ADMIN); in mount_capable() 839 struct super_block *sget_fc(struct fs_context *fc, in sget_fc() argument 845 struct user_namespace *user_ns = fc->global ? &init_user_ns : fc->user_ns; in sget_fc() 855 !(fc->fs_type->fs_flags & (FS_USERNS_MOUNT | FS_USERNS_DELEGATABLE))) { in sget_fc() 856 errorfc(fc, "VFS: Mounting from non-initial user namespace is not allowed"); in sget_fc() 863 hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) { in sget_fc() 867 if (test(old, fc)) in sget_fc() 874 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc() [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/arch/s390/include/asm/ |
| H A D | cpacf.h | 227 u8 *pb, u8 fc) in __cpacf_query_rre() argument 234 : [opc] "i" (opc), [fc] "i" (fc), in __cpacf_query_rre() 240 u8 m4, u8 *pb, u8 fc) in __cpacf_query_rrf() argument 247 : [opc] "i" (opc), [fc] "i" (fc), [r1] "i" (r1), in __cpacf_query_rrf() 253 u8 fc) in __cpacf_query_insn() argument 257 __cpacf_query_rre(CPACF_KDSA, 0, 2, pb, fc); in __cpacf_query_insn() 260 __cpacf_query_rre(CPACF_KIMD, 0, 2, pb, fc); in __cpacf_query_insn() 263 __cpacf_query_rre(CPACF_KLMD, 0, 2, pb, fc); in __cpacf_query_insn() 266 __cpacf_query_rre(CPACF_KM, 2, 4, pb, fc); in __cpacf_query_insn() 269 __cpacf_query_rrf(CPACF_KMA, 2, 4, 6, 0, pb, fc); in __cpacf_query_insn() [all …]
|
| /linux/Documentation/translations/zh_CN/dev-tools/ |
| H A D | kasan.rst | 202 ffff8801f44ec200: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb 203 ffff8801f44ec280: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc 206 ffff8801f44ec380: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb 207 ffff8801f44ec400: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
|
| /linux/fs/overlayfs/ |
| H A D | params.c | 205 static int ovl_parse_monolithic(struct fs_context *fc, void *data) in ovl_parse_monolithic() argument 207 return vfs_parse_monolithic_sep(fc, data, ovl_next_opt); in ovl_parse_monolithic() 295 static int ovl_mount_dir_check(struct fs_context *fc, const struct path *path, in ovl_mount_dir_check() argument 299 struct ovl_fs_context *ctx = fc->fs_private; in ovl_mount_dir_check() 300 struct ovl_fs *ofs = fc->s_fs_info; in ovl_mount_dir_check() 303 return invalfc(fc, "%s is not a directory", name); in ovl_mount_dir_check() 315 return invalfc(fc, "case-%ssensitive directory on %s is inconsistent", in ovl_mount_dir_check() 320 return invalfc(fc, "filesystem on %s not supported", name); in ovl_mount_dir_check() 329 return invalfc(fc, "filesystem on %s not supported as upperdir", name); in ovl_mount_dir_check() 331 return invalfc(fc, "filesystem on %s is read-only", name); in ovl_mount_dir_check() [all …]
|
| /linux/fs/autofs/ |
| H A D | inode.c | 159 static int autofs_parse_fd(struct fs_context *fc, struct autofs_sb_info *sbi, in autofs_parse_fd() argument 174 errorf(fc, "could not open pipe file descriptor"); in autofs_parse_fd() 180 errorf(fc, "Invalid/unusable pipe"); in autofs_parse_fd() 196 static int autofs_parse_param(struct fs_context *fc, struct fs_parameter *param) in autofs_parse_param() argument 198 struct autofs_fs_context *ctx = fc->fs_private; in autofs_parse_param() 199 struct autofs_sb_info *sbi = fc->s_fs_info; in autofs_parse_param() 203 opt = fs_parse(fc, autofs_param_specs, param, &result); in autofs_parse_param() 209 return autofs_parse_fd(fc, sbi, param, &result); in autofs_parse_param() 271 static int autofs_validate_protocol(struct fs_context *fc) in autofs_validate_protocol() argument 273 struct autofs_sb_info *sbi = fc->s_fs_info; in autofs_validate_protocol() [all …]
|
| /linux/fs/afs/ |
| H A D | super.c | 40 static int afs_init_fs_context(struct fs_context *fc); 223 static int afs_parse_source(struct fs_context *fc, struct fs_parameter *param) in afs_parse_source() argument 225 struct afs_fs_context *ctx = fc->fs_private; in afs_parse_source() 232 if (fc->source) in afs_parse_source() 233 return invalf(fc, "kAFS: Multiple sources not supported"); in afs_parse_source() 310 fc->source = param->string; in afs_parse_source() 318 static int afs_parse_param(struct fs_context *fc, struct fs_parameter *param) in afs_parse_param() argument 321 struct afs_fs_context *ctx = fc->fs_private; in afs_parse_param() 324 opt = fs_parse(fc, afs_fs_parameters, param, &result); in afs_parse_param() 330 return afs_parse_source(fc, param); in afs_parse_param() [all …]
|
| H A D | mntpt.c | 71 static int afs_mntpt_set_params(struct fs_context *fc, struct dentry *mntpt) in afs_mntpt_set_params() argument 73 struct afs_fs_context *ctx = fc->fs_private; in afs_mntpt_set_params() 80 if (fc->net_ns != src_as->net_ns) { in afs_mntpt_set_params() 81 put_net(fc->net_ns); in afs_mntpt_set_params() 82 fc->net_ns = get_net(src_as->net_ns); in afs_mntpt_set_params() 141 ret = vfs_parse_fs_qstr(fc, "source", in afs_mntpt_set_params() 161 struct fs_context *fc; in afs_mntpt_do_automount() local 167 fc = fs_context_for_submount(&afs_fs_type, mntpt); in afs_mntpt_do_automount() 168 if (IS_ERR(fc)) in afs_mntpt_do_automount() 169 return ERR_CAST(fc); in afs_mntpt_do_automount() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/tests/ |
| H A D | rx.c | 17 __le16 fc; member 38 .fc = __cpu_to_le16(IEEE80211_FTYPE_CTL), 48 .fc = __cpu_to_le16(IEEE80211_FTYPE_DATA | 59 .fc = __cpu_to_le16(IEEE80211_FTYPE_DATA), 70 .fc = __cpu_to_le16(IEEE80211_FTYPE_DATA | 81 .fc = __cpu_to_le16(IEEE80211_FTYPE_DATA | 97 .fc = __cpu_to_le16(IEEE80211_FTYPE_DATA | 113 .fc = __cpu_to_le16(IEEE80211_FTYPE_DATA | 130 .fc = __cpu_to_le16(IEEE80211_FTYPE_DATA | 144 .fc = __cpu_to_le16(IEEE80211_FTYPE_DATA), [all …]
|
| /linux/fs/jffs2/ |
| H A D | super.c | 189 static int jffs2_parse_param(struct fs_context *fc, struct fs_parameter *param) in jffs2_parse_param() argument 192 struct jffs2_sb_info *c = fc->s_fs_info; in jffs2_parse_param() 195 opt = fs_parse(fc, jffs2_fs_parameters, param, &result); in jffs2_parse_param() 206 return invalf(fc, "jffs2: rp_size unrepresentable"); in jffs2_parse_param() 217 static inline void jffs2_update_mount_opts(struct fs_context *fc) in jffs2_update_mount_opts() argument 219 struct jffs2_sb_info *new_c = fc->s_fs_info; in jffs2_update_mount_opts() 220 struct jffs2_sb_info *c = JFFS2_SB_INFO(fc->root->d_sb); in jffs2_update_mount_opts() 234 static int jffs2_reconfigure(struct fs_context *fc) in jffs2_reconfigure() argument 236 struct super_block *sb = fc->root->d_sb; in jffs2_reconfigure() 239 jffs2_update_mount_opts(fc); in jffs2_reconfigure() [all …]
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 580 struct prestera_kern_fib_cache *fc) in __prestera_kern_fib_cache_create_nhs() argument 587 if (!prestera_fib_info_is_nh(&fc->info)) in __prestera_kern_fib_cache_create_nhs() 590 nhs = prestera_kern_fib_info_nhs(&fc->info); in __prestera_kern_fib_cache_create_nhs() 595 nhc = prestera_kern_fib_info_nhc(&fc->fen4_info.info, i); in __prestera_kern_fib_cache_create_nhs() 604 fc->kern_neigh_cache_head[i].this = fc; in __prestera_kern_fib_cache_create_nhs() 605 fc->kern_neigh_cache_head[i].n_cache = n_cache; in __prestera_kern_fib_cache_create_nhs() 606 list_add(&fc->kern_neigh_cache_head[i].head, in __prestera_kern_fib_cache_create_nhs() 697 struct prestera_kern_fib_cache *fc, in __prestera_k_arb_fib_lpm_offload_set() argument 702 switch (fc->key.addr.v) { in __prestera_k_arb_fib_lpm_offload_set() 704 fri.fi = fc->fen4_info.fi; in __prestera_k_arb_fib_lpm_offload_set() [all …]
|
| /linux/fs/squashfs/ |
| H A D | super.c | 127 static int squashfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in squashfs_parse_param() argument 129 struct squashfs_mount_opts *opts = fc->fs_private; in squashfs_parse_param() 133 opt = fs_parse(fc, squashfs_fs_parameters, param, &result); in squashfs_parse_param() 153 struct fs_context *fc, in supported_squashfs_filesystem() argument 159 errorf(fc, "Major/Minor mismatch, older Squashfs %d.%d " in supported_squashfs_filesystem() 163 errorf(fc, "Major/Minor mismatch, trying to mount newer " in supported_squashfs_filesystem() 165 errorf(fc, "Please update your kernel"); in supported_squashfs_filesystem() 171 errorf(fc, "Filesystem uses \"%s\" compression. This is not supported", in supported_squashfs_filesystem() 180 static int squashfs_fill_super(struct super_block *sb, struct fs_context *fc) in squashfs_fill_super() argument 182 struct squashfs_mount_opts *opts = fc->fs_private; in squashfs_fill_super() [all …]
|
| /linux/arch/s390/crypto/ |
| H A D | aes_s390.c | 44 unsigned long fc; member 59 unsigned long fc; member 103 unsigned long fc; in ecb_aes_set_key() local 106 fc = (key_len == 16) ? CPACF_KM_AES_128 : in ecb_aes_set_key() 111 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in ecb_aes_set_key() 112 if (!sctx->fc) in ecb_aes_set_key() 128 if (unlikely(!sctx->fc)) in ecb_aes_crypt() 135 cpacf_km(sctx->fc | modifier, sctx->key, in ecb_aes_crypt() 199 unsigned long fc; in cbc_aes_set_key() local 202 fc = (key_len == 16) ? CPACF_KMC_AES_128 : in cbc_aes_set_key() [all …]
|
| /linux/net/ieee802154/ |
| H A D | header_ops.c | 83 struct ieee802154_hdr_fc *fc = &hdr->fc; in ieee802154_hdr_push() local 87 fc->dest_addr_mode = hdr->dest.mode; in ieee802154_hdr_push() 94 fc->source_addr_mode = hdr->source.mode; in ieee802154_hdr_push() 98 fc->intra_pan = true; in ieee802154_hdr_push() 100 rc = ieee802154_hdr_push_addr(buf + pos, &hdr->source, fc->intra_pan); in ieee802154_hdr_push() 105 if (fc->security_enabled) { in ieee802154_hdr_push() 106 fc->version = 1; in ieee802154_hdr_push() 115 memcpy(buf, fc, 2); in ieee802154_hdr_push() 257 dlen = ieee802154_hdr_addr_len(hdr->fc.dest_addr_mode, false); in ieee802154_hdr_minlen() 258 slen = ieee802154_hdr_addr_len(hdr->fc.source_addr_mode, in ieee802154_hdr_minlen() [all …]
|
| /linux/fs/ceph/ |
| H A D | super.c | 256 struct fs_context *fc) in ceph_parse_old_source() argument 259 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_old_source() 263 return invalfc(fc, "separator ':' missing in source"); in ceph_parse_old_source() 266 pctx->copts, fc->log.log, ','); in ceph_parse_old_source() 275 struct fs_context *fc) in ceph_parse_new_source() argument 279 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_new_source() 292 return invalfc(fc, "missing cluster fsid"); in ceph_parse_new_source() 303 return invalfc(fc, "missing file system name"); in ceph_parse_new_source() 306 return invalfc(fc, "Invalid FSID"); in ceph_parse_new_source() 312 return invalfc(fc, "Mismatching mds_namespace"); in ceph_parse_new_source() [all …]
|
| /linux/sound/isa/gus/ |
| H A D | gus_volume.c | 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); 195 fc = (fc * 44100UL) / mix_rate; 197 fc <<= 1; 198 if (fc > 65535L) { 199 fc = 65535; 200 pr_err("patch: (2) fc frequency overflow - %u\n", fc); [all …]
|
| /linux/include/net/ |
| H A D | mac802154.h | 237 __le16 fc; in ieee802154_get_fc_from_skb() local 245 memcpy(&fc, skb_mac_header(skb), IEEE802154_FC_LEN); in ieee802154_get_fc_from_skb() 246 return fc; in ieee802154_get_fc_from_skb() 254 static inline unsigned char *ieee802154_skb_dst_pan(__le16 fc, in ieee802154_skb_dst_pan() argument 259 switch (ieee802154_daddr_mode(fc)) { in ieee802154_skb_dst_pan() 283 static inline unsigned char *ieee802154_skb_src_pan(__le16 fc, in ieee802154_skb_src_pan() argument 288 switch (ieee802154_saddr_mode(fc)) { in ieee802154_skb_src_pan() 297 if (ieee802154_is_intra_pan(fc)) { in ieee802154_skb_src_pan() 298 src_pan = ieee802154_skb_dst_pan(fc, skb); in ieee802154_skb_src_pan() 302 switch (ieee802154_daddr_mode(fc)) { in ieee802154_skb_src_pan() [all …]
|