| /kernel/liteos_a/fs/fat/virpart/src/ |
| D | virpartff.c | 43 #define ENTER_FF(fs) do { if (!lock_fs(fs)) return FR_TIMEOUT; } while (0) argument 44 #define LEAVE_FF(fs, res) do { unlock_fs(fs, res); return res; } while (0) argument 46 #define ENTER_FF(fs) argument 47 #define LEAVE_FF(fs, res) return (res) argument 67 FATFS *fs = obj->fs; in follow_virentry() local 85 for (i = 0; i < fs->vir_amount; i++) { in follow_virentry() 86 if (!CHILDFS(fs, i)) { in follow_virentry() 89 if (memcmp((CHILDFS(fs, i))->namelabel, keyword, _MAX_ENTRYLENGTH + 1) == 0) { in follow_virentry() 90 obj->fs = CHILDFS(fs, i); in follow_virentry() 102 FATFS fs; in f_checkname() local [all …]
|
| /kernel/linux/linux-5.10/drivers/block/ |
| D | swim3.c | 208 #define swim3_err(fmt, arg...) dev_err(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 209 #define swim3_warn(fmt, arg...) dev_warn(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 210 #define swim3_info(fmt, arg...) dev_info(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 213 #define swim3_dbg(fmt, arg...) dev_dbg(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 236 static void seek_track(struct floppy_state *fs, int n); 238 static void act(struct floppy_state *fs); 245 static int grab_drive(struct floppy_state *fs, enum swim_state state, 247 static void release_drive(struct floppy_state *fs); 248 static int fd_eject(struct floppy_state *fs); 257 static bool swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes) in swim3_end_request() argument [all …]
|
| D | swim.c | 424 static inline int swim_track(struct floppy_state *fs, int track) in swim_track() argument 426 struct swim __iomem *base = fs->swd->base; in swim_track() 429 ret = swim_seek(base, track - fs->track); in swim_track() 432 fs->track = track; in swim_track() 435 fs->track = 0; in swim_track() 441 static int floppy_eject(struct floppy_state *fs) in floppy_eject() argument 443 struct swim __iomem *base = fs->swd->base; in floppy_eject() 445 swim_drive(base, fs->location); in floppy_eject() 449 fs->disk_in = 0; in floppy_eject() 450 fs->ejected = 1; in floppy_eject() [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | fs_struct.c | 15 void set_fs_root(struct fs_struct *fs, const struct path *path) in set_fs_root() argument 20 spin_lock(&fs->lock); in set_fs_root() 21 write_seqcount_begin(&fs->seq); in set_fs_root() 22 old_root = fs->root; in set_fs_root() 23 fs->root = *path; in set_fs_root() 24 write_seqcount_end(&fs->seq); in set_fs_root() 25 spin_unlock(&fs->lock); in set_fs_root() 34 void set_fs_pwd(struct fs_struct *fs, const struct path *path) in set_fs_pwd() argument 39 spin_lock(&fs->lock); in set_fs_pwd() 40 write_seqcount_begin(&fs->seq); in set_fs_pwd() [all …]
|
| D | filesystems.c | 38 struct file_system_type *get_filesystem(struct file_system_type *fs) in get_filesystem() argument 40 __module_get(fs->owner); in get_filesystem() 41 return fs; in get_filesystem() 44 void put_filesystem(struct file_system_type *fs) in put_filesystem() argument 46 module_put(fs->owner); in put_filesystem() 72 int register_filesystem(struct file_system_type * fs) in register_filesystem() argument 77 if (fs->parameters && in register_filesystem() 78 !fs_validate_description(fs->name, fs->parameters)) in register_filesystem() 81 BUG_ON(strchr(fs->name, '.')); in register_filesystem() 82 if (fs->next) in register_filesystem() [all …]
|
| D | Kconfig | 23 source "fs/ext2/Kconfig" 24 source "fs/ext4/Kconfig" 25 source "fs/hmdfs/Kconfig" 26 source "fs/sharefs/Kconfig" 27 source "fs/jbd2/Kconfig" 36 source "fs/reiserfs/Kconfig" 37 source "fs/jfs/Kconfig" 39 source "fs/xfs/Kconfig" 40 source "fs/gfs2/Kconfig" 41 source "fs/ocfs2/Kconfig" [all …]
|
| /kernel/liteos_a/fs/vfs/ |
| D | Makefile | 34 $(LITEOSTOPDIR)/fs/vfs/mount.c \ 35 $(LITEOSTOPDIR)/fs/vfs/vnode.c \ 36 $(LITEOSTOPDIR)/fs/vfs/path_cache.c \ 37 $(LITEOSTOPDIR)/fs/vfs/vnode_hash.c \ 38 $(LITEOSTOPDIR)/fs/vfs/epoll/fs_epoll.c \ 39 $(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_close.c \ 40 $(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dup2.c \ 41 $(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dup.c \ 42 $(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dupfd2.c \ 43 $(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dupfd.c \ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_filter.c | 75 set_wr_txq(skb, CPL_PRIORITY_CONTROL, f->fs.val.iport & 0x3); in set_tcb_field() 168 u8 *nat_lp = (u8 *)&f->fs.nat_lport; in set_nat_params() 169 u8 *nat_fp = (u8 *)&f->fs.nat_fport; in set_nat_params() 172 if (f->fs.type) { in set_nat_params() 174 WORD_MASK, f->fs.nat_lip[15] | in set_nat_params() 175 f->fs.nat_lip[14] << 8 | in set_nat_params() 176 f->fs.nat_lip[13] << 16 | in set_nat_params() 177 (u64)f->fs.nat_lip[12] << 24, 1); in set_nat_params() 180 WORD_MASK, f->fs.nat_lip[11] | in set_nat_params() 181 f->fs.nat_lip[10] << 8 | in set_nat_params() [all …]
|
| D | cxgb4_tc_flower.c | 128 static void cxgb4_action_natmode_tweak(struct ch_filter_specification *fs, in cxgb4_action_natmode_tweak() argument 140 fs->nat_mode = cxgb4_natmode_config_array[i].natmode; in cxgb4_action_natmode_tweak() 164 struct ch_filter_specification *fs) in cxgb4_process_flow_match() argument 193 fs->type = 1; in cxgb4_process_flow_match() 195 fs->val.ethtype = ethtype_key; in cxgb4_process_flow_match() 196 fs->mask.ethtype = ethtype_mask; in cxgb4_process_flow_match() 197 fs->val.proto = match.key->ip_proto; in cxgb4_process_flow_match() 198 fs->mask.proto = match.mask->ip_proto; in cxgb4_process_flow_match() 205 fs->type = 0; in cxgb4_process_flow_match() 206 memcpy(&fs->val.lip[0], &match.key->dst, sizeof(match.key->dst)); in cxgb4_process_flow_match() [all …]
|
| D | cxgb4_tc_u32.c | 45 struct ch_filter_specification *fs, in fill_match_fields() argument 75 err = entry[j].val(fs, val, mask); in fill_match_fields() 91 struct ch_filter_specification *fs, in fill_action_fields() argument 110 fs->action = FILTER_DROP; in fill_action_fields() 125 fs->action = FILTER_SWITCH; in fill_action_fields() 126 fs->eport = i; in fill_action_fields() 155 struct ch_filter_specification fs; in cxgb4_config_knode() local 198 memset(&fs, 0, sizeof(fs)); in cxgb4_config_knode() 201 fs.prio = 1; in cxgb4_config_knode() 202 fs.tc_prio = cls->common.prio; in cxgb4_config_knode() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/st/ |
| D | clkgen-fsyn.c | 72 unsigned long output, struct stm_fs *fs); 260 static int clk_fs660c32_vco_get_rate(unsigned long input, struct stm_fs *fs, in clk_fs660c32_vco_get_rate() argument 263 unsigned long nd = fs->ndiv + 16; /* ndiv value */ in clk_fs660c32_vco_get_rate() 288 unsigned long output, struct stm_fs *fs) in clk_fs660c32_vco_get_params() argument 311 fs->ndiv = n - 16; /* Converting formula value to reg value */ in clk_fs660c32_vco_get_params() 471 static void quadfs_fsynth_program_enable(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_enable() argument 477 CLKGEN_WRITE(fs, en[fs->chan], 1); in quadfs_fsynth_program_enable() 478 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_enable() 481 static void quadfs_fsynth_program_rate(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_rate() argument 490 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_rate() [all …]
|
| /kernel/liteos_a/fs/fat/os_adapt/ |
| D | fatfs.c | 179 static bool fatfs_is_last_cluster(FATFS *fs, DWORD cclust) in fatfs_is_last_cluster() argument 181 switch (fs->fs_type) { in fatfs_is_last_cluster() 192 static int fatfs_sync(unsigned long mountflags, FATFS *fs) in fatfs_sync() argument 197 part = get_part((INT)fs->pdrv); in fatfs_sync() 259 static FRESULT init_cluster(DIR_FILE *pdfp, DIR *dp_new, FATFS *fs, int type, const char *target, D… in init_cluster() argument 276 result = sync_window(fs); /* Flush FAT */ in init_cluster() 284 dir = fs->win; in init_cluster() 286 dir = PARENTFS(fs)->win; in init_cluster() 289 sect = clst2sect(fs, *clust); in init_cluster() 290 mem_set(dir, 0, SS(fs)); in init_cluster() [all …]
|
| /kernel/liteos_a/fs/jffs2/ |
| D | Makefile | 39 $(TEMP_SRC_PATH)/fs/jffs2/background.c \ 40 $(TEMP_SRC_PATH)/fs/jffs2/build.c \ 41 $(TEMP_SRC_PATH)/fs/jffs2/compr.c \ 42 $(TEMP_SRC_PATH)/fs/jffs2/compr_rtime.c \ 43 $(TEMP_SRC_PATH)/fs/jffs2/compr_rubin.c \ 44 $(TEMP_SRC_PATH)/fs/jffs2/compr_zlib.c \ 45 $(TEMP_SRC_PATH)/fs/jffs2/debug.c \ 46 $(TEMP_SRC_PATH)/fs/jffs2/dir.c \ 47 $(TEMP_SRC_PATH)/fs/jffs2/erase.c \ 48 $(TEMP_SRC_PATH)/fs/jffs2/file.c \ [all …]
|
| D | BUILD.gn | 39 …path}/jffs2_build ]; then rm -r ${out_path}/jffs2_build; fi && mkdir -p ${out_path}/jffs2_build/fs" 40 cmd += " && cp ${linux_path}/fs/jffs2 ${out_path}/jffs2_build/fs/. -r" 51 "${out_path}/jffs2_build/fs/jffs2/background.c", 52 "${out_path}/jffs2_build/fs/jffs2/build.c", 53 "${out_path}/jffs2_build/fs/jffs2/compr.c", 54 "${out_path}/jffs2_build/fs/jffs2/compr_rtime.c", 55 "${out_path}/jffs2_build/fs/jffs2/compr_rubin.c", 56 "${out_path}/jffs2_build/fs/jffs2/compr_zlib.c", 57 "${out_path}/jffs2_build/fs/jffs2/debug.c", 58 "${out_path}/jffs2_build/fs/jffs2/dir.c", [all …]
|
| /kernel/linux/linux-5.10/Documentation/filesystems/ |
| D | api-summary.rst | 14 .. kernel-doc:: include/linux/fs.h 20 .. kernel-doc:: fs/dcache.c 29 .. kernel-doc:: fs/inode.c 32 .. kernel-doc:: fs/bad_inode.c 38 .. kernel-doc:: fs/super.c 44 .. kernel-doc:: fs/locks.c 47 .. kernel-doc:: fs/locks.c 53 .. kernel-doc:: fs/mpage.c 56 .. kernel-doc:: fs/namei.c 59 .. kernel-doc:: fs/buffer.c [all …]
|
| /kernel/linux/linux-5.10/tools/lib/api/fs/ |
| D | fs.c | 88 struct fs { struct 110 static struct fs fs__entries[] = { argument 149 static bool fs__read_mounts(struct fs *fs) in fs__read_mounts() argument 161 fs->path, type) == 2) { in fs__read_mounts() 163 if (strcmp(type, fs->name) == 0) in fs__read_mounts() 168 fs->checked = true; in fs__read_mounts() 169 return fs->found = found; in fs__read_mounts() 172 static int fs__valid_mount(const char *fs, long magic) in fs__valid_mount() argument 176 if (statfs(fs, &st_fs) < 0) in fs__valid_mount() 184 static bool fs__check_mounts(struct fs *fs) in fs__check_mounts() argument [all …]
|
| /kernel/linux/linux-5.10/include/math-emu/ |
| D | op-common.h | 36 #define _FP_UNPACK_CANONICAL(fs, wc, X) \ argument 41 _FP_FRAC_HIGH_RAW_##fs(X) |= _FP_IMPLBIT_##fs; \ 43 X##_e -= _FP_EXPBIAS_##fs; \ 55 _shift -= _FP_FRACXBITS_##fs; \ 57 X##_e -= _FP_EXPBIAS_##fs - 1 + _shift; \ 68 case _FP_EXPMAX_##fs: \ 75 if (!(_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs)) \ 89 #define _FP_PACK_CANONICAL(fs, wc, X) \ argument 94 X##_e += _FP_EXPBIAS_##fs; \ 98 if (_FP_FRAC_OVERP_##wc(fs, X)) \ [all …]
|
| D | op-1.h | 60 #define _FP_FRAC_OVERP_1(fs,X) (X##_f & _FP_OVERFLOW_##fs) argument 61 #define _FP_FRAC_CLEAR_OVERP_1(fs,X) (X##_f &= ~_FP_OVERFLOW_##fs) argument 75 #define _FP_UNPACK_RAW_1(fs, X, val) \ argument 77 union _FP_UNION_##fs _flo; _flo.flt = (val); \ 84 #define _FP_UNPACK_RAW_1_P(fs, X, val) \ argument 86 union _FP_UNION_##fs *_flo = \ 87 (union _FP_UNION_##fs *)(val); \ 98 #define _FP_PACK_RAW_1(fs, val, X) \ argument 100 union _FP_UNION_##fs _flo; \ 109 #define _FP_PACK_RAW_1_P(fs, val, X) \ argument [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_fs_ethtool.c | 58 struct ethtool_rx_flow_spec *fs, in get_flow_table() argument 69 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in get_flow_table() 76 eth_ft = &priv->fs.ethtool.l3_l4_ft[prio]; in get_flow_table() 82 eth_ft = &priv->fs.ethtool.l3_l4_ft[prio]; in get_flow_table() 87 eth_ft = &priv->fs.ethtool.l2_ft[prio]; in get_flow_table() 212 parse_tcp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp4() argument 214 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.tcp_ip4_spec; in parse_tcp4() 215 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.tcp_ip4_spec; in parse_tcp4() 225 parse_udp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp4() argument 227 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.udp_ip4_spec; in parse_udp4() [all …]
|
| /kernel/linux/linux-5.10/fs/fuse/ |
| D | virtio_fs.c | 125 struct virtio_fs *fs = vq->vdev->priv; in vq_to_fsvq() local 127 return &fs->vqs[vq->index]; in vq_to_fsvq() 159 static void virtio_fs_put(struct virtio_fs *fs) in virtio_fs_put() argument 161 kref_put(&fs->refcount, release_virtio_fs_obj); in virtio_fs_put() 194 static void virtio_fs_drain_all_queues_locked(struct virtio_fs *fs) in virtio_fs_drain_all_queues_locked() argument 199 for (i = 0; i < fs->nvqs; i++) { in virtio_fs_drain_all_queues_locked() 200 fsvq = &fs->vqs[i]; in virtio_fs_drain_all_queues_locked() 205 static void virtio_fs_drain_all_queues(struct virtio_fs *fs) in virtio_fs_drain_all_queues() argument 214 virtio_fs_drain_all_queues_locked(fs); in virtio_fs_drain_all_queues() 218 static void virtio_fs_start_all_queues(struct virtio_fs *fs) in virtio_fs_start_all_queues() argument [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-fs-nilfs2 | 2 What: /sys/fs/nilfs2/features/revision 10 What: /sys/fs/nilfs2/features/README 14 Describe attributes of /sys/fs/nilfs2/features group. 16 What: /sys/fs/nilfs2/<device>/revision 24 What: /sys/fs/nilfs2/<device>/blocksize 30 What: /sys/fs/nilfs2/<device>/device_size 36 What: /sys/fs/nilfs2/<device>/free_blocks 42 What: /sys/fs/nilfs2/<device>/uuid 48 What: /sys/fs/nilfs2/<device>/volume_name 54 What: /sys/fs/nilfs2/<device>/README [all …]
|
| /kernel/liteos_a/fs/ |
| D | Kconfig | 1 source "fs/vfs/Kconfig" 2 source "fs/fat/Kconfig" 3 source "fs/ramfs/Kconfig" 4 source "fs/romfs/Kconfig" 5 source "fs/nfs/Kconfig" 6 source "fs/proc/Kconfig" 7 #source "fs/jffs2/Kconfig" 8 source "fs/rootfs/Kconfig" 9 source "fs/patchfs/Kconfig" 10 source "fs/zpfs/Kconfig"
|
| /kernel/liteos_a/testsuites/unittest/process/fs/ |
| D | config.gni | 44 process_fs_include_dirs = [ "$TEST_UNITTEST_DIR/process/fs" ] 47 [ "$TEST_UNITTEST_DIR/process/fs/process_fs_test.cpp" ] 50 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_001.cpp", 51 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_002.cpp", 52 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_003.cpp", 53 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_004.cpp", 54 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_005.cpp", 55 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_007.cpp", 56 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_008.cpp", 57 "$TEST_UNITTEST_DIR/process/fs/smoke/It_process_fs_009.cpp", [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/ |
| D | bcm_sf2_cfp.c | 24 struct ethtool_rx_flow_spec fs; member 349 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_ipv4_rule_set() argument 364 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set() 375 ip_frag = !!(be32_to_cpu(fs->h_ext.data[0]) & 1); in bcm_sf2_cfp_ipv4_rule_set() 378 if (fs->flow_type & FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set() 379 vlan_tci = fs->h_ext.vlan_tci; in bcm_sf2_cfp_ipv4_rule_set() 380 vlan_m_tci = fs->m_ext.vlan_tci; in bcm_sf2_cfp_ipv4_rule_set() 384 if (fs->location == RX_CLS_LOC_ANY) in bcm_sf2_cfp_ipv4_rule_set() 388 rule_index = fs->location; in bcm_sf2_cfp_ipv4_rule_set() 393 input.fs = fs; in bcm_sf2_cfp_ipv4_rule_set() [all …]
|
| /kernel/linux/linux-5.10/sound/core/ |
| D | pcm_iec958.c | 15 unsigned int fs, ws; in create_iec958_consumer() local 22 fs = IEC958_AES3_CON_FS_32000; in create_iec958_consumer() 25 fs = IEC958_AES3_CON_FS_44100; in create_iec958_consumer() 28 fs = IEC958_AES3_CON_FS_48000; in create_iec958_consumer() 31 fs = IEC958_AES3_CON_FS_88200; in create_iec958_consumer() 34 fs = IEC958_AES3_CON_FS_96000; in create_iec958_consumer() 37 fs = IEC958_AES3_CON_FS_176400; in create_iec958_consumer() 40 fs = IEC958_AES3_CON_FS_192000; in create_iec958_consumer() 74 cs[3] = IEC958_AES3_CON_CLOCK_1000PPM | fs; in create_iec958_consumer()
|