Home
last modified time | relevance | path

Searched refs:fs (Results 1 - 25 of 3905) sorted by relevance

12345678910>>...157

/kernel/liteos_a/fs/fat/virpart/src/
H A Dvirpartff.c43 #define ENTER_FF(fs) do { if (!lock_fs(fs)) return FR_TIMEOUT; } while (0)
44 #define LEAVE_FF(fs, res) do { unlock_fs(fs, res); return res; } while (0)
46 #define ENTER_FF(fs)
47 #define LEAVE_FF(fs, res) return (res)
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, in follow_virentry()
102 FATFS fs; f_checkname() local
133 FATFS *fs = NULL; f_getfatfs() local
142 FatfsCheckBoundParam(FATFS *fs, DWORD clust) FatfsCheckBoundParam() argument
165 f_boundary(FATFS *fs, DWORD clust) f_boundary() argument
208 f_disvirfs(FATFS *fs) f_disvirfs() argument
224 f_unregvirfs(FATFS *fs) f_unregvirfs() argument
250 FatfsSetParentFs(FATFS *pfs, FATFS *fs) FatfsSetParentFs() argument
296 f_regvirfs(FATFS *fs) f_regvirfs() argument
342 FatfsCheckScanFatParam(FATFS *fs) FatfsCheckScanFatParam() argument
383 f_scanfat(FATFS *fs) f_scanfat() argument
415 FatfsCheckStart(BYTE *work, FATFS *fs, BYTE vol) FatfsCheckStart() argument
454 FatfsCheckPercent(FATFS *fs, WORD i) FatfsCheckPercent() argument
470 FatfsCheckPartClst(FATFS *fs, WORD i) FatfsCheckPartClst() argument
489 FatfsSetChildClst(BYTE *work, FATFS *fs, WORD i) FatfsSetChildClst() argument
512 f_checkvirpart(FATFS *fs, const TCHAR *path, BYTE vol) f_checkvirpart() argument
626 FatfsClacPartInfo(FATFS *fs, DOUBLE virpartper, UINT i) FatfsClacPartInfo() argument
668 f_makevirpart(FATFS *fs, const TCHAR *path, BYTE vol) f_makevirpart() argument
769 FATFS *fs = NULL; f_getvirfree() local
[all...]
/kernel/linux/linux-6.6/drivers/block/
H A Dswim3.c209 #define swim3_err(fmt, arg...) dev_err(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
210 #define swim3_warn(fmt, arg...) dev_warn(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
211 #define swim3_info(fmt, arg...) dev_info(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
214 #define swim3_dbg(fmt, arg...) dev_dbg(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
237 static void seek_track(struct floppy_state *fs, int n);
238 static void act(struct floppy_state *fs);
256 swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes) swim3_end_request() argument
272 swim3_select(struct floppy_state *fs, int sel) swim3_select() argument
284 swim3_action(struct floppy_state *fs, int action) swim3_action() argument
296 swim3_readbit(struct floppy_state *fs, int bit) swim3_readbit() argument
310 struct floppy_state *fs = hctx->queue->queuedata; swim3_queue_rq() local
361 set_timeout(struct floppy_state *fs, int nticks, void (*proc)(struct timer_list *t)) set_timeout() argument
372 scan_track(struct floppy_state *fs) scan_track() argument
385 seek_track(struct floppy_state *fs, int n) seek_track() argument
431 setup_transfer(struct floppy_state *fs) setup_transfer() argument
487 act(struct floppy_state *fs) act() argument
558 struct floppy_state *fs = from_timer(fs, t, timeout); scan_timeout() local
582 struct floppy_state *fs = from_timer(fs, t, timeout); seek_timeout() local
601 struct floppy_state *fs = from_timer(fs, t, timeout); settle_timeout() local
630 struct floppy_state *fs = from_timer(fs, t, timeout); xfer_timeout() local
657 struct floppy_state *fs = (struct floppy_state *) dev_id; swim3_interrupt() local
810 grab_drive(struct floppy_state *fs, enum swim_state state, int interruptible) grab_drive() argument
840 release_drive(struct floppy_state *fs) release_drive() argument
857 fd_eject(struct floppy_state *fs) fd_eject() argument
888 struct floppy_state *fs = bdev->bd_disk->private_data; floppy_locked_ioctl() local
927 struct floppy_state *fs = disk->private_data; floppy_open() local
1008 struct floppy_state *fs = disk->private_data; floppy_release() local
1027 struct floppy_state *fs = disk->private_data; floppy_check_events() local
1033 struct floppy_state *fs = disk->private_data; floppy_revalidate() local
1084 struct floppy_state *fs = macio_get_drvdata(mdev); swim3_mb_event() local
1104 struct floppy_state *fs = &floppy_states[index]; swim3_add_device() local
1192 struct floppy_state *fs; swim3_attach() local
[all...]
H A Dswim.c426 static inline int swim_track(struct floppy_state *fs, int track) in swim_track() argument
428 struct swim __iomem *base = fs->swd->base; in swim_track()
431 ret = swim_seek(base, track - fs->track); in swim_track()
434 fs->track = track; in swim_track()
437 fs->track = 0; in swim_track()
443 static int floppy_eject(struct floppy_state *fs) in floppy_eject() argument
445 struct swim __iomem *base = fs->swd->base; in floppy_eject()
447 swim_drive(base, fs->location); in floppy_eject()
451 fs->disk_in = 0; in floppy_eject()
452 fs in floppy_eject()
457 swim_read_sector(struct floppy_state *fs, int side, int track, int sector, unsigned char *buffer) swim_read_sector() argument
494 floppy_read_sectors(struct floppy_state *fs, int req_sector, int sectors_nb, unsigned char *buffer) floppy_read_sectors() argument
529 struct floppy_state *fs = hctx->queue->queuedata; swim_queue_rq() local
565 get_floppy_geometry(struct floppy_state *fs, int type, struct floppy_struct **g) get_floppy_geometry() argument
583 setup_medium(struct floppy_state *fs) setup_medium() argument
613 struct floppy_state *fs = disk->private_data; floppy_open() local
673 struct floppy_state *fs = disk->private_data; floppy_release() local
690 struct floppy_state *fs = bdev->bd_disk->private_data; floppy_ioctl() local
716 struct floppy_state *fs = bdev->bd_disk->private_data; floppy_getgeo() local
734 struct floppy_state *fs = disk->private_data; floppy_check_events() local
750 struct floppy_state *fs = &swd->unit[swd->floppy_count]; swim_add_floppy() local
774 swim_cleanup_floppy_disk(struct floppy_state *fs) swim_cleanup_floppy_disk() argument
[all...]
/kernel/linux/linux-5.10/drivers/block/
H A Dswim3.c208 #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);
257 swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes) swim3_end_request() argument
273 swim3_select(struct floppy_state *fs, int sel) swim3_select() argument
285 swim3_action(struct floppy_state *fs, int action) swim3_action() argument
297 swim3_readbit(struct floppy_state *fs, int bit) swim3_readbit() argument
311 struct floppy_state *fs = hctx->queue->queuedata; swim3_queue_rq() local
362 set_timeout(struct floppy_state *fs, int nticks, void (*proc)(struct timer_list *t)) set_timeout() argument
373 scan_track(struct floppy_state *fs) scan_track() argument
386 seek_track(struct floppy_state *fs, int n) seek_track() argument
416 setup_transfer(struct floppy_state *fs) setup_transfer() argument
470 act(struct floppy_state *fs) act() argument
541 struct floppy_state *fs = from_timer(fs, t, timeout); scan_timeout() local
565 struct floppy_state *fs = from_timer(fs, t, timeout); seek_timeout() local
584 struct floppy_state *fs = from_timer(fs, t, timeout); settle_timeout() local
613 struct floppy_state *fs = from_timer(fs, t, timeout); xfer_timeout() local
640 struct floppy_state *fs = (struct floppy_state *) dev_id; swim3_interrupt() local
793 grab_drive(struct floppy_state *fs, enum swim_state state, int interruptible) grab_drive() argument
823 release_drive(struct floppy_state *fs) release_drive() argument
840 fd_eject(struct floppy_state *fs) fd_eject() argument
871 struct floppy_state *fs = bdev->bd_disk->private_data; floppy_locked_ioctl() local
910 struct floppy_state *fs = bdev->bd_disk->private_data; floppy_open() local
991 struct floppy_state *fs = disk->private_data; floppy_release() local
1010 struct floppy_state *fs = disk->private_data; floppy_check_events() local
1016 struct floppy_state *fs = disk->private_data; floppy_revalidate() local
1067 struct floppy_state *fs = macio_get_drvdata(mdev); swim3_mb_event() local
1087 struct floppy_state *fs = &floppy_states[index]; swim3_add_device() local
1175 struct floppy_state *fs; swim3_attach() local
[all...]
/kernel/linux/linux-5.10/fs/
H A Dfs_struct.c5 #include <linux/fs.h>
12 * Replace the fs->{rootmnt,root} with {mnt,dentry}. Put the old values.
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()
31 * Replace the fs
34 set_fs_pwd(struct fs_struct *fs, const struct path *path) set_fs_pwd() argument
61 struct fs_struct *fs; chroot_fs_refs() local
88 free_fs_struct(struct fs_struct *fs) free_fs_struct() argument
97 struct fs_struct *fs = tsk->fs; exit_fs() local
114 struct fs_struct *fs = kmem_cache_alloc(fs_cachep, GFP_KERNEL); copy_fs_struct() local
135 struct fs_struct *fs = current->fs; unshare_fs_struct() local
[all...]
H A Dfilesystems.c3 * linux/fs/filesystems.c
11 #include <linux/fs.h>
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()
61 * @fs: the file system structure
72 int register_filesystem(struct file_system_type * fs) in register_filesystem() argument
77 if (fs in register_filesystem()
108 unregister_filesystem(struct file_system_type * fs) unregister_filesystem() argument
256 struct file_system_type *fs; __get_fs_type() local
268 struct file_system_type *fs; get_fs_type() local
[all...]
/kernel/linux/linux-6.6/fs/
H A Dfs_struct.c5 #include <linux/fs.h>
12 * Replace the fs->{rootmnt,root} with {mnt,dentry}. Put the old values.
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()
31 * Replace the fs
34 set_fs_pwd(struct fs_struct *fs, const struct path *path) set_fs_pwd() argument
61 struct fs_struct *fs; chroot_fs_refs() local
88 free_fs_struct(struct fs_struct *fs) free_fs_struct() argument
97 struct fs_struct *fs = tsk->fs; exit_fs() local
114 struct fs_struct *fs = kmem_cache_alloc(fs_cachep, GFP_KERNEL); copy_fs_struct() local
135 struct fs_struct *fs = current->fs; unshare_fs_struct() local
[all...]
H A Dfilesystems.c3 * linux/fs/filesystems.c
11 #include <linux/fs.h>
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()
61 * @fs: the file system structure
72 int register_filesystem(struct file_system_type * fs) in register_filesystem() argument
77 if (fs in register_filesystem()
108 unregister_filesystem(struct file_system_type * fs) unregister_filesystem() argument
263 struct file_system_type *fs; __get_fs_type() local
275 struct file_system_type *fs; get_fs_type() local
[all...]
/kernel/liteos_a/fs/vfs/
H A DMakefile34 $(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/vf
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs.c38 #include <linux/mlx5/fs.h>
74 static int mlx5e_add_l2_flow_rule(struct mlx5e_flow_steering *fs,
76 static void mlx5e_del_l2_flow_rule(struct mlx5e_flow_steering *fs,
109 struct dentry *mlx5e_fs_get_debugfs_root(struct mlx5e_flow_steering *fs) in mlx5e_fs_get_debugfs_root() argument
111 return fs->dfs_root; in mlx5e_fs_get_debugfs_root()
170 static int mlx5e_vport_context_update_vlans(struct mlx5e_flow_steering *fs) in mlx5e_vport_context_update_vlans() argument
180 for_each_set_bit(vlan, fs->vlan->active_cvlans, VLAN_N_VID) in mlx5e_vport_context_update_vlans()
183 max_list_size = 1 << MLX5_CAP_GEN(fs->mdev, log_max_vlan_list); in mlx5e_vport_context_update_vlans()
186 fs_warn(fs, "netdev vlans list size (%d) > (%d) max vport list size, some vlans will be dropped\n", in mlx5e_vport_context_update_vlans()
196 for_each_set_bit(vlan, fs in mlx5e_vport_context_update_vlans()
219 __mlx5e_add_vlan_rule(struct mlx5e_flow_steering *fs, enum mlx5e_vlan_rule_type rule_type, u16 vid, struct mlx5_flow_spec *spec) __mlx5e_add_vlan_rule() argument
292 mlx5e_add_vlan_rule(struct mlx5e_flow_steering *fs, enum mlx5e_vlan_rule_type rule_type, u16 vid) mlx5e_add_vlan_rule() argument
312 mlx5e_fs_del_vlan_rule(struct mlx5e_flow_steering *fs, enum mlx5e_vlan_rule_type rule_type, u16 vid) mlx5e_fs_del_vlan_rule() argument
350 mlx5e_fs_del_any_vid_rules(struct mlx5e_flow_steering *fs) mlx5e_fs_del_any_vid_rules() argument
356 mlx5e_fs_add_any_vid_rules(struct mlx5e_flow_steering *fs) mlx5e_fs_add_any_vid_rules() argument
388 mlx5e_add_vlan_trap(struct mlx5e_flow_steering *fs, int trap_id, int tir_num) mlx5e_add_vlan_trap() argument
405 mlx5e_remove_vlan_trap(struct mlx5e_flow_steering *fs) mlx5e_remove_vlan_trap() argument
413 mlx5e_add_mac_trap(struct mlx5e_flow_steering *fs, int trap_id, int tir_num) mlx5e_add_mac_trap() argument
430 mlx5e_remove_mac_trap(struct mlx5e_flow_steering *fs) mlx5e_remove_mac_trap() argument
438 mlx5e_enable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc) mlx5e_enable_cvlan_filter() argument
449 mlx5e_disable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc) mlx5e_disable_cvlan_filter() argument
460 mlx5e_vlan_rx_add_cvid(struct mlx5e_flow_steering *fs, u16 vid) mlx5e_vlan_rx_add_cvid() argument
473 mlx5e_vlan_rx_add_svid(struct mlx5e_flow_steering *fs, struct net_device *netdev, u16 vid) mlx5e_vlan_rx_add_svid() argument
491 mlx5e_fs_vlan_rx_add_vid(struct mlx5e_flow_steering *fs, struct net_device *netdev, __be16 proto, u16 vid) mlx5e_fs_vlan_rx_add_vid() argument
509 mlx5e_fs_vlan_rx_kill_vid(struct mlx5e_flow_steering *fs, struct net_device *netdev, __be16 proto, u16 vid) mlx5e_fs_vlan_rx_kill_vid() argument
530 mlx5e_fs_add_vlan_rules(struct mlx5e_flow_steering *fs) mlx5e_fs_add_vlan_rules() argument
547 mlx5e_del_vlan_rules(struct mlx5e_flow_steering *fs) mlx5e_del_vlan_rules() argument
575 mlx5e_execute_l2_action(struct mlx5e_flow_steering *fs, struct mlx5e_l2_hash_node *hn) mlx5e_execute_l2_action() argument
608 mlx5e_sync_netdev_addr(struct mlx5e_flow_steering *fs, struct net_device *netdev) mlx5e_sync_netdev_addr() argument
625 mlx5e_fill_addr_array(struct mlx5e_flow_steering *fs, int list_type, struct net_device *ndev, u8 addr_array[][ETH_ALEN], int size) mlx5e_fill_addr_array() argument
652 mlx5e_vport_context_update_addr_list(struct mlx5e_flow_steering *fs, struct net_device *netdev, int list_type) mlx5e_vport_context_update_addr_list() argument
698 mlx5e_vport_context_update(struct mlx5e_flow_steering *fs, struct net_device *netdev) mlx5e_vport_context_update() argument
710 mlx5e_apply_netdev_addr(struct mlx5e_flow_steering *fs) mlx5e_apply_netdev_addr() argument
723 mlx5e_handle_netdev_addr(struct mlx5e_flow_steering *fs, struct net_device *netdev) mlx5e_handle_netdev_addr() argument
744 mlx5e_add_promisc_rule(struct mlx5e_flow_steering *fs) mlx5e_add_promisc_rule() argument
770 mlx5e_create_promisc_table(struct mlx5e_flow_steering *fs) mlx5e_create_promisc_table() argument
802 mlx5e_del_promisc_rule(struct mlx5e_flow_steering *fs) mlx5e_del_promisc_rule() argument
810 mlx5e_destroy_promisc_table(struct mlx5e_flow_steering *fs) mlx5e_destroy_promisc_table() argument
819 mlx5e_fs_set_rx_mode_work(struct mlx5e_flow_steering *fs, struct net_device *netdev) mlx5e_fs_set_rx_mode_work() argument
878 mlx5e_fs_init_l2_addr(struct mlx5e_flow_steering *fs, struct net_device *netdev) mlx5e_fs_init_l2_addr() argument
891 mlx5e_set_inner_ttc_params(struct mlx5e_flow_steering *fs, struct mlx5e_rx_res *rx_res, struct ttc_params *ttc_params) mlx5e_set_inner_ttc_params() argument
914 mlx5e_set_ttc_params(struct mlx5e_flow_steering *fs, struct mlx5e_rx_res *rx_res, struct ttc_params *ttc_params, bool tunnel) mlx5e_set_ttc_params() argument
948 mlx5e_del_l2_flow_rule(struct mlx5e_flow_steering *fs, struct mlx5e_l2_rule *ai) mlx5e_del_l2_flow_rule() argument
957 mlx5e_add_l2_flow_rule(struct mlx5e_flow_steering *fs, struct mlx5e_l2_rule *ai, int type) mlx5e_add_l2_flow_rule() argument
1080 mlx5e_destroy_l2_table(struct mlx5e_flow_steering *fs) mlx5e_destroy_l2_table() argument
1085 mlx5e_create_l2_table(struct mlx5e_flow_steering *fs) mlx5e_create_l2_table() argument
1218 mlx5e_fs_create_vlan_table(struct mlx5e_flow_steering *fs) mlx5e_fs_create_vlan_table() argument
1257 mlx5e_destroy_vlan_table(struct mlx5e_flow_steering *fs) mlx5e_destroy_vlan_table() argument
1263 mlx5e_destroy_inner_ttc_table(struct mlx5e_flow_steering *fs) mlx5e_destroy_inner_ttc_table() argument
1270 mlx5e_destroy_ttc_table(struct mlx5e_flow_steering *fs) mlx5e_destroy_ttc_table() argument
1275 mlx5e_create_inner_ttc_table(struct mlx5e_flow_steering *fs, struct mlx5e_rx_res *rx_res) mlx5e_create_inner_ttc_table() argument
1291 mlx5e_create_ttc_table(struct mlx5e_flow_steering *fs, struct mlx5e_rx_res *rx_res) mlx5e_create_ttc_table() argument
1303 mlx5e_create_flow_steering(struct mlx5e_flow_steering *fs, struct mlx5e_rx_res *rx_res, const struct mlx5e_profile *profile, struct net_device *netdev) mlx5e_create_flow_steering() argument
1369 mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple, const struct mlx5e_profile *profile) mlx5e_destroy_flow_steering() argument
1381 mlx5e_fs_vlan_alloc(struct mlx5e_flow_steering *fs) mlx5e_fs_vlan_alloc() argument
1389 mlx5e_fs_vlan_free(struct mlx5e_flow_steering *fs) mlx5e_fs_vlan_free() argument
1394 mlx5e_fs_get_vlan(struct mlx5e_flow_steering *fs) mlx5e_fs_get_vlan() argument
1399 mlx5e_fs_tc_alloc(struct mlx5e_flow_steering *fs) mlx5e_fs_tc_alloc() argument
1407 mlx5e_fs_tc_free(struct mlx5e_flow_steering *fs) mlx5e_fs_tc_free() argument
1412 mlx5e_fs_get_tc(struct mlx5e_flow_steering *fs) mlx5e_fs_get_tc() argument
1418 mlx5e_fs_ethtool_alloc(struct mlx5e_flow_steering *fs) mlx5e_fs_ethtool_alloc() argument
1423 mlx5e_fs_ethtool_free(struct mlx5e_flow_steering *fs) mlx5e_fs_ethtool_free() argument
1428 mlx5e_fs_get_ethtool(struct mlx5e_flow_steering *fs) mlx5e_fs_get_ethtool() argument
1433 mlx5e_fs_ethtool_alloc(struct mlx5e_flow_steering *fs) mlx5e_fs_ethtool_alloc() argument
1435 mlx5e_fs_ethtool_free(struct mlx5e_flow_steering *fs) mlx5e_fs_ethtool_free() argument
1438 mlx5e_fs_debugfs_init(struct mlx5e_flow_steering *fs, struct dentry *dfs_root) mlx5e_fs_debugfs_init() argument
1452 struct mlx5e_flow_steering *fs; mlx5e_fs_init() local
1490 mlx5e_fs_cleanup(struct mlx5e_flow_steering *fs) mlx5e_fs_cleanup() argument
1501 mlx5e_fs_get_l2(struct mlx5e_flow_steering *fs) mlx5e_fs_get_l2() argument
1506 mlx5e_fs_get_ns(struct mlx5e_flow_steering *fs, bool egress) mlx5e_fs_get_ns() argument
1511 mlx5e_fs_set_ns(struct mlx5e_flow_steering *fs, struct mlx5_flow_namespace *ns, bool egress) mlx5e_fs_set_ns() argument
1519 mlx5e_fs_get_ttc(struct mlx5e_flow_steering *fs, bool inner) mlx5e_fs_get_ttc() argument
1524 mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner) mlx5e_fs_set_ttc() argument
1533 mlx5e_fs_get_arfs(struct mlx5e_flow_steering *fs) mlx5e_fs_get_arfs() argument
1538 mlx5e_fs_set_arfs(struct mlx5e_flow_steering *fs, struct mlx5e_arfs_tables *arfs) mlx5e_fs_set_arfs() argument
1544 mlx5e_fs_get_ptp(struct mlx5e_flow_steering *fs) mlx5e_fs_get_ptp() argument
1549 mlx5e_fs_set_ptp(struct mlx5e_flow_steering *fs, struct mlx5e_ptp_fs *ptp_fs) mlx5e_fs_set_ptp() argument
1554 mlx5e_fs_get_any(struct mlx5e_flow_steering *fs) mlx5e_fs_get_any() argument
1559 mlx5e_fs_set_any(struct mlx5e_flow_steering *fs, struct mlx5e_fs_any *any) mlx5e_fs_set_any() argument
1565 mlx5e_fs_get_accel_tcp(struct mlx5e_flow_steering *fs) mlx5e_fs_get_accel_tcp() argument
1570 mlx5e_fs_set_accel_tcp(struct mlx5e_flow_steering *fs, struct mlx5e_accel_fs_tcp *accel_tcp) mlx5e_fs_set_accel_tcp() argument
1576 mlx5e_fs_set_state_destroy(struct mlx5e_flow_steering *fs, bool state_destroy) mlx5e_fs_set_state_destroy() argument
1581 mlx5e_fs_set_vlan_strip_disable(struct mlx5e_flow_steering *fs, bool vlan_strip_disable) mlx5e_fs_set_vlan_strip_disable() argument
1587 mlx5e_fs_get_udp(struct mlx5e_flow_steering *fs) mlx5e_fs_get_udp() argument
1592 mlx5e_fs_set_udp(struct mlx5e_flow_steering *fs, struct mlx5e_fs_udp *udp) mlx5e_fs_set_udp() argument
1597 mlx5e_fs_get_mdev(struct mlx5e_flow_steering *fs) mlx5e_fs_get_mdev() argument
[all...]
H A Den_fs_ethtool.c33 #include <linux/mlx5/fs.h>
82 struct ethtool_rx_flow_spec *fs, in get_flow_table()
85 struct mlx5e_ethtool_steering *ethtool = mlx5e_fs_get_ethtool(priv->fs); in get_flow_table()
94 switch (flow_type_mask(fs->flow_type)) { in get_flow_table()
233 parse_tcp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp4() argument
235 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.tcp_ip4_spec; in parse_tcp4()
236 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.tcp_ip4_spec; in parse_tcp4()
246 parse_udp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp4() argument
248 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.udp_ip4_spec; in parse_udp4()
249 struct ethtool_tcpip4_spec *l4_val = &fs in parse_udp4()
81 get_flow_table(struct mlx5e_priv *priv, struct ethtool_rx_flow_spec *fs, int num_tuples) get_flow_table() argument
259 parse_ip4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) parse_ip4() argument
274 parse_ip6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) parse_ip6() argument
289 parse_tcp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) parse_tcp6() argument
302 parse_udp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) parse_udp6() argument
315 parse_ether(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) parse_ether() argument
346 set_flow_attrs(u32 *match_c, u32 *match_v, struct ethtool_rx_flow_spec *fs) set_flow_attrs() argument
422 flow_get_tirn(struct mlx5e_priv *priv, struct mlx5e_ethtool_rule *eth_rule, struct ethtool_rx_flow_spec *fs, u32 rss_context, u32 *tirn) flow_get_tirn() argument
457 add_ethtool_flow_rule(struct mlx5e_priv *priv, struct mlx5e_ethtool_rule *eth_rule, struct mlx5_flow_table *ft, struct ethtool_rx_flow_spec *fs, u32 rss_context) add_ethtool_flow_rule() argument
508 del_ethtool_rule(struct mlx5e_flow_steering *fs, struct mlx5e_ethtool_rule *eth_rule) del_ethtool_rule() argument
558 validate_ethter(struct ethtool_rx_flow_spec *fs) validate_ethter() argument
572 validate_tcpudp4(struct ethtool_rx_flow_spec *fs) validate_tcpudp4() argument
592 validate_ip4(struct ethtool_rx_flow_spec *fs) validate_ip4() argument
610 validate_ip6(struct ethtool_rx_flow_spec *fs) validate_ip6() argument
628 validate_tcpudp6(struct ethtool_rx_flow_spec *fs) validate_tcpudp6() argument
650 validate_vlan(struct ethtool_rx_flow_spec *fs) validate_vlan() argument
663 validate_flow(struct mlx5e_priv *priv, struct ethtool_rx_flow_spec *fs) validate_flow() argument
724 mlx5e_ethtool_flow_replace(struct mlx5e_priv *priv, struct ethtool_rx_flow_spec *fs, u32 rss_context) mlx5e_ethtool_flow_replace() argument
850 mlx5e_ethtool_cleanup_steering(struct mlx5e_flow_steering *fs) mlx5e_ethtool_cleanup_steering() argument
860 mlx5e_ethtool_init_steering(struct mlx5e_flow_steering *fs) mlx5e_ethtool_init_steering() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs.h100 int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs,
102 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple);
103 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs);
104 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs);
108 static inline int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, in mlx5e_arfs_create_tables() argument
111 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables() argument
112 static inline int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable() argument
114 static inline int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable() argument
127 void mlx5e_set_ttc_params(struct mlx5e_flow_steering *fs,
131 void mlx5e_destroy_ttc_table(struct mlx5e_flow_steering *fs);
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c75 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 in set_nat_params()
248 validate_filter(struct net_device *dev, struct ch_filter_specification *fs) validate_filter() argument
326 get_filter_steerq(struct net_device *dev, struct ch_filter_specification *fs) get_filter_steerq() argument
1056 fill_default_mask(struct ch_filter_specification *fs) fill_default_mask() argument
1151 is_filter_exact_match(struct adapter *adap, struct ch_filter_specification *fs) is_filter_exact_match() argument
1236 hash_filter_ntuple(struct ch_filter_specification *fs, struct net_device *dev) hash_filter_ntuple() argument
1369 cxgb4_set_hash_filter(struct net_device *dev, struct ch_filter_specification *fs, struct filter_ctx *ctx) cxgb4_set_hash_filter() argument
1528 __cxgb4_set_filter(struct net_device *dev, int ftid, struct ch_filter_specification *fs, struct filter_ctx *ctx) __cxgb4_set_filter() argument
1800 __cxgb4_del_filter(struct net_device *dev, int filter_id, struct ch_filter_specification *fs, struct filter_ctx *ctx) __cxgb4_del_filter() argument
1857 cxgb4_set_filter(struct net_device *dev, int filter_id, struct ch_filter_specification *fs) cxgb4_set_filter() argument
1879 cxgb4_del_filter(struct net_device *dev, int filter_id, struct ch_filter_specification *fs) cxgb4_del_filter() argument
[all...]
H A Dcxgb4_tc_flower.c128 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()
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 in cxgb4_process_flow_match()
162 cxgb4_process_flow_match(struct net_device *dev, struct flow_rule *rule, struct ch_filter_specification *fs) cxgb4_process_flow_match() argument
356 offload_pedit(struct ch_filter_specification *fs, u32 val, u32 mask, u8 field) offload_pedit() argument
374 process_pedit_field(struct ch_filter_specification *fs, u32 val, u32 mask, u32 offset, u8 htype, u8 *natmode_flags) process_pedit_field() argument
491 cxgb4_process_flow_actions(struct net_device *in, struct flow_action *actions, struct ch_filter_specification *fs) cxgb4_process_flow_actions() argument
855 cxgb4_flow_rule_replace(struct net_device *dev, struct flow_rule *rule, u32 tc_prio, struct netlink_ext_ack *extack, struct ch_filter_specification *fs, u32 *tid) cxgb4_flow_rule_replace() argument
933 struct ch_filter_specification *fs; cxgb4_tc_flower_replace() local
970 cxgb4_flow_rule_destroy(struct net_device *dev, u32 tc_prio, struct ch_filter_specification *fs, int tid) cxgb4_flow_rule_destroy() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c75 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 in set_nat_params()
248 validate_filter(struct net_device *dev, struct ch_filter_specification *fs) validate_filter() argument
326 get_filter_steerq(struct net_device *dev, struct ch_filter_specification *fs) get_filter_steerq() argument
1056 fill_default_mask(struct ch_filter_specification *fs) fill_default_mask() argument
1151 is_filter_exact_match(struct adapter *adap, struct ch_filter_specification *fs) is_filter_exact_match() argument
1236 hash_filter_ntuple(struct ch_filter_specification *fs, struct net_device *dev) hash_filter_ntuple() argument
1369 cxgb4_set_hash_filter(struct net_device *dev, struct ch_filter_specification *fs, struct filter_ctx *ctx) cxgb4_set_hash_filter() argument
1528 __cxgb4_set_filter(struct net_device *dev, int ftid, struct ch_filter_specification *fs, struct filter_ctx *ctx) __cxgb4_set_filter() argument
1800 __cxgb4_del_filter(struct net_device *dev, int filter_id, struct ch_filter_specification *fs, struct filter_ctx *ctx) __cxgb4_del_filter() argument
1857 cxgb4_set_filter(struct net_device *dev, int filter_id, struct ch_filter_specification *fs) cxgb4_set_filter() argument
1879 cxgb4_del_filter(struct net_device *dev, int filter_id, struct ch_filter_specification *fs) cxgb4_del_filter() argument
[all...]
H A Dcxgb4_tc_flower.c128 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()
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 in cxgb4_process_flow_match()
162 cxgb4_process_flow_match(struct net_device *dev, struct flow_rule *rule, struct ch_filter_specification *fs) cxgb4_process_flow_match() argument
356 offload_pedit(struct ch_filter_specification *fs, u32 val, u32 mask, u8 field) offload_pedit() argument
374 process_pedit_field(struct ch_filter_specification *fs, u32 val, u32 mask, u32 offset, u8 htype, u8 *natmode_flags) process_pedit_field() argument
491 cxgb4_process_flow_actions(struct net_device *in, struct flow_action *actions, struct ch_filter_specification *fs) cxgb4_process_flow_actions() argument
855 cxgb4_flow_rule_replace(struct net_device *dev, struct flow_rule *rule, u32 tc_prio, struct netlink_ext_ack *extack, struct ch_filter_specification *fs, u32 *tid) cxgb4_flow_rule_replace() argument
933 struct ch_filter_specification *fs; cxgb4_tc_flower_replace() local
970 cxgb4_flow_rule_destroy(struct net_device *dev, u32 tc_prio, struct ch_filter_specification *fs, int tid) cxgb4_flow_rule_destroy() argument
[all...]
/kernel/linux/linux-6.6/tools/lib/api/fs/
H A Dfs.c18 #include "fs.h"
86 "/sys/fs/bpf",
90 struct fs { struct
102 static void fs__init_once(struct fs *fs);
103 static const char *fs__mountpoint(const struct fs *fs);
104 static const char *fs__mount(struct fs *fs);
107 static struct fs fs_
153 fs__read_mounts(struct fs *fs) fs__read_mounts() argument
176 fs__valid_mount(const char *fs, long magic) fs__valid_mount() argument
188 fs__check_mounts(struct fs *fs) fs__check_mounts() argument
220 fs__env_override(struct fs *fs) fs__env_override() argument
241 fs__init_once(struct fs *fs) fs__init_once() argument
252 fs__mountpoint(const struct fs *fs) fs__mountpoint() argument
257 mount_overload(struct fs *fs) mount_overload() argument
269 fs__mount(struct fs *fs) fs__mount() argument
[all...]
/kernel/liteos_a/fs/fat/os_adapt/
H A Dfatfs.c37 #include "fs/file.h"
38 #include "fs/fs.h"
39 #include "fs/dirent_fs.h"
40 #include "fs/mount.h"
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, in argument
350 FATFS *fs = (FATFS *)parent->originMount->data; fatfs_create_obj() local
500 FATFS *fs = (FATFS *)(parent->originMount->data); fatfs_lookup() local
603 FATFS *fs = (FATFS *)vp->originMount->data; fatfs_open() local
650 FATFS *fs = fp->obj.fs; fatfs_close() local
680 FATFS *fs = fp->obj.fs; fatfs_read() local
705 FATFS *fs = dp->obj.fs; update_dir() local
736 FATFS *fs = fp->obj.fs; fatfs_lseek64() local
820 FATFS *fs = wfp->obj.fs; update_filbuff() local
841 FATFS *fs = fp->obj.fs; fatfs_write() local
879 FATFS *fs = fp->obj.fs; fatfs_fsync() local
896 FATFS *fs = fp->obj.fs; fatfs_fallocate64() local
933 FATFS *fs = obj->fs; realloc_cluster() local
997 FATFS *fs = (FATFS *)vp->originMount->data; fatfs_truncate64() local
1086 FATFS *fs = NULL; fatfs_mount() local
1237 FATFS *fs = (FATFS *)mnt->data; fatfs_umount() local
1321 FATFS *fs = (FATFS *)mnt->data; fatfs_statfs() local
1421 FATFS *fs = (FATFS *)vp->originMount->data; fatfs_stat() local
1476 FATFS *fs = (FATFS *)vp->originMount->data; fatfs_chattr() local
1536 FATFS *fs = vp->originMount->data; fatfs_opendir() local
1571 FATFS *fs = vp->originMount->data; fatfs_readdir() local
1628 FATFS *fs = dp->obj.fs; fatfs_rewinddir() local
1680 FATFS *fs = (FATFS *)(old_vnode->originMount->data); fatfs_rename() local
1830 FATFS fs; fatfs_setlabel() local
1928 FATFS *fs = (FATFS *)vp->originMount->data; fatfs_rmdir() local
1990 FATFS *fs = (FATFS *)vp->originMount->data; fatfs_unlink() local
2104 FATFS *fs = (FATFS *)vp->originMount->data; fatfs_fscheck() local
2175 FATFS *fs = dp->obj.fs; fatfs_readlink() local
2215 FATFS *fs = (FATFS *)(vnode->originMount->data); fatfs_readpage() local
2313 FATFS *fs = (FATFS *)(vnode->originMount->data); fatfs_writepage() local
[all...]
/kernel/linux/linux-5.10/tools/lib/api/fs/
H A Dfs.c16 #include "fs.h"
84 "/sys/fs/bpf",
88 struct fs { struct
110 static struct fs fs__entries[] = {
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 in fs__read_mounts()
172 fs__valid_mount(const char *fs, long magic) fs__valid_mount() argument
184 fs__check_mounts(struct fs *fs) fs__check_mounts() argument
215 fs__env_override(struct fs *fs) fs__env_override() argument
237 fs__get_mountpoint(struct fs *fs) fs__get_mountpoint() argument
253 struct fs *fs = &fs__entries[idx]; fs__mountpoint() local
269 mount_overload(struct fs *fs) mount_overload() argument
283 struct fs *fs = &fs__entries[idx]; fs__mount() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/st/
H A Dclkgen-fsyn.c72 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()
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 in quadfs_fsynth_program_enable()
287 clk_fs660c32_vco_get_params(unsigned long input, unsigned long output, struct stm_fs *fs) clk_fs660c32_vco_get_params() argument
481 quadfs_fsynth_program_rate(struct st_clk_quadfs_fsynth *fs) quadfs_fsynth_program_rate() argument
508 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_fsynth_enable() local
533 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_fsynth_disable() local
549 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_fsynth_is_enabled() local
560 clk_fs660c32_dig_get_rate(unsigned long input, const struct stm_fs *fs, unsigned long *rate) clk_fs660c32_dig_get_rate() argument
584 clk_fs660c32_get_pe(int m, int si, unsigned long *deviation, signed long input, unsigned long output, uint64_t *p, struct stm_fs *fs) clk_fs660c32_get_pe() argument
620 clk_fs660c32_dig_get_params(unsigned long input, unsigned long output, struct stm_fs *fs) clk_fs660c32_dig_get_params() argument
684 quadfs_fsynt_get_hw_value_for_recalc(struct st_clk_quadfs_fsynth *fs, struct stm_fs *params) quadfs_fsynt_get_hw_value_for_recalc() argument
716 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_find_best_rate() local
734 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_recalc_rate() local
771 quadfs_program_and_enable(struct st_clk_quadfs_fsynth *fs, struct stm_fs *params) quadfs_program_and_enable() argument
790 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_set_rate() local
824 struct st_clk_quadfs_fsynth *fs; st_clk_register_quadfs_fsynth() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/st/
H A Dclkgen-fsyn.c82 unsigned long output, struct stm_fs *fs);
322 static int clk_fs660c32_vco_get_rate(unsigned long input, struct stm_fs *fs, in clk_fs660c32_vco_get_rate() argument
325 unsigned long nd = fs->ndiv + 16; /* ndiv value */ in clk_fs660c32_vco_get_rate()
350 unsigned long output, struct stm_fs *fs) in clk_fs660c32_vco_get_params()
373 fs->ndiv = n - 16; /* Converting formula value to reg value */ in clk_fs660c32_vco_get_params()
533 static void quadfs_fsynth_program_enable(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_enable() argument
539 CLKGEN_WRITE(fs, en[fs->chan], 1); in quadfs_fsynth_program_enable()
540 CLKGEN_WRITE(fs, en[fs in quadfs_fsynth_program_enable()
349 clk_fs660c32_vco_get_params(unsigned long input, unsigned long output, struct stm_fs *fs) clk_fs660c32_vco_get_params() argument
543 quadfs_fsynth_program_rate(struct st_clk_quadfs_fsynth *fs) quadfs_fsynth_program_rate() argument
570 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_fsynth_enable() local
595 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_fsynth_disable() local
611 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_fsynth_is_enabled() local
622 clk_fs660c32_dig_get_rate(unsigned long input, const struct stm_fs *fs, unsigned long *rate) clk_fs660c32_dig_get_rate() argument
646 clk_fs660c32_get_pe(int m, int si, unsigned long *deviation, signed long input, unsigned long output, uint64_t *p, struct stm_fs *fs) clk_fs660c32_get_pe() argument
682 clk_fs660c32_dig_get_params(unsigned long input, unsigned long output, struct stm_fs *fs) clk_fs660c32_dig_get_params() argument
746 quadfs_fsynt_get_hw_value_for_recalc(struct st_clk_quadfs_fsynth *fs, struct stm_fs *params) quadfs_fsynt_get_hw_value_for_recalc() argument
778 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_find_best_rate() local
796 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_recalc_rate() local
833 quadfs_program_and_enable(struct st_clk_quadfs_fsynth *fs, struct stm_fs *params) quadfs_program_and_enable() argument
852 struct st_clk_quadfs_fsynth *fs = to_quadfs_fsynth(hw); quadfs_set_rate() local
886 struct st_clk_quadfs_fsynth *fs; st_clk_register_quadfs_fsynth() local
[all...]
/kernel/liteos_a/fs/jffs2/
H A DMakefile39 $(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/jffs
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c33 #include <linux/mlx5/fs.h>
58 struct ethtool_rx_flow_spec *fs, in get_flow_table()
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
57 get_flow_table(struct mlx5e_priv *priv, struct ethtool_rx_flow_spec *fs, int num_tuples) get_flow_table() argument
238 parse_ip4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) parse_ip4() argument
253 parse_ip6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) parse_ip6() argument
268 parse_tcp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) parse_tcp6() argument
281 parse_udp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) parse_udp6() argument
294 parse_ether(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) parse_ether() argument
325 set_flow_attrs(u32 *match_c, u32 *match_v, struct ethtool_rx_flow_spec *fs) set_flow_attrs() argument
401 add_ethtool_flow_rule(struct mlx5e_priv *priv, struct mlx5_flow_table *ft, struct ethtool_rx_flow_spec *fs) add_ethtool_flow_rule() argument
502 validate_ethter(struct ethtool_rx_flow_spec *fs) validate_ethter() argument
516 validate_tcpudp4(struct ethtool_rx_flow_spec *fs) validate_tcpudp4() argument
536 validate_ip4(struct ethtool_rx_flow_spec *fs) validate_ip4() argument
554 validate_ip6(struct ethtool_rx_flow_spec *fs) validate_ip6() argument
572 validate_tcpudp6(struct ethtool_rx_flow_spec *fs) validate_tcpudp6() argument
594 validate_vlan(struct ethtool_rx_flow_spec *fs) validate_vlan() argument
607 validate_flow(struct mlx5e_priv *priv, struct ethtool_rx_flow_spec *fs) validate_flow() argument
669 mlx5e_ethtool_flow_replace(struct mlx5e_priv *priv, struct ethtool_rx_flow_spec *fs) mlx5e_ethtool_flow_replace() argument
[all...]
/kernel/linux/linux-5.10/include/math-emu/
H A Dop-common.h36 #define _FP_UNPACK_CANONICAL(fs, wc, X) \
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, w
[all...]
/kernel/linux/linux-6.6/include/math-emu/
H A Dop-common.h36 #define _FP_UNPACK_CANONICAL(fs, wc, X) \
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, w
[all...]

Completed in 20 milliseconds

12345678910>>...157