Home
last modified time | relevance | path

Searched refs:fs (Results 1 – 200 of 473) sorted by relevance

123

/linux-4.1.27/drivers/block/
Dswim3.c211 #define swim3_err(fmt, arg...) dev_err(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
212 #define swim3_warn(fmt, arg...) dev_warn(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
213 #define swim3_info(fmt, arg...) dev_info(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
216 #define swim3_dbg(fmt, arg...) dev_dbg(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
239 static void seek_track(struct floppy_state *fs, int n);
241 static void act(struct floppy_state *fs);
248 static int grab_drive(struct floppy_state *fs, enum swim_state state,
250 static void release_drive(struct floppy_state *fs);
251 static int fd_eject(struct floppy_state *fs);
260 static bool swim3_end_request(struct floppy_state *fs, int err, unsigned int nr_bytes) in swim3_end_request() argument
[all …]
Dswim.c428 static inline int swim_track(struct floppy_state *fs, int track) in swim_track() argument
430 struct swim __iomem *base = fs->swd->base; in swim_track()
433 ret = swim_seek(base, track - fs->track); in swim_track()
436 fs->track = track; in swim_track()
439 fs->track = 0; in swim_track()
445 static int floppy_eject(struct floppy_state *fs) in floppy_eject() argument
447 struct swim __iomem *base = fs->swd->base; in floppy_eject()
449 swim_drive(base, fs->location); in floppy_eject()
453 fs->disk_in = 0; in floppy_eject()
454 fs->ejected = 1; in floppy_eject()
[all …]
/linux-4.1.27/fs/
Dfs_struct.c13 void set_fs_root(struct fs_struct *fs, const struct path *path) in set_fs_root() argument
18 spin_lock(&fs->lock); in set_fs_root()
19 write_seqcount_begin(&fs->seq); in set_fs_root()
20 old_root = fs->root; in set_fs_root()
21 fs->root = *path; in set_fs_root()
22 write_seqcount_end(&fs->seq); in set_fs_root()
23 spin_unlock(&fs->lock); in set_fs_root()
32 void set_fs_pwd(struct fs_struct *fs, const struct path *path) in set_fs_pwd() argument
37 spin_lock(&fs->lock); in set_fs_pwd()
38 write_seqcount_begin(&fs->seq); in set_fs_pwd()
[all …]
DKconfig13 source "fs/ext2/Kconfig"
14 source "fs/ext3/Kconfig"
15 source "fs/ext4/Kconfig"
16 source "fs/jbd/Kconfig"
17 source "fs/jbd2/Kconfig"
27 source "fs/reiserfs/Kconfig"
28 source "fs/jfs/Kconfig"
30 source "fs/xfs/Kconfig"
31 source "fs/gfs2/Kconfig"
32 source "fs/ocfs2/Kconfig"
[all …]
Dfilesystems.c36 void get_filesystem(struct file_system_type *fs) in get_filesystem() argument
38 __module_get(fs->owner); in get_filesystem()
41 void put_filesystem(struct file_system_type *fs) in put_filesystem() argument
43 module_put(fs->owner); in put_filesystem()
69 int register_filesystem(struct file_system_type * fs) in register_filesystem() argument
74 BUG_ON(strchr(fs->name, '.')); in register_filesystem()
75 if (fs->next) in register_filesystem()
78 p = find_filesystem(fs->name, strlen(fs->name)); in register_filesystem()
82 *p = fs; in register_filesystem()
101 int unregister_filesystem(struct file_system_type * fs) in unregister_filesystem() argument
[all …]
Dfhandle.c119 struct fs_struct *fs = current->fs; in get_vfsmount_from_fd() local
120 spin_lock(&fs->lock); in get_vfsmount_from_fd()
121 mnt = mntget(fs->pwd.mnt); in get_vfsmount_from_fd()
122 spin_unlock(&fs->lock); in get_vfsmount_from_fd()
Dbinfmt_aout.c48 mm_segment_t fs; in aout_core_dump() local
61 fs = get_fs(); in aout_core_dump()
109 set_fs(fs); in aout_core_dump()
Dexec.c1266 spin_lock(&p->fs->lock); in check_unsafe_exec()
1269 if (t->fs == p->fs) in check_unsafe_exec()
1274 if (p->fs->users > n_fs) in check_unsafe_exec()
1277 p->fs->in_exec = 1; in check_unsafe_exec()
1278 spin_unlock(&p->fs->lock); in check_unsafe_exec()
1589 current->fs->in_exec = 0; in do_execveat_common()
1607 current->fs->in_exec = 0; in do_execveat_common()
/linux-4.1.27/tools/lib/api/fs/
Dfs.c28 struct fs { struct
41 static struct fs fs__entries[] = { argument
54 static bool fs__read_mounts(struct fs *fs) in fs__read_mounts() argument
66 fs->path, type) == 2) { in fs__read_mounts()
68 if (strcmp(type, fs->name) == 0) in fs__read_mounts()
73 return fs->found = found; in fs__read_mounts()
76 static int fs__valid_mount(const char *fs, long magic) in fs__valid_mount() argument
80 if (statfs(fs, &st_fs) < 0) in fs__valid_mount()
88 static bool fs__check_mounts(struct fs *fs) in fs__check_mounts() argument
92 ptr = fs->mounts; in fs__check_mounts()
[all …]
DBuild1 libapi-y += fs.o
/linux-4.1.27/Documentation/DocBook/
D.filesystems.xml.cmd2fs.h fs/dcache.c include/linux/dcache.h fs/inode.c fs/bad_inode.c fs/super.c fs/locks.c fs/locks.c…
/linux-4.1.27/drivers/clk/st/
Dclkgen-fsyn.c495 int clk_fs660c32_vco_get_rate(unsigned long input, struct stm_fs *fs, in clk_fs660c32_vco_get_rate() argument
498 unsigned long nd = fs->ndiv + 16; /* ndiv value */ in clk_fs660c32_vco_get_rate()
523 unsigned long output, struct stm_fs *fs) in clk_fs660c32_vco_get_params() argument
546 fs->ndiv = n - 16; /* Converting formula value to reg value */ in clk_fs660c32_vco_get_params()
707 static void quadfs_fsynth_program_enable(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_enable() argument
713 CLKGEN_WRITE(fs, en[fs->chan], 1); in quadfs_fsynth_program_enable()
714 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_enable()
717 static void quadfs_fsynth_program_rate(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_rate() argument
726 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_rate()
728 CLKGEN_WRITE(fs, mdiv[fs->chan], fs->md); in quadfs_fsynth_program_rate()
[all …]
/linux-4.1.27/include/math-emu/
Dop-common.h36 #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 …]
Dop-1.h60 #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 …]
Dop-2.h116 #define _FP_FRAC_OVERP_2(fs,X) (_FP_FRAC_HIGH_##fs(X) & _FP_OVERFLOW_##fs) argument
117 #define _FP_FRAC_CLEAR_OVERP_2(fs,X) (_FP_FRAC_HIGH_##fs(X) &= ~_FP_OVERFLOW_##fs) argument
185 #define _FP_UNPACK_RAW_2(fs, X, val) \ argument
187 union _FP_UNION_##fs _flo; _flo.flt = (val); \
195 #define _FP_UNPACK_RAW_2_P(fs, X, val) \ argument
197 union _FP_UNION_##fs *_flo = \
198 (union _FP_UNION_##fs *)(val); \
211 #define _FP_PACK_RAW_2(fs, val, X) \ argument
213 union _FP_UNION_##fs _flo; \
223 #define _FP_PACK_RAW_2_P(fs, val, X) \ argument
[all …]
Dop-4.h134 #define _FP_FRAC_OVERP_4(fs,X) (_FP_FRAC_HIGH_##fs(X) & _FP_OVERFLOW_##fs) argument
135 #define _FP_FRAC_CLEAR_OVERP_4(fs,X) (_FP_FRAC_HIGH_##fs(X) &= ~_FP_OVERFLOW_##fs) argument
184 #define _FP_UNPACK_RAW_4(fs, X, val) \ argument
186 union _FP_UNION_##fs _flo; _flo.flt = (val); \
195 #define _FP_UNPACK_RAW_4_P(fs, X, val) \ argument
197 union _FP_UNION_##fs *_flo = \
198 (union _FP_UNION_##fs *)(val); \
208 #define _FP_PACK_RAW_4(fs, val, X) \ argument
210 union _FP_UNION_##fs _flo; \
220 #define _FP_PACK_RAW_4_P(fs, val, X) \ argument
[all …]
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-fs-nilfs22 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 …]
Dsysfs-fs-f2fs1 What: /sys/fs/f2fs/<disk>/gc_max_sleep_time
8 What: /sys/fs/f2fs/<disk>/gc_min_sleep_time
15 What: /sys/fs/f2fs/<disk>/gc_no_gc_sleep_time
22 What: /sys/fs/f2fs/<disk>/gc_idle
28 What: /sys/fs/f2fs/<disk>/reclaim_segments
34 What: /sys/fs/f2fs/<disk>/ipu_policy
40 What: /sys/fs/f2fs/<disk>/min_ipu_util
47 What: /sys/fs/f2fs/<disk>/min_fsync_blocks
54 What: /sys/fs/f2fs/<disk>/max_small_discards
60 What: /sys/fs/f2fs/<disk>/max_victim_search
[all …]
Dsysfs-fs-ext41 What: /sys/fs/ext4/<disk>/mb_stats
10 What: /sys/fs/ext4/<disk>/mb_group_prealloc
18 What: /sys/fs/ext4/<disk>/mb_max_to_scan
25 What: /sys/fs/ext4/<disk>/mb_min_to_scan
32 What: /sys/fs/ext4/<disk>/mb_order2_req
40 What: /sys/fs/ext4/<disk>/mb_stream_req
51 What: /sys/fs/ext4/<disk>/inode_readahead_blks
59 What: /sys/fs/ext4/<disk>/delayed_allocation_blocks
67 What: /sys/fs/ext4/<disk>/lifetime_write_kbytes
75 What: /sys/fs/ext4/<disk>/session_write_kbytes
[all …]
Dsysfs-ocfs21 What: /sys/fs/ocfs2/
5 The /sys/fs/ocfs2 directory contains knobs used by the
8 What: /sys/fs/ocfs2/max_locking_protocol
12 The /sys/fs/ocfs2/max_locking_protocol file displays version
29 What: /sys/fs/ocfs2/loaded_cluster_plugins
33 The /sys/fs/ocfs2/loaded_cluster_plugins file describes
41 in conjunction with fs/dlm.
49 What: /sys/fs/ocfs2/active_cluster_plugin
53 The /sys/fs/ocfs2/active_cluster_plugin displays which
66 What: /sys/fs/ocfs2/cluster_stack
[all …]
Dsysfs-fs-xfs1 What: /sys/fs/xfs/<disk>/log/log_head_lsn
10 What: /sys/fs/xfs/<disk>/log/log_tail_lsn
18 What: /sys/fs/xfs/<disk>/log/reserve_grant_head
29 What: /sys/fs/xfs/<disk>/log/write_grant_head
Dpstore1 Where: /sys/fs/pstore/... (or /dev/pstore/...)
14 # mount -t pstore -o kmsg_bytes=8000 - /sys/fs/pstore
16 $ ls -l /sys/fs/pstore/
30 $ rm /sys/fs/pstore/dmesg-erst-1
32 The expectation is that all files in /sys/fs/pstore/
Dconfigfs-usb-gadget-sourcesink9 isoc_maxpacket - 0 - 1023 (fs), 0 - 1024 (hs/ss)
/linux-4.1.27/include/linux/
Dfs_struct.h26 static inline void get_fs_root(struct fs_struct *fs, struct path *root) in get_fs_root() argument
28 spin_lock(&fs->lock); in get_fs_root()
29 *root = fs->root; in get_fs_root()
31 spin_unlock(&fs->lock); in get_fs_root()
34 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd() argument
36 spin_lock(&fs->lock); in get_fs_pwd()
37 *pwd = fs->pwd; in get_fs_pwd()
39 spin_unlock(&fs->lock); in get_fs_pwd()
Dfdtable.h100 void put_files_struct(struct files_struct *fs);
/linux-4.1.27/sound/soc/codecs/
Dtfa9879.c35 int fs; in tfa9879_hw_params() local
40 fs = TFA9879_I2S_FS_8000; in tfa9879_hw_params()
43 fs = TFA9879_I2S_FS_11025; in tfa9879_hw_params()
46 fs = TFA9879_I2S_FS_12000; in tfa9879_hw_params()
49 fs = TFA9879_I2S_FS_16000; in tfa9879_hw_params()
52 fs = TFA9879_I2S_FS_22050; in tfa9879_hw_params()
55 fs = TFA9879_I2S_FS_24000; in tfa9879_hw_params()
58 fs = TFA9879_I2S_FS_32000; in tfa9879_hw_params()
61 fs = TFA9879_I2S_FS_44100; in tfa9879_hw_params()
64 fs = TFA9879_I2S_FS_48000; in tfa9879_hw_params()
[all …]
Dak4671.c431 u8 fs; in ak4671_hw_params() local
433 fs = snd_soc_read(codec, AK4671_PLL_MODE_SELECT0); in ak4671_hw_params()
434 fs &= ~AK4671_FS; in ak4671_hw_params()
438 fs |= AK4671_FS_8KHZ; in ak4671_hw_params()
441 fs |= AK4671_FS_12KHZ; in ak4671_hw_params()
444 fs |= AK4671_FS_16KHZ; in ak4671_hw_params()
447 fs |= AK4671_FS_24KHZ; in ak4671_hw_params()
450 fs |= AK4671_FS_11_025KHZ; in ak4671_hw_params()
453 fs |= AK4671_FS_22_05KHZ; in ak4671_hw_params()
456 fs |= AK4671_FS_32KHZ; in ak4671_hw_params()
[all …]
Dwm8955.c47 int fs; member
200 int fs; member
255 if (wm8955->fs == 0) in wm8955_configure_clocking()
256 wm8955->fs = 8000; in wm8955_configure_clocking()
260 if (wm8955->fs != clock_cfgs[i].fs) in wm8955_configure_clocking()
271 wm8955->fs); in wm8955_configure_clocking()
290 wm8955->fs, wm8955->mclk_rate); in wm8955_configure_clocking()
374 if (abs(deemph_settings[i] - wm8955->fs) < in wm8955_set_deemph()
375 abs(deemph_settings[best] - wm8955->fs)) in wm8955_set_deemph()
619 wm8955->fs = params_rate(params); in wm8955_hw_params()
Dwm9081.c154 int fs; member
674 target = wm9081->fs * clk_sys_rates[i].ratio; in configure_clock()
684 } else if (wm9081->fs) { in configure_clock()
687 * wm9081->fs; in configure_clock()
1020 wm9081->fs = params_rate(params); in wm9081_hw_params()
1027 wm9081->bclk = wm9081->fs * wm9081->tdm_width * slots; in wm9081_hw_params()
1030 wm9081->bclk = 2 * wm9081->fs; in wm9081_hw_params()
1062 - wm9081->fs); in wm9081_hw_params()
1065 clk_sys_rates[i].ratio) - wm9081->fs); in wm9081_hw_params()
1078 best_val = abs(wm9081->fs - sample_rates[0].rate); in wm9081_hw_params()
[all …]
Dda7210.c770 u32 fs, sysclk; in da7210_hw_params() local
802 fs = DA7210_PLL_FS_8000; in da7210_hw_params()
806 fs = DA7210_PLL_FS_11025; in da7210_hw_params()
810 fs = DA7210_PLL_FS_12000; in da7210_hw_params()
814 fs = DA7210_PLL_FS_16000; in da7210_hw_params()
818 fs = DA7210_PLL_FS_22050; in da7210_hw_params()
822 fs = DA7210_PLL_FS_32000; in da7210_hw_params()
826 fs = DA7210_PLL_FS_44100; in da7210_hw_params()
830 fs = DA7210_PLL_FS_48000; in da7210_hw_params()
834 fs = DA7210_PLL_FS_88200; in da7210_hw_params()
[all …]
Dda9055.c1060 u8 aif_ctrl, fs; in da9055_hw_params() local
1086 fs = DA9055_SR_8000; in da9055_hw_params()
1090 fs = DA9055_SR_11025; in da9055_hw_params()
1094 fs = DA9055_SR_12000; in da9055_hw_params()
1098 fs = DA9055_SR_16000; in da9055_hw_params()
1102 fs = DA9055_SR_22050; in da9055_hw_params()
1106 fs = DA9055_SR_32000; in da9055_hw_params()
1110 fs = DA9055_SR_44100; in da9055_hw_params()
1114 fs = DA9055_SR_48000; in da9055_hw_params()
1118 fs = DA9055_SR_88200; in da9055_hw_params()
[all …]
Dwm8961.c511 int i, best, target, fs; in wm8961_hw_params() local
514 fs = params_rate(params); in wm8961_hw_params()
524 if (abs(wm8961_srate[i].rate - fs) < in wm8961_hw_params()
525 abs(wm8961_srate[best].rate - fs)) in wm8961_hw_params()
533 wm8961_srate[best].rate, fs); in wm8961_hw_params()
536 target = wm8961->sysclk / fs; in wm8961_hw_params()
558 wm8961_clk_sys_ratio[i].ratio, wm8961->sysclk, fs, in wm8961_hw_params()
559 wm8961->sysclk / fs); in wm8961_hw_params()
587 if (fs <= 24000) in wm8961_hw_params()
Dadau1977.c266 unsigned int fs) in adau1977_lookup_mcs() argument
276 rate *= 512 >> fs; in adau1977_lookup_mcs()
303 int mcs, fs; in adau1977_hw_params() local
306 fs = adau1977_lookup_fs(rate); in adau1977_hw_params()
307 if (fs < 0) in adau1977_hw_params()
308 return fs; in adau1977_hw_params()
311 mcs = adau1977_lookup_mcs(adau1977, rate, fs); in adau1977_hw_params()
319 ctrl0 = fs; in adau1977_hw_params()
Dda7213.c1076 u8 fs; in da7213_hw_params() local
1099 fs = DA7213_SR_8000; in da7213_hw_params()
1102 fs = DA7213_SR_11025; in da7213_hw_params()
1105 fs = DA7213_SR_12000; in da7213_hw_params()
1108 fs = DA7213_SR_16000; in da7213_hw_params()
1111 fs = DA7213_SR_22050; in da7213_hw_params()
1114 fs = DA7213_SR_32000; in da7213_hw_params()
1117 fs = DA7213_SR_44100; in da7213_hw_params()
1120 fs = DA7213_SR_48000; in da7213_hw_params()
1123 fs = DA7213_SR_88200; in da7213_hw_params()
[all …]
Dda732x.c955 u32 fs; in da732x_hw_params() local
978 fs = DA732X_SR_8KHZ; in da732x_hw_params()
981 fs = DA732X_SR_11_025KHZ; in da732x_hw_params()
984 fs = DA732X_SR_12KHZ; in da732x_hw_params()
987 fs = DA732X_SR_16KHZ; in da732x_hw_params()
990 fs = DA732X_SR_22_05KHZ; in da732x_hw_params()
993 fs = DA732X_SR_24KHZ; in da732x_hw_params()
996 fs = DA732X_SR_32KHZ; in da732x_hw_params()
999 fs = DA732X_SR_44_1KHZ; in da732x_hw_params()
1002 fs = DA732X_SR_48KHZ; in da732x_hw_params()
[all …]
Dwm8904.c87 int fs; member
440 - wm8904->fs) < best_val) { in wm8904_set_retune_mobile()
443 - wm8904->fs); in wm8904_set_retune_mobile()
450 wm8904->fs); in wm8904_set_retune_mobile()
506 if (abs(deemph_settings[i] - wm8904->fs) < in wm8904_set_deemph()
507 abs(deemph_settings[best] - wm8904->fs)) in wm8904_set_deemph()
1291 wm8904->fs = params_rate(params); in wm8904_hw_params()
1295 wm8904->bclk = snd_soc_calc_bclk(wm8904->fs, in wm8904_hw_params()
1328 - wm8904->fs); in wm8904_hw_params()
1331 clk_sys_rates[i].ratio) - wm8904->fs); in wm8904_hw_params()
[all …]
Dwm8903.c127 int fs; member
421 if (abs(wm8903_deemph[i] - wm8903->fs) < in wm8903_set_deemph()
422 abs(wm8903_deemph[best] - wm8903->fs)) in wm8903_set_deemph()
1440 int fs = params_rate(params); in wm8903_hw_params() local
1458 if (fs <= 24000) in wm8903_hw_params()
1465 best_val = abs(sample_rates[dsp_config].rate - fs); in wm8903_hw_params()
1467 cur_val = abs(sample_rates[i].rate - fs); in wm8903_hw_params()
1479 bclk = 2 * fs; in wm8903_hw_params()
1501 wm8903->sysclk, fs); in wm8903_hw_params()
1510 clk_sys_ratios[0].div)) - fs); in wm8903_hw_params()
[all …]
Dwm8993.c219 unsigned int fs; member
1210 wm8993->fs = params_rate(params); in wm8993_hw_params()
1211 wm8993->bclk = 2 * wm8993->fs; in wm8993_hw_params()
1247 - wm8993->fs); in wm8993_hw_params()
1250 clk_sys_rates[i].ratio) - wm8993->fs); in wm8993_hw_params()
1263 best_val = abs(wm8993->fs - sample_rates[0].rate); in wm8993_hw_params()
1266 cur_val = abs(wm8993->fs - sample_rates[i].rate); in wm8993_hw_params()
1296 dev_dbg(codec->dev, "LRCLK_RATE is %d\n", wm8993->bclk / wm8993->fs); in wm8993_hw_params()
1297 aif4 |= wm8993->bclk / wm8993->fs; in wm8993_hw_params()
1311 - wm8993->fs); in wm8993_hw_params()
[all …]
Dmax98088.c1660 int best, best_val, save, i, sel, fs; in max98088_setup_eq1() local
1669 fs = cdata->rate; in max98088_setup_eq1()
1676 abs(pdata->eq_cfg[i].rate - fs) < best_val) { in max98088_setup_eq1()
1678 best_val = abs(pdata->eq_cfg[i].rate - fs); in max98088_setup_eq1()
1684 pdata->eq_cfg[best].rate, fs); in max98088_setup_eq1()
1707 int best, best_val, save, i, sel, fs; in max98088_setup_eq2() local
1716 fs = cdata->rate; in max98088_setup_eq2()
1723 abs(pdata->eq_cfg[i].rate - fs) < best_val) { in max98088_setup_eq2()
1725 best_val = abs(pdata->eq_cfg[i].rate - fs); in max98088_setup_eq2()
1731 pdata->eq_cfg[best].rate, fs); in max98088_setup_eq2()
Dak4535.c268 int rate = params_rate(params), fs = 256; in ak4535_hw_params() local
271 fs = ak4535->sysclk / rate; in ak4535_hw_params()
274 switch (fs) { in ak4535_hw_params()
Dak4641.c303 int rate = params_rate(params), fs = 256; in ak4641_i2s_hw_params() local
307 fs = ak4641->sysclk / rate; in ak4641_i2s_hw_params()
312 switch (fs) { in ak4641_i2s_hw_params()
323 dev_err(codec->dev, "Error: unsupported fs=%d\n", fs); in ak4641_i2s_hw_params()
Dmax98095.c1769 int fs, best, best_val, i; in max98095_put_eq_enum() local
1783 fs = cdata->rate; in max98095_put_eq_enum()
1790 abs(pdata->eq_cfg[i].rate - fs) < best_val) { in max98095_put_eq_enum()
1792 best_val = abs(pdata->eq_cfg[i].rate - fs); in max98095_put_eq_enum()
1798 pdata->eq_cfg[best].rate, fs); in max98095_put_eq_enum()
1923 int fs, best, best_val, i; in max98095_put_bq_enum() local
1937 fs = cdata->rate; in max98095_put_bq_enum()
1944 abs(pdata->bq_cfg[i].rate - fs) < best_val) { in max98095_put_bq_enum()
1946 best_val = abs(pdata->bq_cfg[i].rate - fs); in max98095_put_bq_enum()
1952 pdata->bq_cfg[best].rate, fs); in max98095_put_bq_enum()
/linux-4.1.27/security/apparmor/
Dfile.c70 if (sa->aad->fs.request & AA_AUDIT_FILE_MASK) { in file_audit_cb()
72 audit_file_mask(ab, sa->aad->fs.request); in file_audit_cb()
74 if (sa->aad->fs.denied & AA_AUDIT_FILE_MASK) { in file_audit_cb()
76 audit_file_mask(ab, sa->aad->fs.denied); in file_audit_cb()
78 if (sa->aad->fs.request & AA_AUDIT_FILE_MASK) { in file_audit_cb()
82 from_kuid(&init_user_ns, sa->aad->fs.ouid)); in file_audit_cb()
85 if (sa->aad->fs.target) { in file_audit_cb()
87 audit_log_untrustedstring(ab, sa->aad->fs.target); in file_audit_cb()
116 aad.fs.request = request; in aa_audit_file()
118 aad.fs.target = target; in aa_audit_file()
[all …]
/linux-4.1.27/drivers/mtd/
Dafs.c73 struct footer_struct fs; in afs_read_footer() local
74 u_int ptr = off + mtd->erasesize - sizeof(fs); in afs_read_footer()
78 ret = mtd_read(mtd, ptr, sizeof(fs), &sz, (u_char *)&fs); in afs_read_footer()
79 if (ret >= 0 && sz != sizeof(fs)) in afs_read_footer()
93 if (fs.signature != 0xa0ffff9f) in afs_read_footer()
99 if (word_sum(&fs, sizeof(fs) / sizeof(u32)) != 0xffffffff) in afs_read_footer()
105 if (fs.type == 2) in afs_read_footer()
108 *iis_start = fs.image_info_base & mask; in afs_read_footer()
109 *img_start = fs.image_start & mask; in afs_read_footer()
/linux-4.1.27/drivers/net/fddi/skfp/
Dess.c104 int fs);
118 int fs) in ess_raf_received_pack() argument
131 local = ((fs & L_INDICATOR) != 0) ; in ess_raf_received_pack()
138 return fs; in ess_raf_received_pack()
150 return fs; in ess_raf_received_pack()
178 return fs; in ess_raf_received_pack()
183 return fs; in ess_raf_received_pack()
202 return fs | I_INDICATOR; in ess_raf_received_pack()
205 return fs; in ess_raf_received_pack()
215 return fs; in ess_raf_received_pack()
[all …]
/linux-4.1.27/arch/mips/math-emu/
Dcp1emu.c163 mips32_insn.fp6_format.fs = insn.mm_fp6_format.fs; in microMIPS32_to_MIPS32()
203 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32()
204 insn.mm_fp2_format.fs; in microMIPS32_to_MIPS32()
227 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32()
228 insn.mm_fp0_format.fs; in microMIPS32_to_MIPS32()
247 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32()
248 insn.mm_fp0_format.fs; in microMIPS32_to_MIPS32()
267 mips32_insn.r_format.rs = insn.mm_fp4_format.fs; in microMIPS32_to_MIPS32()
289 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32()
290 insn.mm_fp3_format.fs; in microMIPS32_to_MIPS32()
[all …]
/linux-4.1.27/arch/x86/kernel/
Dprocess_64.c61 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local
87 rdmsrl(MSR_FS_BASE, fs); in __show_regs()
100 fs, fsindex, gs, gsindex, shadowgs); in __show_regs()
170 savesegment(fs, p->thread.fsindex); in copy_thread()
171 p->thread.fs = p->thread.fsindex ? 0 : me->thread.fs; in copy_thread()
234 loadsegment(fs, 0); in start_thread_common()
290 savesegment(fs, fsindex); in __switch_to()
365 if (unlikely(fsindex | next->fsindex | prev->fs)) { in __switch_to()
366 loadsegment(fs, next->fsindex); in __switch_to()
378 prev->fs = 0; in __switch_to()
[all …]
Dptrace.c85 REG_OFFSET_NAME(fs),
279 case offsetof(struct user_regs_struct, fs): in get_segment_reg()
322 case offsetof(struct user_regs_struct,fs): in set_segment_reg()
328 task->thread.fs != 0) || in set_segment_reg()
330 task->thread.fs == 0)) in set_segment_reg()
334 loadsegment(fs, task->thread.fsindex); in set_segment_reg()
420 case offsetof(struct user_regs_struct, fs): in putreg()
437 if (child->thread.fs != value) in putreg()
462 case offsetof(struct user_regs_struct, fs): in getreg()
478 if (task->thread.fs != 0) in getreg()
[all …]
Dprocess_32.c96 (u16)regs->ds, (u16)regs->es, (u16)regs->fs, gs, ss); in __show_regs()
150 childregs->fs = __KERNEL_PERCPU; in copy_thread()
201 regs->fs = 0; in start_thread()
Dentry_32.S189 pushl_cfi %fs
213 movl %edx, %fs
240 3: popl_cfi %fs
445 1: mov PT_FS(%esp), %fs
984 3: mov 12(%esp),%fs
1082 pushl %fs
1122 popl %fs
1213 pushl_cfi %fs
1228 movl %ecx, %fs
Ddoublefault.c66 .fs = __KERNEL_PERCPU,
/linux-4.1.27/arch/x86/um/asm/
Dprocessor_64.h13 unsigned long fs; member
19 .fs = 0, \
31 to->fs = from->fs; in arch_copy_thread()
/linux-4.1.27/arch/sh/include/asm/
Dsfp-machine.h57 #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ argument
59 if ((_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs) \
60 && !(_FP_FRAC_HIGH_RAW_##fs(Y) & _FP_QNANBIT_##fs)) \
/linux-4.1.27/arch/sparc/include/asm/
Dsfp-machine_64.h59 #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ argument
61 if ((_FP_FRAC_HIGH_RAW_##fs(Y) & _FP_QNANBIT_##fs) \
62 && !(_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs)) \
Dsfp-machine_32.h61 #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ argument
63 if ((_FP_FRAC_HIGH_RAW_##fs(Y) & _FP_QNANBIT_##fs) \
64 && !(_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs)) \
/linux-4.1.27/fs/gfs2/
Dutil.h22 #define fs_emerg(fs, fmt, ...) \ argument
23 pr_emerg("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
24 #define fs_warn(fs, fmt, ...) \ argument
25 pr_warn("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
26 #define fs_err(fs, fmt, ...) \ argument
27 pr_err("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
28 #define fs_info(fs, fmt, ...) \ argument
29 pr_info("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1216 if (cmd->fs.location >= MAX_NUM_OF_FS_RULES) in mlx4_en_validate_flow()
1219 if (cmd->fs.flow_type & FLOW_MAC_EXT) { in mlx4_en_validate_flow()
1221 if (!is_broadcast_ether_addr(cmd->fs.m_ext.h_dest)) in mlx4_en_validate_flow()
1225 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_validate_flow()
1228 if (cmd->fs.m_u.tcp_ip4_spec.tos) in mlx4_en_validate_flow()
1230 l4_mask = &cmd->fs.m_u.tcp_ip4_spec; in mlx4_en_validate_flow()
1239 l3_mask = &cmd->fs.m_u.usr_ip4_spec; in mlx4_en_validate_flow()
1241 cmd->fs.h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4 || in mlx4_en_validate_flow()
1248 eth_mask = &cmd->fs.m_u.ether_spec; in mlx4_en_validate_flow()
1264 if ((cmd->fs.flow_type & FLOW_EXT)) { in mlx4_en_validate_flow()
[all …]
/linux-4.1.27/drivers/dio/
Ddio.c119 mm_segment_t fs; in dio_find() local
138 fs = get_fs(); in dio_find()
142 set_fs(fs); in dio_find()
148 set_fs(fs); in dio_find()
173 mm_segment_t fs; in dio_init() local
217 fs = get_fs(); in dio_init()
221 set_fs(fs); in dio_init()
227 set_fs(fs); in dio_init()
/linux-4.1.27/Documentation/cgroups/
Dcpuacct.txt13 # mount -t cgroup -ocpuacct none /sys/fs/cgroup
16 visible at /sys/fs/cgroup. At bootup, this group includes all the tasks in
17 the system. /sys/fs/cgroup/tasks lists the tasks in this cgroup.
18 /sys/fs/cgroup/cpuacct.usage gives the CPU time (in nanoseconds) obtained
22 New accounting groups can be created under the parent group /sys/fs/cgroup.
24 # cd /sys/fs/cgroup
31 /sys/fs/cgroup/cpuacct.usage also.
Dnet_cls.txt21 mkdir /sys/fs/cgroup/net_cls
22 mount -t cgroup -onet_cls net_cls /sys/fs/cgroup/net_cls
23 mkdir /sys/fs/cgroup/net_cls/0
24 echo 0x100001 > /sys/fs/cgroup/net_cls/0/net_cls.classid
27 cat /sys/fs/cgroup/net_cls/0/net_cls.classid
Dhugetlb.txt13 # mount -t cgroup -o hugetlb none /sys/fs/cgroup
16 visible at /sys/fs/cgroup. At bootup, this group includes all the tasks in
17 the system. /sys/fs/cgroup/tasks lists the tasks in this cgroup.
19 New groups can be created under the parent group /sys/fs/cgroup.
21 # cd /sys/fs/cgroup
Dfreezer-subsystem.txt98 # mkdir /sys/fs/cgroup/freezer
99 # mount -t cgroup -ofreezer freezer /sys/fs/cgroup/freezer
100 # mkdir /sys/fs/cgroup/freezer/0
101 # echo $some_pid > /sys/fs/cgroup/freezer/0/tasks
105 # cat /sys/fs/cgroup/freezer/0/freezer.state
110 # echo FROZEN > /sys/fs/cgroup/freezer/0/freezer.state
111 # cat /sys/fs/cgroup/freezer/0/freezer.state
113 # cat /sys/fs/cgroup/freezer/0/freezer.state
118 # echo THAWED > /sys/fs/cgroup/freezer/0/freezer.state
119 # cat /sys/fs/cgroup/freezer/0/freezer.state
Dnet_prio.txt19 # mount -t cgroup -onet_prio none /sys/fs/cgroup/net_prio
22 becomes visible at '/sys/fs/cgroup/net_prio'. This group includes all tasks in
23 the system. '/sys/fs/cgroup/net_prio/tasks' lists the tasks in this cgroup.
38 echo "eth0 5" > /sys/fs/cgroups/net_prio/iscsi/net_prio.ifpriomap
Dcgroups.txt141 # echo browser_pid > /sys/fs/cgroup/<restype>/<userclass>/tasks
156 # echo pid > /sys/fs/cgroup/network/<new_class>/tasks
158 # echo pid > /sys/fs/cgroup/network/<orig_class>/tasks
311 1) mount -t tmpfs cgroup_root /sys/fs/cgroup
312 2) mkdir /sys/fs/cgroup/cpuset
313 3) mount -t cgroup -ocpuset cpuset /sys/fs/cgroup/cpuset
315 the /sys/fs/cgroup/cpuset virtual file system.
318 /sys/fs/cgroup/cpuset tasks file for that cgroup.
325 mount -t tmpfs cgroup_root /sys/fs/cgroup
326 mkdir /sys/fs/cgroup/cpuset
[all …]
Dblkio-controller.txt34 mount -t tmpfs cgroup_root /sys/fs/cgroup
35 mkdir /sys/fs/cgroup/blkio
36 mount -t cgroup -o blkio none /sys/fs/cgroup/blkio
39 mkdir -p /sys/fs/cgroup/blkio/test1/ /sys/fs/cgroup/blkio/test2
42 echo 1000 > /sys/fs/cgroup/blkio/test1/blkio.weight
43 echo 500 > /sys/fs/cgroup/blkio/test2/blkio.weight
52 echo $! > /sys/fs/cgroup/blkio/test1/tasks
53 cat /sys/fs/cgroup/blkio/test1/tasks
56 echo $! > /sys/fs/cgroup/blkio/test2/tasks
57 cat /sys/fs/cgroup/blkio/test2/tasks
[all …]
Ddevices.txt23 echo 'c 1:3 mr' > /sys/fs/cgroup/1/devices.allow
28 echo a > /sys/fs/cgroup/1/devices.deny
32 echo a > /sys/fs/cgroup/1/devices.allow
/linux-4.1.27/fs/notify/
DKconfig5 source "fs/notify/dnotify/Kconfig"
6 source "fs/notify/inotify/Kconfig"
7 source "fs/notify/fanotify/Kconfig"
/linux-4.1.27/arch/x86/boot/
Dbioscall.S29 pushw %fs
43 popw %fs
56 pushw %fs
79 popw %fs
Dregs.c28 reg->fs = fs(); in initregs()
Dcopy.S53 pushw %fs
62 pushw %fs
/linux-4.1.27/drivers/iio/common/st_sensors/
Dst_sensors_core.c105 unsigned int fs, int *index_fs_avl) in st_sensors_match_fs() argument
110 if (sensor_settings->fs.fs_avl[i].num == 0) in st_sensors_match_fs()
113 if (sensor_settings->fs.fs_avl[i].num == fs) { in st_sensors_match_fs()
124 static int st_sensors_set_fullscale(struct iio_dev *indio_dev, unsigned int fs) in st_sensors_set_fullscale() argument
129 err = st_sensors_match_fs(sdata->sensor_settings, fs, &i); in st_sensors_set_fullscale()
134 sdata->sensor_settings->fs.addr, in st_sensors_set_fullscale()
135 sdata->sensor_settings->fs.mask, in st_sensors_set_fullscale()
136 sdata->sensor_settings->fs.fs_avl[i].value); in st_sensors_set_fullscale()
141 &sdata->sensor_settings->fs.fs_avl[i]; in st_sensors_set_fullscale()
387 if ((sdata->sensor_settings->fs.fs_avl[i].gain == scale) && in st_sensors_set_fullscale_by_gain()
[all …]
/linux-4.1.27/arch/s390/include/asm/
Dsfp-machine.h58 #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ argument
60 if ((_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs) \
61 && !(_FP_FRAC_HIGH_RAW_##fs(Y) & _FP_QNANBIT_##fs)) \
/linux-4.1.27/drivers/spi/
Dspi-sh-msiof.c378 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_8() argument
384 sh_msiof_write(p, TFDR, buf_8[k] << fs); in sh_msiof_spi_write_fifo_8()
388 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16() argument
394 sh_msiof_write(p, TFDR, buf_16[k] << fs); in sh_msiof_spi_write_fifo_16()
398 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16u() argument
404 sh_msiof_write(p, TFDR, get_unaligned(&buf_16[k]) << fs); in sh_msiof_spi_write_fifo_16u()
408 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32() argument
414 sh_msiof_write(p, TFDR, buf_32[k] << fs); in sh_msiof_spi_write_fifo_32()
418 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32u() argument
424 sh_msiof_write(p, TFDR, get_unaligned(&buf_32[k]) << fs); in sh_msiof_spi_write_fifo_32u()
[all …]
/linux-4.1.27/arch/x86/boot/compressed/
Dcmdline.c5 static unsigned long fs; variable
8 fs = seg << 4; /* shift it back */ in set_fs()
13 return *((char *)(fs + addr)); in rdfs8()
/linux-4.1.27/arch/x86/power/
Dcpu.c84 savesegment(fs, ctxt->fs); in __save_processor_state()
91 asm volatile ("movw %%fs, %0" : "=m" (ctxt->fs)); in __save_processor_state()
203 loadsegment(fs, ctxt->fs); in __restore_processor_state()
216 asm volatile ("movw %0, %%fs" :: "r" (ctxt->fs)); in __restore_processor_state()
/linux-4.1.27/arch/arm/kernel/
Dsys_oabi-compat.c201 mm_segment_t fs = USER_DS; /* initialized to kill a warning */ in sys_oabi_fcntl64() local
221 fs = get_fs(); in sys_oabi_fcntl64()
241 set_fs(fs); in sys_oabi_fcntl64()
257 mm_segment_t fs; in sys_oabi_epoll_ctl() local
266 fs = get_fs(); in sys_oabi_epoll_ctl()
269 set_fs(fs); in sys_oabi_epoll_ctl()
278 mm_segment_t fs; in sys_oabi_epoll_wait() local
286 fs = get_fs(); in sys_oabi_epoll_wait()
289 set_fs(fs); in sys_oabi_epoll_wait()
337 mm_segment_t fs = get_fs(); in sys_oabi_semtimedop() local
[all …]
Dtraps.c100 mm_segment_t fs; in dump_mem() local
108 fs = get_fs(); in dump_mem()
132 set_fs(fs); in dump_mem()
140 mm_segment_t fs; in dump_instr() local
149 fs = get_fs(); in dump_instr()
170 set_fs(fs); in dump_instr()
Dsetup.c542 u32 fs[3], bits[3], ls, mask = 0; in smp_build_mpidr_hash() local
562 fs[i] = affinity ? ffs(affinity) - 1 : 0; in smp_build_mpidr_hash()
563 bits[i] = ls - fs[i]; in smp_build_mpidr_hash()
575 mpidr_hash.shift_aff[0] = fs[0]; in smp_build_mpidr_hash()
576 mpidr_hash.shift_aff[1] = MPIDR_LEVEL_BITS + fs[1] - bits[0]; in smp_build_mpidr_hash()
577 mpidr_hash.shift_aff[2] = 2*MPIDR_LEVEL_BITS + fs[2] - in smp_build_mpidr_hash()
/linux-4.1.27/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c122 const struct s5c73m3_frame_size *fs, in s5c73m3_fill_mbus_fmt() argument
125 mf->width = fs->width; in s5c73m3_fill_mbus_fmt()
126 mf->height = fs->height; in s5c73m3_fill_mbus_fmt()
806 const struct s5c73m3_frame_size *fs; in s5c73m3_find_frame_size() local
811 fs = s5c73m3_resolutions[idx]; in s5c73m3_find_frame_size()
814 int dist = abs(fs->width - fmt->width) + in s5c73m3_find_frame_size()
815 abs(fs->height - fmt->height); in s5c73m3_find_frame_size()
818 best_fs = fs; in s5c73m3_find_frame_size()
820 ++fs; in s5c73m3_find_frame_size()
829 const struct s5c73m3_frame_size **fs) in s5c73m3_oif_try_format() argument
[all …]
/linux-4.1.27/drivers/staging/comedi/drivers/
Djr3_pci.c538 struct force_array __iomem *fs = &channel->full_scale; in jr3_pci_poll_subdevice() local
541 spriv->range[0].range.min = -get_s16(&fs->fx) * 1000; in jr3_pci_poll_subdevice()
542 spriv->range[0].range.max = get_s16(&fs->fx) * 1000; in jr3_pci_poll_subdevice()
543 spriv->range[1].range.min = -get_s16(&fs->fy) * 1000; in jr3_pci_poll_subdevice()
544 spriv->range[1].range.max = get_s16(&fs->fy) * 1000; in jr3_pci_poll_subdevice()
545 spriv->range[2].range.min = -get_s16(&fs->fz) * 1000; in jr3_pci_poll_subdevice()
546 spriv->range[2].range.max = get_s16(&fs->fz) * 1000; in jr3_pci_poll_subdevice()
547 spriv->range[3].range.min = -get_s16(&fs->mx) * 100; in jr3_pci_poll_subdevice()
548 spriv->range[3].range.max = get_s16(&fs->mx) * 100; in jr3_pci_poll_subdevice()
549 spriv->range[4].range.min = -get_s16(&fs->my) * 100; in jr3_pci_poll_subdevice()
[all …]
/linux-4.1.27/Documentation/ABI/removed/
Do2cb5 Description: This is a symlink: /sys/o2cb to /sys/fs/o2cb. The symlink is
7 in /sys/fs/o2cb are sufficiently prevalent. Don't code new
8 software to look here, it should try /sys/fs/o2cb instead.
Ddevfs8 The files fs/devfs/*, include/linux/devfs_fs*.h were removed,
/linux-4.1.27/arch/x86/xen/
Dxen-asm_32.S81 popw %fs
99 pushw %fs
101 movl %eax, %fs
102 movl %fs:xen_vcpu, %eax
/linux-4.1.27/drivers/scsi/esas2r/
Desas2r_flash.c830 struct esas2r_ioctl_fs *fs = in esas2r_complete_fs_ioctl() local
836 fs->driver_error = rq->req_stat; in esas2r_complete_fs_ioctl()
838 if (fs->driver_error == RS_SUCCESS) in esas2r_complete_fs_ioctl()
839 fs->status = ATTO_STS_SUCCESS; in esas2r_complete_fs_ioctl()
841 fs->status = ATTO_STS_FAILED; in esas2r_complete_fs_ioctl()
846 struct esas2r_ioctl_fs *fs, in esas2r_process_fs_ioctl() argument
851 struct esas2r_ioctlfs_command *fsc = &fs->command; in esas2r_process_fs_ioctl()
855 fs->status = ATTO_STS_FAILED; in esas2r_process_fs_ioctl()
856 fs->driver_error = RS_PENDING; in esas2r_process_fs_ioctl()
858 if (fs->version > ESAS2R_FS_VER) { in esas2r_process_fs_ioctl()
[all …]
Desas2r_ioctl.c1961 struct esas2r_ioctl_fs *fs = in get_physaddr_fs_api() local
1963 u32 offset = (u8 *)sgc->cur_offset - (u8 *)fs; in get_physaddr_fs_api()
1979 struct esas2r_ioctl_fs *fs = in esas2r_read_fs() local
1985 fs->status = ATTO_STS_OUT_OF_RSRC; in esas2r_read_fs()
2007 sgc.cur_offset = fs->data; in esas2r_read_fs()
2012 if (!esas2r_process_fs_ioctl(a, fs, rq, &sgc)) { in esas2r_read_fs()
2013 if (fs->status == ATTO_STS_OUT_OF_RSRC) in esas2r_read_fs()
2054 struct esas2r_ioctl_fs *fs = (struct esas2r_ioctl_fs *)buf; in esas2r_write_fs() local
2055 u32 length = fs->command.length + offsetof( in esas2r_write_fs()
2064 if (fs->command.command == ESAS2R_FS_CMD_BEGINW) in esas2r_write_fs()
/linux-4.1.27/arch/unicore32/kernel/
Dtraps.c68 mm_segment_t fs; in dump_mem() local
76 fs = get_fs(); in dump_mem()
101 set_fs(fs); in dump_mem()
108 mm_segment_t fs; in dump_instr() local
117 fs = get_fs(); in dump_instr()
135 set_fs(fs); in dump_instr()
/linux-4.1.27/arch/x86/um/
Dsyscalls_64.c57 current->thread.arch.fs = (unsigned long) ptr; in arch_prctl()
81 if ((to->thread.arch.fs == 0) || (to->mm == NULL)) in arch_switch_to()
84 arch_prctl(to, ARCH_SET_FS, (void __user *) to->thread.arch.fs); in arch_switch_to()
Dtls_64.c14 t->thread.arch.fs = t->thread.regs.regs.gp[R8 / sizeof(long)]; in arch_copy_tls()
/linux-4.1.27/arch/arm64/kernel/
Dsetup.c154 u32 i, affinity, fs[4], bits[4], ls; in smp_build_mpidr_hash() local
175 fs[i] = affinity ? ffs(affinity) - 1 : 0; in smp_build_mpidr_hash()
176 bits[i] = ls - fs[i]; in smp_build_mpidr_hash()
188 mpidr_hash.shift_aff[0] = MPIDR_LEVEL_SHIFT(0) + fs[0]; in smp_build_mpidr_hash()
189 mpidr_hash.shift_aff[1] = MPIDR_LEVEL_SHIFT(1) + fs[1] - bits[0]; in smp_build_mpidr_hash()
190 mpidr_hash.shift_aff[2] = MPIDR_LEVEL_SHIFT(2) + fs[2] - in smp_build_mpidr_hash()
193 fs[3] - (bits[2] + bits[1] + bits[0]); in smp_build_mpidr_hash()
Dtraps.c58 mm_segment_t fs; in dump_mem() local
66 fs = get_fs(); in dump_mem()
90 set_fs(fs); in dump_mem()
104 mm_segment_t fs; in dump_instr() local
113 fs = get_fs(); in dump_instr()
130 set_fs(fs); in dump_instr()
/linux-4.1.27/drivers/ps3/
Dps3av_cmd.c478 u32 fs; member
489 static u8 ps3av_cnv_mclk(u32 fs) in ps3av_cnv_mclk() argument
494 if (ps3av_cnv_mclk_table[i].fs == fs) in ps3av_cnv_mclk()
497 printk(KERN_ERR "%s failed, fs:%x\n", __func__, fs); in ps3av_cnv_mclk()
513 static void ps3av_cnv_ns(u8 *ns, u32 fs, u32 video_vid) in ps3av_cnv_ns() argument
549 if (fs < PS3AV_CMD_AUDIO_FS_44K || fs > PS3AV_CMD_AUDIO_FS_192K) in ps3av_cnv_ns()
550 printk(KERN_ERR "%s failed, fs:%x\n", __func__, fs); in ps3av_cnv_ns()
679 u32 ch, u32 fs, u32 word_bits, u32 format, in ps3av_cmd_set_audio_mode() argument
685 if (!(ch | fs | format | word_bits | source)) { in ps3av_cmd_set_audio_mode()
687 fs = PS3AV_CMD_AUDIO_FS_48K; in ps3av_cmd_set_audio_mode()
[all …]
/linux-4.1.27/drivers/lguest/x86/
Dswitcher_32.S115 pushl %fs
181 popl %fs
206 pushl %fs; \
256 popl %fs; \
/linux-4.1.27/arch/mips/include/uapi/asm/
Dinst.h579 __BITFIELD_FIELD(unsigned int fs : 5,
597 __BITFIELD_FIELD(unsigned int fs : 5,
643 __BITFIELD_FIELD(unsigned int fs : 5,
652 __BITFIELD_FIELD(unsigned int fs : 5,
664 __BITFIELD_FIELD(unsigned int fs : 5,
673 __BITFIELD_FIELD(unsigned int fs : 5,
683 __BITFIELD_FIELD(unsigned int fs : 5,
695 __BITFIELD_FIELD(unsigned int fs : 5,
705 __BITFIELD_FIELD(unsigned int fs : 5,
727 __BITFIELD_FIELD(unsigned int fs : 5,
[all …]
/linux-4.1.27/fs/befs/
DChangeLog186 include/linux/fs.h. Also, befs_inode_info is huge (because of the
207 testing purposes. (fs/Config.in)
307 * Made a function to actually count the number of fs blocks used by a file.
309 (fs/befs/inode.c)
319 (fs/befs/inode.c)
325 (fs/befs/inode.c)
329 (fs/befs/inode.c)
335 (fs/befs/super.c) (fs/befs/inode.c)
341 (fs/befs/super.c)
353 typedefs, and they are inlcuded in <linux/fs.h>, which has definitions
[all …]
/linux-4.1.27/arch/x86/ia32/
Dia32_aout.c55 u32 fs, gs; in dump_thread32() local
89 savesegment(fs, fs); in dump_thread32()
90 dump->regs.fs = fs; in dump_thread32()
151 mm_segment_t fs; in aout_core_dump() local
156 fs = get_fs(); in aout_core_dump()
209 set_fs(fs); in aout_core_dump()
383 loadsegment(fs, 0); in load_aout_binary()
Dia32_signal.c134 #define loadsegment_fs(v) loadsegment(fs, v)
181 RELOAD_SEG(fs); in ia32_restore_sigcontext()
274 put_user_ex(get_user_seg(fs), (unsigned int __user *)&sc->fs); in ia32_setup_sigcontext()
/linux-4.1.27/Documentation/filesystems/
Dxfs.txt250 fs.xfs.stats_clear (Min: 0 Default: 0 Max: 1)
252 in /proc/fs/xfs/stat. It then immediately resets to "0".
254 fs.xfs.xfssyncd_centisecs (Min: 100 Default: 3000 Max: 720000)
258 fs.xfs.filestream_centisecs (Min: 1 Default: 3000 Max: 360000)
263 fs.xfs.speculative_prealloc_lifetime
270 fs.xfs.error_level (Min: 0 Default: 3 Max: 11)
279 fs.xfs.panic_mask (Min: 0 Default: 0 Max: 255)
295 fs.xfs.irix_symlink_mode (Min: 0 Default: 0 Max: 1)
299 fs.xfs.irix_sgid_inherit (Min: 0 Default: 0 Max: 1)
306 fs.xfs.inherit_sync (Min: 0 Default: 1 Max: 1)
[all …]
Dafs.txt82 echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 >/proc/fs/afs/cells
135 The AFS modules creates a "/proc/fs/afs/" directory and populates it:
140 [root@andromeda ~]# cat /proc/fs/afs/cells
147 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/servers
150 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/vlservers
153 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/volumes
170 echo add CELLNAME VLADDR[:VLADDR][:VLADDR]... >/proc/fs/afs/cells
171 echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 >/proc/fs/afs/cells
234 echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 > /proc/fs/afs/cells
Dext4.txt32 git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
424 /proc/fs/ext4. Each mounted filesystem will have a directory in
425 /proc/fs/ext4 based on its device name (i.e., /proc/fs/ext4/hdc or
426 /proc/fs/ext4/dm-0). The files in each per-device directory are shown
429 Files in /proc/fs/ext4/<devname>
439 /sys/fs/ext4. Each mounted filesystem will have a directory in
440 /sys/fs/ext4 based on its device name (i.e., /sys/fs/ext4/hdc or
441 /sys/fs/ext4/dm-0). The files in each per-device directory are shown
444 Files in /sys/fs/ext4/<devname>
445 (see also Documentation/ABI/testing/sysfs-fs-ext4)
[all …]
D00-INDEX8 - 9p (v9fs) is an implementation of the Plan 9 remote fs protocol.
12 - info and examples for the distributed AFS (Andrew File System) fs.
140 sysv-fs.txt
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c109 struct ch_filter_specification fs; member
1151 if (f->fs.newdmac || f->fs.newvlan) { in set_filter_wr()
1158 if (t4_l2t_set_switching(adapter, f->l2t, f->fs.vlan, in set_filter_wr()
1159 f->fs.eport, f->fs.dmac)) { in set_filter_wr()
1184 FW_FILTER_WR_RQTYPE_V(f->fs.type) | in set_filter_wr()
1186 FW_FILTER_WR_IQ_V(f->fs.iq)); in set_filter_wr()
1188 htonl(FW_FILTER_WR_RPTTID_V(f->fs.rpttid) | in set_filter_wr()
1189 FW_FILTER_WR_DROP_V(f->fs.action == FILTER_DROP) | in set_filter_wr()
1190 FW_FILTER_WR_DIRSTEER_V(f->fs.dirsteer) | in set_filter_wr()
1191 FW_FILTER_WR_MASKHASH_V(f->fs.maskhash) | in set_filter_wr()
[all …]
/linux-4.1.27/kernel/
Dfork.c987 struct fs_struct *fs = current->fs; in copy_fs() local
990 spin_lock(&fs->lock); in copy_fs()
991 if (fs->in_exec) { in copy_fs()
992 spin_unlock(&fs->lock); in copy_fs()
995 fs->users++; in copy_fs()
996 spin_unlock(&fs->lock); in copy_fs()
999 tsk->fs = copy_fs_struct(fs); in copy_fs()
1000 if (!tsk->fs) in copy_fs()
1883 struct fs_struct *fs = current->fs; in unshare_fs() local
1885 if (!(unshare_flags & CLONE_FS) || !fs) in unshare_fs()
[all …]
Dnsproxy.c150 new_ns = create_new_namespaces(flags, tsk, user_ns, tsk->fs); in copy_namespaces()
191 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
238 new_nsproxy = create_new_namespaces(0, tsk, current_user_ns(), tsk->fs); in SYSCALL_DEFINE2()
Dkcmp.c151 ret = kcmp_ptr(task1->fs, task2->fs, KCMP_FS); in SYSCALL_DEFINE5()
/linux-4.1.27/sound/core/seq/
Dseq_compat.c50 mm_segment_t fs; in snd_seq_call_port_info_ioctl() local
62 fs = snd_enter_user(); in snd_seq_call_port_info_ioctl()
64 snd_leave_user(fs); in snd_seq_call_port_info_ioctl()
/linux-4.1.27/fs/fat/
DKconfig14 M to at least one of "MSDOS fs support" or "VFAT fs support" in
36 tristate "MSDOS fs support"
51 partitions, you should use the VFAT file system (say Y to "VFAT fs
56 answer Y. This will only work if you said Y to "DOS FAT fs support"
61 tristate "VFAT (Windows-95) fs support"
70 works if you said Y to the "DOS FAT fs support" above. Please read
/linux-4.1.27/Documentation/sysctl/
D00-INDEX7 fs.txt
8 - documentation for /proc/sys/fs/*.
Dfs.txt1 Documentation for /proc/sys/fs/* kernel version 2.2.10
10 /proc/sys/fs/ and is valid for Linux kernel version 2.2.
18 1. /proc/sys/fs
21 Currently, these files are in /proc/sys/fs:
55 From linux/fs/dentry.c:
246 2. /proc/sys/fs/binfmt_misc
249 Documentation for the files in /proc/sys/fs/binfmt_misc is
253 3. /proc/sys/fs/mqueue - POSIX message queues filesystem
264 /proc/sys/fs/mqueue/queues_max is a read/write file for setting/getting the
267 /proc/sys/fs/mqueue/msg_max is a read/write file for setting/getting the
[all …]
/linux-4.1.27/Documentation/ioctl/
Dioctl-number.txt65 0x00 00-1F linux/fs.h conflict!
77 0x12 all linux/fs.h
188 'X' all fs/xfs/xfs_fs.h conflict!
189 and fs/xfs/linux-2.6/xfs_ioctl32.h
191 and linux/fs.h
192 'X' all fs/ocfs2/ocfs_fs.h conflict!
216 'f' 00-0F fs/jfs/jfs_dinode.h conflict!
217 'f' 00-0F fs/ext4/ext4.h conflict!
218 'f' 00-0F linux/fs.h conflict!
219 'f' 00-0F fs/ocfs2/ocfs2_fs.h conflict!
[all …]
/linux-4.1.27/drivers/usb/gadget/
Dconfig.c163 struct usb_descriptor_header **fs, in usb_assign_descriptors() argument
169 if (fs) { in usb_assign_descriptors()
170 f->fs_descriptors = usb_copy_descriptors(fs); in usb_assign_descriptors()
/linux-4.1.27/arch/powerpc/include/asm/
Dsfp-machine.h144 #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ argument
146 if ((_FP_FRAC_HIGH_RAW_##fs(Y) & _FP_QNANBIT_##fs) \
147 && !(_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs)) \
Dprocessor.h216 mm_segment_t fs; /* for get_fs() validation */ member
333 .fs = KERNEL_DS, \
342 .fs = KERNEL_DS, \
/linux-4.1.27/arch/x86/include/asm/
Dsigcontext.h9 unsigned short fs, __fsh; member
61 unsigned short fs; member
Da.out-core.h51 dump->regs.fs = (u16)regs->fs; in aout_dump_thread()
Delf.h131 pr_reg[9] = regs->fs & 0xffff; \
179 t->fs = t->gs = 0; in elf_common_init()
229 (pr_reg)[21] = current->thread.fs; \
Dsuspend_32.h14 u16 es, fs, gs, ss; member
Dsuspend_64.h22 u16 ds, es, fs, gs, ss; member
Dvm86.h27 unsigned short fs, __fsh; member
Duser_32.h87 unsigned long fs; member
Dlguest.h36 unsigned long fs, ds, es; member
Duser32.h38 unsigned short fs, __fs, gs, __gs; member
Duser_64.h94 unsigned long fs; member
/linux-4.1.27/sound/
Dsound_firmware.c70 mm_segment_t fs = get_fs(); in mod_firmware_load() local
74 set_fs(fs); in mod_firmware_load()
/linux-4.1.27/arch/arm/mach-omap1/
DMakefile27 usb-fs-$(CONFIG_USB) := usb.o
28 obj-y += $(usb-fs-m) $(usb-fs-y)
/linux-4.1.27/scripts/kconfig/
Dgconf.c506 GtkWidget *fs; in on_load1_activate() local
508 fs = gtk_file_selection_new(_("Load file...")); in on_load1_activate()
509 g_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(fs)->ok_button), in on_load1_activate()
511 G_CALLBACK(load_filename), (gpointer) fs); in on_load1_activate()
513 (GTK_FILE_SELECTION(fs)->ok_button), in on_load1_activate()
515 (gpointer) fs); in on_load1_activate()
517 (GTK_FILE_SELECTION(fs)->cancel_button), in on_load1_activate()
519 (gpointer) fs); in on_load1_activate()
520 gtk_widget_show(fs); in on_load1_activate()
547 GtkWidget *fs; in on_save_as1_activate() local
[all …]
/linux-4.1.27/Documentation/
Dmono.txt37 if [ ! -e /proc/sys/fs/binfmt_misc/register ]; then
45 mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
49 if [ -e /proc/sys/fs/binfmt_misc/register ]; then
53 echo ':CLR:M::MZ::/usr/bin/mono:' > /proc/sys/fs/binfmt_misc/register
Dbinfmt_misc.txt15 mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
19 upon your needs) and echo it to /proc/sys/fs/binfmt_misc/register.
23 name below /proc/sys/fs/binfmt_misc; cannot contain slashes '/' for obvious
78 "mount -t binfmt_misc none /proc/sys/fs/binfmt_misc" command, or you can add
79 a line "none /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0" to your
89 A few examples (assumed you are in /proc/sys/fs/binfmt_misc):
105 or 1 (to enable) to /proc/sys/fs/binfmt_misc/status or /proc/.../the_name.
109 or /proc/sys/fs/binfmt_misc/status.
Dgdb-kernel-debugging.txt71 loading @0xffffffffa003c000: /home/user/linux/build/fs/fuse/fuse.ko
89 loading @0xffffffffa01b1000: /home/user/linux/build/fs/btrfs/btrfs.ko
91 Breakpoint 1, btrfs_init_sysfs () at /home/user/linux/fs/btrfs/sysfs.c:36
/linux-4.1.27/sound/drivers/opl3/
Dopl3_oss.c34 mm_segment_t fs = get_fs(); in snd_enter_user() local
36 return fs; in snd_enter_user()
39 static inline void snd_leave_user(mm_segment_t fs) in snd_leave_user() argument
41 set_fs(fs); in snd_leave_user()
/linux-4.1.27/drivers/iio/pressure/
Dst_pressure_core.c202 .fs = {
248 .fs = {
284 .fs = {
435 if (press_data->sensor_settings->fs.addr != 0) in st_press_common_probe()
438 &press_data->sensor_settings->fs.fs_avl[0]; in st_press_common_probe()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dkernel_user_comm.c60 mm_segment_t fs; in libcfs_kkuc_msg_put() local
71 fs = get_fs(); in libcfs_kkuc_msg_put()
82 set_fs(fs); in libcfs_kkuc_msg_put()
/linux-4.1.27/drivers/net/ethernet/apple/
Dmacmace.c562 int intr, fs; in mace_interrupt() local
572 fs = mb->xmtfs; in mace_interrupt()
573 if ((fs & XMTSV) == 0) { in mace_interrupt()
574 printk(KERN_ERR "macmace: xmtfs not valid! (fs=%x)\n", fs); in mace_interrupt()
583 printk(KERN_DEBUG "macmace: tx ring ran out? (fs=%x)\n", fs); in mace_interrupt()
586 if (fs & (UFLO|LCOL|LCAR|RTRY)) { in mace_interrupt()
588 if (fs & LCAR) in mace_interrupt()
590 else if (fs & (UFLO|LCOL|RTRY)) { in mace_interrupt()
Dmace.c666 int intr, fs, i, stat, x; in mace_interrupt() local
689 fs = in_8(&mb->xmtfs); in mace_interrupt()
716 fs = in_8(&mb->xmtfs); in mace_interrupt()
717 if ((fs & XMTSV) == 0) { in mace_interrupt()
719 fs, xcount, dstat); in mace_interrupt()
728 if ((fs & (UFLO|LCOL|LCAR|RTRY)) || (dstat & DEAD) || xcount == 0) { in mace_interrupt()
756 fs, xcount, dstat); in mace_interrupt()
760 if (fs & (UFLO|LCOL|LCAR|RTRY)) { in mace_interrupt()
762 if (fs & LCAR) in mace_interrupt()
764 if (fs & (UFLO|LCOL|RTRY)) in mace_interrupt()
[all …]
/linux-4.1.27/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1639 ret = gfar_convert_to_filer(&j->fs, tab); in gfar_process_filer_changes()
1697 memcpy(&temp->fs, flow, sizeof(temp->fs)); in gfar_add_cls()
1699 gfar_invert_masks(&temp->fs); in gfar_add_cls()
1700 ret = gfar_check_capability(&temp->fs, priv); in gfar_add_cls()
1712 if (comp->fs.location > flow->location) { in gfar_add_cls()
1716 if (comp->fs.location == flow->location) { in gfar_add_cls()
1750 if (comp->fs.location == loc) { in gfar_del_cls()
1769 if (comp->fs.location == cmd->fs.location) { in gfar_get_cls()
1770 memcpy(&cmd->fs, &comp->fs, sizeof(cmd->fs)); in gfar_get_cls()
1771 gfar_invert_masks(&cmd->fs); in gfar_get_cls()
[all …]
/linux-4.1.27/fs/fscache/
DKconfig19 /proc/fs/fscache/stats
36 /proc/fs/fscache/histogram
61 retrieved through /proc/fs/fscache/objects for debugging purposes
/linux-4.1.27/arch/score/
DKconfig87 source "fs/Kconfig.binfmt"
95 source "fs/Kconfig"
/linux-4.1.27/Documentation/laptops/
Dlaptop-mode.txt252 # Shall we remount journaled fs. with appropriate commit interval? (1=yes)
360 # Shall we remount journaled fs. with appropriate commit interval? (1=yes)
558 echo $XFS_AGE > /proc/sys/fs/xfs/lm_sync_interval
559 elif [ -f /proc/sys/fs/xfs/lm_age_buffer ] ; then
562 echo $XFS_AGE > /proc/sys/fs/xfs/lm_age_buffer
563 echo $XFS_AGE > /proc/sys/fs/xfs/lm_sync_interval
564 elif [ -f /proc/sys/fs/xfs/age_buffer ] ; then
568 echo $XFS_AGE > /proc/sys/fs/xfs/age_buffer
569 echo $XFS_AGE > /proc/sys/fs/xfs/sync_interval
570 elif [ -f /proc/sys/fs/xfs/age_buffer_centisecs ] ; then
[all …]
/linux-4.1.27/arch/m68k/include/asm/
Dprocessor.h87 unsigned short fs; /* saved fs (sfc, dfc) */ member
100 .fs = __KERNEL_DS, \
/linux-4.1.27/drivers/iio/gyro/
Dst_gyro_core.c159 .fs = {
221 .fs = {
279 .fs = {
419 &gdata->sensor_settings->fs.fs_avl[0]; in st_gyro_common_probe()
/linux-4.1.27/drivers/iio/accel/
Dst_accel_core.c220 .fs = {
287 .fs = {
351 .fs = {
424 .fs = {
559 &adata->sensor_settings->fs.fs_avl[0]; in st_accel_common_probe()
/linux-4.1.27/arch/x86/include/uapi/asm/
Dsigcontext.h107 unsigned short fs, __fsh; member
181 __u16 fs; member
Dsigcontext32.h54 unsigned short fs, __fsh; member
Dvm86.h88 unsigned short fs, __fsh; member
/linux-4.1.27/sound/soc/
Dsoc-utils.c42 int snd_soc_calc_bclk(int fs, int sample_size, int channels, int tdm_slots) in snd_soc_calc_bclk() argument
44 return fs * snd_soc_calc_frame_size(sample_size, channels, tdm_slots); in snd_soc_calc_bclk()
/linux-4.1.27/Documentation/accounting/
Dcgroupstats.txt24 ~/balbir/cgroupstats # ./getdelays -C "/sys/fs/cgroup/a"
26 ~/balbir/cgroupstats # ./getdelays -C "/sys/fs/cgroup"
/linux-4.1.27/arch/x86/realmode/rm/
Dwakeup_asm.S59 movw %cx, %fs
72 movw %ax, %fs
Dreboot.S61 movl %ecx, %fs
/linux-4.1.27/fs/proc/
Dtask_nommu.c54 if (current->fs && current->fs->users > 1) in task_mem()
55 sbytes += kobjsize(current->fs); in task_mem()
57 bytes += kobjsize(current->fs); in task_mem()
/linux-4.1.27/sound/soc/samsung/
Ds3c24xx_uda134x.c87 int fs = i ? 256 : 384; in s3c24xx_uda134x_startup() local
89 rates[i*33] = clk_get_rate(xtal) / fs; in s3c24xx_uda134x_startup()
92 (j * fs); in s3c24xx_uda134x_startup()
Ds3c-i2s-v2.c570 unsigned int fs; in s3c_i2sv2_iis_calc_rate() local
583 for (fs = 0; fs < ARRAY_SIZE(iis_fs_tab); fs++) { in s3c_i2sv2_iis_calc_rate()
584 fsdiv = iis_fs_tab[fs]; in s3c_i2sv2_iis_calc_rate()
/linux-4.1.27/tools/lib/api/
DBuild2 libapi-y += fs/
/linux-4.1.27/arch/cris/
DMakefile20 mach-y := fs
22 mach-$(CONFIG_ETRAXFS) := fs
/linux-4.1.27/net/phonet/
Dpep-gprs.c100 struct sk_buff *rskb, *fs; in gprs_recv() local
118 skb_walk_frags(skb, fs) in gprs_recv()
119 flen += fs->len; in gprs_recv()
/linux-4.1.27/Documentation/filesystems/nfs/
Dnfsd-admin-interfaces.txt8 which is normally mounted at /proc/fs/nfsd/.
34 fs/nfsd/nfsctl.c; most of them have detailed comments.
Dpnfs.txt66 Files-layout-driver code is in: fs/nfs/filelayout/.. directory
67 Objects-layout-deriver code is in: fs/nfs/objlayout/.. directory
68 Blocks-layout-deriver code is in: fs/nfs/blocklayout/.. directory
69 Flexfiles-layout-driver code is in: fs/nfs/flexfilelayout/.. directory
/linux-4.1.27/arch/arm/include/asm/
Duaccess.h70 static inline void set_fs(mm_segment_t fs) in set_fs() argument
72 current_thread_info()->addr_limit = fs; in set_fs()
73 modify_domain(DOMAIN_KERNEL, fs ? DOMAIN_CLIENT : DOMAIN_MANAGER); in set_fs()
263 static inline void set_fs(mm_segment_t fs) in set_fs() argument
/linux-4.1.27/kernel/gcov/
DMakefile3 obj-y := base.o fs.o
/linux-4.1.27/drivers/isdn/hardware/mISDN/
Davmfritz.c452 int count, fs, cnt = 0, idx; in hdlc_fill_fifo() local
459 fs = (fc->type == AVM_FRITZ_PCIV2) ? in hdlc_fill_fifo()
464 count = fs; in hdlc_fill_fifo()
474 if (count > fs) { in hdlc_fill_fifo()
475 count = fs; in hdlc_fill_fifo()
488 hdlc->ctrl.sr.xml = ((count == fs) ? 0 : count); in hdlc_fill_fifo()
539 int len, fs; in HDLC_irq() local
547 fs = HDLC_FIFO_SIZE_V2; in HDLC_irq()
550 fs = HDLC_FIFO_SIZE_V1; in HDLC_irq()
566 len = fs; in HDLC_irq()
/linux-4.1.27/arch/cris/arch-v32/drivers/
DMakefile7 obj-$(CONFIG_ETRAXFS) += mach-fs/
/linux-4.1.27/fs/cifs/
DKconfig43 mounted by the cifs client to be displayed in /proc/fs/cifs/Stats
50 request timing to be displayed in /proc/fs/cifs/DebugData and also
52 value of /proc/fs/cifs/cifsFYI, see fs/cifs/README for more details).
79 /proc/fs/cifs (see fs/cifs/README for more detail) or via an
/linux-4.1.27/arch/mn10300/include/uapi/asm/
Dsigcontext.h16 unsigned long fs[32]; /* fpu registers */ member
/linux-4.1.27/arch/m68k/kernel/
Dtraps.c701 static inline void access_errorcf(unsigned int fs, struct frame *fp) in access_errorcf() argument
715 switch (fs) { in access_errorcf()
748 err_code = fs_err_code[fs]; in access_errorcf()
749 if ((fs == 13) && (mmusr & MMUSR_WF)) /* rd-mod-wr access */ in access_errorcf()
766 unsigned int fs; in buserr_c() local
767 fs = (fp->ptregs.vector & 0x3) | in buserr_c()
769 switch (fs) { in buserr_c()
778 access_errorcf(fs, fp); in buserr_c()
Dprocess.c105 current->thread.fs = __USER_DS; in flush_thread()
149 p->thread.fs = get_fs().seg; in copy_thread()
/linux-4.1.27/arch/um/
DKconfig.rest13 source "fs/Kconfig"
/linux-4.1.27/fs/jffs2/
DTODO2 - support asynchronous operation -- add a per-fs 'reserved_space' count,
6 do shared writable mmap, if we can have a fs hook for do_wp_page() to
DMakefile10 jffs2-y += symlink.o build.o erase.o background.o fs.o writev.o
/linux-4.1.27/drivers/iio/magnetometer/
Dst_magn_core.c180 .fs = {
257 .fs = {
388 &mdata->sensor_settings->fs.fs_avl[0]; in st_magn_common_probe()
/linux-4.1.27/arch/powerpc/boot/dts/
Dmpc8536ds.dtsi68 label = "fs-nor";
98 label = "fs-nand";
163 partition@fs {
/linux-4.1.27/arch/x86/purgatory/
Dsetup-x86_64.S27 movl %eax, %fs
/linux-4.1.27/fs/affs/
DChanges20 - The feature to automatically make the fs clean
27 this fs never claimed to be Posix conformant.
54 - enable international mode for dircache fs
145 restored when the fs is unmounted. (BH)
172 inode if the fs was not an OFS. This bug only shows
237 - Owner/Group defaults now to the fs user (i.e.
/linux-4.1.27/arch/blackfin/include/asm/
Duaccess.h25 static inline void set_fs(mm_segment_t fs) in set_fs() argument
27 current_thread_info()->addr_limit = fs; in set_fs()
/linux-4.1.27/arch/arm64/include/asm/
Duaccess.h61 static inline void set_fs(mm_segment_t fs) in set_fs() argument
63 current_thread_info()->addr_limit = fs; in set_fs()
/linux-4.1.27/Documentation/ABI/stable/
Do2cb1 What: /sys/fs/o2cb/ (was /sys/o2cb)
/linux-4.1.27/Documentation/zh_CN/filesystems/
Dsysfs.txt266 fs/
283 fs/ 包含了一个为文件系统设立的目录。现在每个想要导出属性的文件系统必须
284fs/ 下创建自己的层次结构(参见Documentation/filesystems/fuse.txt)。
/linux-4.1.27/Documentation/security/
DSmack.txt57 smackfs /sys/fs/smackfs smackfs defaults 0 0
59 The /sys/fs/smackfs directory is created by the kernel.
108 on /sys/fs/smackfs.
482 /sys/fs/smackfs/load2. Rules can be added at any time and take effect
534 /sys/fs/smackfs/doi and can be changed by writing to /sys/fs/smackfs/doi.
556 /sys/fs/smackfs/cipso2.
561 value can be read from /sys/fs/smackfs/direct and changed by writing to
562 /sys/fs/smackfs/direct.
580 unlabeled world. To do this there's a special file /sys/fs/smackfs/netlabel
589 Entries in the /sys/fs/smackfs/netlabel file are matched by longest mask
[all …]
/linux-4.1.27/include/uapi/video/
Duvesafb.h21 __u16 fs; member
/linux-4.1.27/fs/ocfs2/
DKconfig45 in conjunction with the DLM in fs/dlm. If you are using a
56 This option allows some fs statistics to be captured. Enabling
/linux-4.1.27/net/atm/
Dbr2684.c363 struct br2684_filter_set fs; in br2684_setfilt() local
365 if (copy_from_user(&fs, arg, sizeof fs)) in br2684_setfilt()
367 if (fs.ifspec.method != BR2684_FIND_BYNOTHING) { in br2684_setfilt()
374 brdev = BRPRIV(br2684_find_dev(&fs.ifspec)); in br2684_setfilt()
385 memcpy(&brvcc->filter, &fs.filter, sizeof(brvcc->filter)); in br2684_setfilt()
/linux-4.1.27/include/asm-generic/
Duaccess.h28 static inline void set_fs(mm_segment_t fs) in set_fs() argument
30 current_thread_info()->addr_limit = fs; in set_fs()
/linux-4.1.27/init/
Ddo_mounts.c363 static int __init do_mount_root(char *name, char *fs, int flags, void *data) in do_mount_root() argument
366 int err = sys_mount(name, "/root", fs, flags, data); in do_mount_root()
371 s = current->fs->pwd.dentry->d_sb; in do_mount_root()
/linux-4.1.27/drivers/video/fbdev/
Dhpfb.c380 mm_segment_t fs; in hpfb_init() local
405 fs = get_fs(); in hpfb_init()
408 set_fs(fs); in hpfb_init()
/linux-4.1.27/arch/x86/include/asm/xen/
Dinterface_32.h67 uint16_t fs, _pad4; member
/linux-4.1.27/arch/x86/kvm/
Dtss.h27 u32 fs; member
/linux-4.1.27/net/
Dsocket.c2740 BUILD_BUG_ON(offsetof(struct compat_ethtool_rxnfc, fs.m_ext) + in ethtool_ioctl()
2741 sizeof(compat_rxnfc->fs.m_ext) != in ethtool_ioctl()
2742 offsetof(struct ethtool_rxnfc, fs.m_ext) + in ethtool_ioctl()
2743 sizeof(rxnfc->fs.m_ext)); in ethtool_ioctl()
2745 offsetof(struct compat_ethtool_rxnfc, fs.location) - in ethtool_ioctl()
2746 offsetof(struct compat_ethtool_rxnfc, fs.ring_cookie) != in ethtool_ioctl()
2747 offsetof(struct ethtool_rxnfc, fs.location) - in ethtool_ioctl()
2748 offsetof(struct ethtool_rxnfc, fs.ring_cookie)); in ethtool_ioctl()
2751 (void __user *)(&rxnfc->fs.m_ext + 1) - in ethtool_ioctl()
2753 copy_in_user(&rxnfc->fs.ring_cookie, in ethtool_ioctl()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/mtd/
Dmtd-physmap.txt56 fs@0 {
57 label = "fs";
/linux-4.1.27/arch/hexagon/
DKconfig161 source "fs/Kconfig"
164 source "fs/Kconfig.binfmt"
/linux-4.1.27/arch/m68k/
DKconfig141 source "fs/Kconfig.binfmt"
162 source "fs/Kconfig"
/linux-4.1.27/sound/core/oss/
Dpcm_oss.c70 mm_segment_t fs = get_fs(); in snd_enter_user() local
72 return fs; in snd_enter_user()
75 static inline void snd_leave_user(mm_segment_t fs) in snd_leave_user() argument
77 set_fs(fs); in snd_leave_user()
1194 mm_segment_t fs; in snd_pcm_oss_write3() local
1195 fs = snd_enter_user(); in snd_pcm_oss_write3()
1197 snd_leave_user(fs); in snd_pcm_oss_write3()
1237 mm_segment_t fs; in snd_pcm_oss_read3() local
1238 fs = snd_enter_user(); in snd_pcm_oss_read3()
1240 snd_leave_user(fs); in snd_pcm_oss_read3()
[all …]
/linux-4.1.27/drivers/media/dvb-frontends/
Datbm8830.c121 u32 fs = priv->config->osc_clk_freq; in set_if_freq() local
128 t = (u64) 2 * 31416 * (freq - fs); in set_if_freq()
130 do_div(t, fs); in set_if_freq()
/linux-4.1.27/security/apparmor/include/
Daudit.h127 } fs; member
/linux-4.1.27/drivers/staging/octeon/
Dethernet-tx.c300 struct skb_frag_struct *fs = skb_shinfo(skb)->frags + i; in cvm_oct_xmit() local
303 (u64)(page_address(fs->page.p) + in cvm_oct_xmit()
304 fs->page_offset)); in cvm_oct_xmit()
305 hw_buffer.s.size = fs->size; in cvm_oct_xmit()
/linux-4.1.27/sound/oss/
Dad1848.c1126 unsigned char fs, old_fs, tmp = 0; in ad1848_prepare_for_output() local
1134 fs = portc->speed_bits | (portc->format_bits << 5); in ad1848_prepare_for_output()
1137 fs |= 0x10; in ad1848_prepare_for_output()
1143 fs &= 0xf0; /* Mask off the rate select bits */ in ad1848_prepare_for_output()
1158 ad_write(devc, 8, fs); in ad1848_prepare_for_output()
1182 if ((fs & 0x01) != (old_fs & 0x01)) in ad1848_prepare_for_output()
1194 unsigned char fs, old_fs, tmp = 0; in ad1848_prepare_for_input() local
1203 fs = portc->speed_bits | (portc->format_bits << 5); in ad1848_prepare_for_input()
1206 fs |= 0x10; in ad1848_prepare_for_input()
1212 fs &= 0xf0; /* Mask off the rate select bits */ in ad1848_prepare_for_input()
[all …]
/linux-4.1.27/arch/alpha/include/asm/
Dsfp-machine.h55 #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ argument
/linux-4.1.27/arch/openrisc/
DKconfig156 source "fs/Kconfig.binfmt"
164 source "fs/Kconfig"
/linux-4.1.27/Documentation/zh_CN/
Doops-tracing.txt104 make fs/buffer.s # 或任何产生BUG的文件
169 Aug 29 09:51:01 blizard kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
/linux-4.1.27/fs/cramfs/
DKconfig13 <file:fs/cramfs/README> for further information.
/linux-4.1.27/fs/hpfs/
Danode.c69 unsigned fs; in hpfs_add_sector_to_btree() local
122fs = n < 0 ? 0 : le32_to_cpu(btree->u.external[n].file_secno) + le32_to_cpu(btree->u.external[n].l… in hpfs_add_sector_to_btree()
158 btree->u.external[n].file_secno = cpu_to_le32(fs); in hpfs_add_sector_to_btree()
180 btree->u.internal[n-1].file_secno = cpu_to_le32(fs); in hpfs_add_sector_to_btree()
257 btree->u.internal[0].file_secno = cpu_to_le32(fs); in hpfs_add_sector_to_btree()
/linux-4.1.27/arch/mn10300/include/asm/
Dprocessor.h92 unsigned long fs[32]; /* fpu registers */ member
/linux-4.1.27/arch/c6x/
DKconfig122 source "fs/Kconfig.binfmt"
130 source "fs/Kconfig"
/linux-4.1.27/arch/arm/boot/dts/
Dkirkwood-openrd-client.dts37 simple-audio-card,mclk-fs = <256>;

123