Home
last modified time | relevance | path

Searched refs:ofs (Results 1 – 25 of 199) sorted by relevance

12345678

/linux/fs/overlayfs/
H A Dsuper.c248 struct ovl_fs *ofs = OVL_FS(sb); in ovl_put_super()
250 if (ofs) in ovl_put_super()
251 ovl_free_fs(ofs);
257 struct ovl_fs *ofs = OVL_FS(sb); in ovl_sync_fs()
261 ret = ovl_sync_status(ofs); in ovl_sync_fs()
280 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_sync_fs()
300 struct ovl_fs *ofs = OVL_FS(sb); in ovl_statfs()
309 buf->f_namelen = ofs->namelen; in ovl_statfs()
311 if (ovl_has_fsid(ofs)) in ovl_statfs()
332 static struct dentry *ovl_workdir_create(struct ovl_fs *ofs, in ovl_workdir_create()
246 struct ovl_fs *ofs = OVL_FS(sb); ovl_put_super() local
255 struct ovl_fs *ofs = OVL_FS(sb); ovl_sync_fs() local
298 struct ovl_fs *ofs = OVL_FS(sb); ovl_statfs() local
330 ovl_workdir_create(struct ovl_fs * ofs,const char * name,bool persist) ovl_workdir_create() argument
416 ovl_check_namelen(const struct path * path,struct ovl_fs * ofs,const char * name) ovl_check_namelen() argument
431 ovl_lower_dir(const char * name,const struct path * path,struct ovl_fs * ofs,int * stack_depth) ovl_lower_dir() argument
506 ovl_report_in_use(struct ovl_fs * ofs,const char * name) ovl_report_in_use() argument
519 ovl_get_upper(struct super_block * sb,struct ovl_fs * ofs,struct ovl_layer * upper_layer,const struct path * upperpath) ovl_get_upper() argument
584 ovl_check_rename_whiteout(struct ovl_fs * ofs) ovl_check_rename_whiteout() argument
641 ovl_lookup_or_create(struct ovl_fs * ofs,struct dentry * parent,const char * name,umode_t mode) ovl_lookup_or_create() argument
664 ovl_create_volatile_dirty(struct ovl_fs * ofs) ovl_create_volatile_dirty() argument
682 ovl_make_workdir(struct super_block * sb,struct ovl_fs * ofs,const struct path * workpath) ovl_make_workdir() argument
824 ovl_get_workdir(struct super_block * sb,struct ovl_fs * ofs,const struct path * upperpath,const struct path * workpath) ovl_get_workdir() argument
858 ovl_get_indexdir(struct super_block * sb,struct ovl_fs * ofs,struct ovl_entry * oe,const struct path * upperpath) ovl_get_indexdir() argument
931 ovl_lower_uuid_ok(struct ovl_fs * ofs,const uuid_t * uuid) ovl_lower_uuid_ok() argument
967 ovl_get_fsid(struct ovl_fs * ofs,const struct path * path) ovl_get_fsid() argument
1017 ovl_get_data_fsid(struct ovl_fs * ofs) ovl_get_data_fsid() argument
1042 ovl_get_layers(struct super_block * sb,struct ovl_fs * ofs,struct ovl_fs_context * ctx,struct ovl_layer * layers) ovl_get_layers() argument
1191 ovl_get_lowerstack(struct super_block * sb,struct ovl_fs_context * ctx,struct ovl_fs * ofs,struct ovl_layer * layers) ovl_get_lowerstack() argument
1255 ovl_check_layer(struct super_block * sb,struct ovl_fs * ofs,struct dentry * dentry,const char * name,bool is_lower) ovl_check_layer() argument
1289 ovl_check_overlapping_layers(struct super_block * sb,struct ovl_fs * ofs) ovl_check_overlapping_layers() argument
1328 struct ovl_fs *ofs = OVL_FS(sb); ovl_get_root() local
1380 struct ovl_fs *ofs = sb->s_fs_info; ovl_set_d_op() local
1392 struct ovl_fs *ofs = sb->s_fs_info; ovl_fill_super_creds() local
1562 struct ovl_fs *ofs = sb->s_fs_info; ovl_fill_super() local
[all...]
H A Doverlayfs.h196 static inline const char *ovl_xattr(struct ovl_fs *ofs, enum ovl_xattr ox)
198 return ovl_xattr_table[ox][ofs->config.userxattr];
213 static inline int ovl_do_notify_change(struct ovl_fs *ofs,
217 return notify_change(ovl_upper_mnt_idmap(ofs), upperdentry, attr, NULL); in ovl_do_rmdir()
220 static inline int ovl_do_rmdir(struct ovl_fs *ofs, in ovl_do_rmdir()
223 int err = vfs_rmdir(ovl_upper_mnt_idmap(ofs), dir, dentry, NULL); in ovl_do_unlink() argument
229 static inline int ovl_do_unlink(struct ovl_fs *ofs, struct inode *dir, in ovl_do_unlink()
232 int err = vfs_unlink(ovl_upper_mnt_idmap(ofs), dir, dentry, NULL); in ovl_do_link() argument
238 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentry, in ovl_do_link()
241 int err = vfs_link(old_dentry, ovl_upper_mnt_idmap(ofs), di in ovl_do_link()
190 ovl_xattr(struct ovl_fs * ofs,enum ovl_xattr ox) ovl_xattr() argument
207 ovl_do_notify_change(struct ovl_fs * ofs,struct dentry * upperdentry,struct iattr * attr) ovl_do_notify_change() argument
214 ovl_do_rmdir(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry) ovl_do_rmdir() argument
242 ovl_do_create(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry,umode_t mode) ovl_do_create() argument
252 ovl_do_mkdir(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry,umode_t mode) ovl_do_mkdir() argument
266 ovl_do_mknod(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry,umode_t mode,dev_t dev) ovl_do_mknod() argument
276 ovl_do_symlink(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry,const char * oldname) ovl_do_symlink() argument
302 ovl_getxattr_upper(struct ovl_fs * ofs,struct dentry * upperdentry,enum ovl_xattr ox,void * value,size_t size) ovl_getxattr_upper() argument
315 ovl_path_getxattr(struct ovl_fs * ofs,const struct path * path,enum ovl_xattr ox,void * value,size_t size) ovl_path_getxattr() argument
323 ovl_do_setxattr(struct ovl_fs * ofs,struct dentry * dentry,const char * name,const void * value,size_t size,int flags) ovl_do_setxattr() argument
336 ovl_setxattr(struct ovl_fs * ofs,struct dentry * dentry,enum ovl_xattr ox,const void * value,size_t size) ovl_setxattr() argument
343 ovl_do_removexattr(struct ovl_fs * ofs,struct dentry * dentry,const char * name) ovl_do_removexattr() argument
351 ovl_removexattr(struct ovl_fs * ofs,struct dentry * dentry,enum ovl_xattr ox) ovl_removexattr() argument
357 ovl_do_set_acl(struct ovl_fs * ofs,struct dentry * dentry,const char * acl_name,struct posix_acl * acl) ovl_do_set_acl() argument
363 ovl_do_remove_acl(struct ovl_fs * ofs,struct dentry * dentry,const char * acl_name) ovl_do_remove_acl() argument
383 ovl_do_rename(struct ovl_fs * ofs,struct dentry * olddir,struct dentry * olddentry,struct dentry * newdir,struct dentry * newdentry,unsigned int flags) ovl_do_rename() argument
399 ovl_do_whiteout(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry) ovl_do_whiteout() argument
407 ovl_do_tmpfile(struct ovl_fs * ofs,struct dentry * dentry,umode_t mode) ovl_do_tmpfile() argument
420 ovl_lookup_upper_unlocked(struct ovl_fs * ofs,const char * name,struct dentry * base,int len) ovl_lookup_upper_unlocked() argument
429 ovl_start_creating_upper(struct ovl_fs * ofs,struct dentry * parent,struct qstr * name) ovl_start_creating_upper() argument
437 ovl_start_removing_upper(struct ovl_fs * ofs,struct dentry * parent,struct qstr * name) ovl_start_removing_upper() argument
553 ovl_upper_is_whiteout(struct ovl_fs * ofs,struct dentry * upperdentry) ovl_upper_is_whiteout() argument
563 ovl_check_origin_xattr(struct ovl_fs * ofs,struct dentry * upperdentry) ovl_check_origin_xattr() argument
615 struct ovl_fs *ofs = OVL_FS(sb); ovl_is_impuredir() local
624 ovl_get_opaquedir_val(struct ovl_fs * ofs,const struct path * path) ovl_get_opaquedir_val() argument
630 ovl_redirect_follow(struct ovl_fs * ofs) ovl_redirect_follow() argument
635 ovl_redirect_dir(struct ovl_fs * ofs) ovl_redirect_dir() argument
640 ovl_origin_uuid(struct ovl_fs * ofs) ovl_origin_uuid() argument
645 ovl_has_fsid(struct ovl_fs * ofs) ovl_has_fsid() argument
656 ovl_xino_warn(struct ovl_fs * ofs) ovl_xino_warn() argument
661 ovl_should_sync(struct ovl_fs * ofs) ovl_should_sync() argument
666 ovl_should_sync_metadata(struct ovl_fs * ofs) ovl_should_sync_metadata() argument
680 ovl_allow_offline_changes(struct ovl_fs * ofs) ovl_allow_offline_changes() argument
687 ovl_same_fs(struct ovl_fs * ofs) ovl_same_fs() argument
693 ovl_same_dev(struct ovl_fs * ofs) ovl_same_dev() argument
698 ovl_xino_bits(struct ovl_fs * ofs) ovl_xino_bits() argument
758 ovl_verify_origin_fh(struct ovl_fs * ofs,struct dentry * upper,const struct ovl_fh * fh,bool set) ovl_verify_origin_fh() argument
764 ovl_verify_origin(struct ovl_fs * ofs,struct dentry * upper,struct dentry * origin,bool set) ovl_verify_origin() argument
771 ovl_verify_upper(struct ovl_fs * ofs,struct dentry * index,struct dentry * upper,bool set) ovl_verify_upper() argument
947 ovl_force_readonly(struct ovl_fs * ofs) ovl_force_readonly() argument
[all...]
H A Dparams.c322 struct ovl_fs *ofs = fc->s_fs_info; in ovl_mount_dir_check()
332 ofs->casefold = is_casefolded; in ovl_mount_dir_check()
336 if (ofs->casefold != is_casefolded) { in ovl_mount_dir_check()
389 struct ovl_fs *ofs = fc->s_fs_info; in ovl_add_layer()
390 struct ovl_config *config = &ofs->config; in ovl_add_layer()
638 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param()
639 struct ovl_config *config = &ofs->config; in ovl_parse_param()
717 swap(cred, ofs->creator_cred); in ovl_parse_param()
729 swap(cred, ofs->creator_cred); in ovl_parse_param()
761 struct ovl_fs *ofs in ovl_free()
303 struct ovl_fs *ofs = fc->s_fs_info; ovl_mount_dir_check() local
370 struct ovl_fs *ofs = fc->s_fs_info; ovl_add_layer() local
619 struct ovl_fs *ofs = fc->s_fs_info; ovl_parse_param() local
747 struct ovl_fs *ofs = fc->s_fs_info; ovl_free() local
766 struct ovl_fs *ofs = OVL_FS(sb); ovl_reconfigure() local
803 struct ovl_fs *ofs; ovl_init_fs_context() local
843 ovl_free_fs(struct ovl_fs * ofs) ovl_free_fs() argument
1055 struct ovl_fs *ofs = OVL_FS(sb); ovl_show_options() local
[all...]
H A Dutil.c24 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_get_write_access() local
25 return mnt_get_write_access(ovl_upper_mnt(ofs)); in ovl_get_write_access()
31 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_start_write() local
32 sb_start_write(ovl_upper_mnt(ofs)->mnt_sb); in ovl_start_write()
37 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_want_write() local
38 return mnt_want_write(ovl_upper_mnt(ofs)); in ovl_want_write()
43 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_put_write_access() local
44 mnt_put_write_access(ovl_upper_mnt(ofs)); in ovl_put_write_access()
49 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_end_write() local
50 sb_end_write(ovl_upper_mnt(ofs) in ovl_end_write()
55 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_drop_write() local
61 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_workdir() local
67 struct ovl_fs *ofs = OVL_FS(sb); ovl_override_creds() local
96 struct ovl_fs *ofs = OVL_FS(sb); ovl_indexdir() local
104 struct ovl_fs *ofs = OVL_FS(sb); ovl_index_all() local
112 struct ovl_fs *ofs = OVL_FS(sb); ovl_verify_lower() local
247 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_path_upper() local
497 ovl_layer_set_xwhiteouts(struct ovl_fs * ofs,const struct ovl_layer * layer) ovl_layer_set_xwhiteouts() argument
651 ovl_path_is_whiteout(struct ovl_fs * ofs,const struct path * path) ovl_path_is_whiteout() argument
759 ovl_path_check_origin_xattr(struct ovl_fs * ofs,const struct path * path) ovl_path_check_origin_xattr() argument
772 ovl_path_check_xwhiteout_xattr(struct ovl_fs * ofs,const struct path * path) ovl_path_check_xwhiteout_xattr() argument
789 ovl_init_uuid_xattr(struct super_block * sb,struct ovl_fs * ofs,const struct path * upperpath) ovl_init_uuid_xattr() argument
848 ovl_get_dir_xattr_val(struct ovl_fs * ofs,const struct path * path,enum ovl_xattr ox) ovl_get_dir_xattr_val() argument
889 ovl_check_setxattr(struct ovl_fs * ofs,struct dentry * upperdentry,enum ovl_xattr ox,const void * value,size_t size,int xerr) ovl_check_setxattr() argument
911 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_set_impure() local
933 struct ovl_fs *ofs = OVL_FS(inode->i_sb); ovl_check_protattr() local
969 struct ovl_fs *ofs = OVL_FS(inode->i_sb); ovl_set_protattr() local
1077 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_cleanup_index() local
1223 ovl_check_metacopy_xattr(struct ovl_fs * ofs,const struct path * path,struct ovl_metacopy * data) ovl_check_metacopy_xattr() argument
1277 ovl_set_metacopy_xattr(struct ovl_fs * ofs,struct dentry * d,struct ovl_metacopy * metacopy) ovl_set_metacopy_xattr() argument
1305 ovl_get_redirect_xattr(struct ovl_fs * ofs,const struct path * path,int padding) ovl_get_redirect_xattr() argument
1371 ovl_validate_verity(struct ovl_fs * ofs,const struct path * metapath,const struct path * datapath) ovl_validate_verity() argument
1426 ovl_get_verity_digest(struct ovl_fs * ofs,const struct path * src,struct ovl_metacopy * metacopy) ovl_get_verity_digest() argument
1470 ovl_sync_status(struct ovl_fs * ofs) ovl_sync_status() argument
[all...]
H A Ddir.c27 static int ovl_cleanup_locked(struct ovl_fs *ofs, struct inode *wdir, in ovl_cleanup_locked() argument
34 err = ovl_do_rmdir(ofs, wdir, wdentry); in ovl_cleanup_locked()
36 err = ovl_do_unlink(ofs, wdir, wdentry); in ovl_cleanup_locked()
47 int ovl_cleanup(struct ovl_fs *ofs, struct dentry *workdir, in ovl_cleanup() argument
54 ovl_cleanup_locked(ofs, workdir->d_inode, wdentry); in ovl_cleanup()
68 static struct dentry *ovl_start_creating_temp(struct ovl_fs *ofs, in ovl_start_creating_temp() argument
73 return start_creating(ovl_upper_mnt_idmap(ofs), workdir, in ovl_start_creating_temp()
81 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout()
85 struct dentry *workdir = ofs->workdir; in ovl_whiteout()
87 guard(mutex)(&ofs in ovl_whiteout()
77 ovl_whiteout(struct ovl_fs * ofs) ovl_whiteout() argument
122 ovl_cleanup_and_whiteout(struct ovl_fs * ofs,struct dentry * dir,struct dentry * dentry) ovl_cleanup_and_whiteout() argument
161 ovl_create_real(struct ovl_fs * ofs,struct dentry * parent,struct dentry * newdentry,struct qstr * qname,struct ovl_cattr * attr) ovl_create_real() argument
257 ovl_create_temp(struct ovl_fs * ofs,struct dentry * workdir,struct ovl_cattr * attr) ovl_create_temp() argument
273 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_set_opaque_xerr() local
363 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_create_upper() local
401 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_clear_empty() local
474 ovl_set_upper_acl(struct ovl_fs * ofs,struct dentry * upperdentry,const char * acl_name,struct posix_acl * acl) ovl_set_upper_acl() argument
486 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_create_over_whiteout() local
814 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_remove_and_whiteout() local
860 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_remove_upper() local
1098 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_set_redirect() local
1209 struct ovl_fs *ofs = OVL_FS(old->d_sb); ovl_rename_upper() local
[all...]
H A Dcopy_up.c46 static int ovl_copy_acl(struct ovl_fs *ofs, const struct path *path, in ovl_copy_acl() argument
68 err = ovl_do_set_acl(ofs, dentry, acl_name, clone); in ovl_copy_acl()
258 static int ovl_copy_up_file(struct ovl_fs *ofs, struct dentry *dentry, in ovl_sync_file()
359 if (!error && ovl_should_sync(ofs) && datasync) in ovl_copy_up_file()
366 static int ovl_set_size(struct ovl_fs *ofs, in ovl_copy_up_file()
374 return ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_size()
377 static int ovl_set_timestamps(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_size()
387 return ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_timestamps()
390 int ovl_set_attr(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_timestamps()
400 err = ovl_do_notify_change(ofs, upperdentr in ovl_set_attr()
260 ovl_copy_up_file(struct ovl_fs * ofs,struct dentry * dentry,struct file * new_file,loff_t len,bool datasync) ovl_copy_up_file() argument
368 ovl_set_size(struct ovl_fs * ofs,struct dentry * upperdentry,struct kstat * stat) ovl_set_size() argument
379 ovl_set_timestamps(struct ovl_fs * ofs,struct dentry * upperdentry,struct kstat * stat) ovl_set_timestamps() argument
392 ovl_set_attr(struct ovl_fs * ofs,struct dentry * upperdentry,struct kstat * stat) ovl_set_attr() argument
418 ovl_encode_real_fh(struct ovl_fs * ofs,struct inode * realinode,bool is_upper) ovl_encode_real_fh() argument
473 ovl_get_origin_fh(struct ovl_fs * ofs,struct dentry * origin) ovl_get_origin_fh() argument
486 ovl_set_origin_fh(struct ovl_fs * ofs,const struct ovl_fh * fh,struct dentry * upper) ovl_set_origin_fh() argument
502 ovl_set_upper_fh(struct ovl_fs * ofs,struct dentry * upper,struct dentry * index) ovl_set_upper_fh() argument
524 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_create_index() local
600 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); ovl_link_up() local
641 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); ovl_copy_up_data() local
661 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); ovl_copy_up_metadata() local
760 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); ovl_copy_up_workdir() local
854 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); ovl_copy_up_tmpfile() local
935 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); ovl_do_copy_up() local
1031 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_need_meta_copy_up() local
1084 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); ovl_copy_up_meta_inode_data() local
[all...]
/linux/sound/soc/fsl/
H A Dfsl_sai.h24 #define FSL_SAI_TCSR(ofs) (0x00 + ofs) /* SAI Transmit Control */ argument
25 #define FSL_SAI_TCR1(ofs) (0x04 + ofs) /* SAI Transmit Configuration 1 */ argument
26 #define FSL_SAI_TCR2(ofs) (0x08 + ofs) /* SAI Transmit Configuration 2 */ argument
27 #define FSL_SAI_TCR3(ofs) (0x0c + ofs) /* SAI Transmit Configuration 3 */ argument
28 #define FSL_SAI_TCR4(ofs) (0x10 + ofs) /* SA argument
29 FSL_SAI_TCR5(ofs) global() argument
51 FSL_SAI_RCSR(ofs) global() argument
52 FSL_SAI_RCR1(ofs) global() argument
53 FSL_SAI_RCR2(ofs) global() argument
54 FSL_SAI_RCR3(ofs) global() argument
55 FSL_SAI_RCR4(ofs) global() argument
56 FSL_SAI_RCR5(ofs) global() argument
82 FSL_SAI_xCSR(tx,ofs) global() argument
83 FSL_SAI_xCR1(tx,ofs) global() argument
84 FSL_SAI_xCR2(tx,ofs) global() argument
85 FSL_SAI_xCR3(tx,ofs) global() argument
86 FSL_SAI_xCR4(tx,ofs) global() argument
87 FSL_SAI_xCR5(tx,ofs) global() argument
[all...]
H A Dfsl_sai.c136 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_isr() local
149 regmap_read(sai->regmap, FSL_SAI_TCSR(ofs), &xcsr); in fsl_sai_isr()
176 regmap_write(sai->regmap, FSL_SAI_TCSR(ofs), flags | xcsr); in fsl_sai_isr()
180 regmap_read(sai->regmap, FSL_SAI_RCSR(ofs), &xcsr); in fsl_sai_isr()
207 regmap_write(sai->regmap, FSL_SAI_RCSR(ofs), flags | xcsr); in fsl_sai_isr()
270 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_sysclk_tr() local
290 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_sysclk_tr()
355 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_fmt_tr() local
458 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_fmt_tr()
461 regmap_update_bits(sai->regmap, FSL_SAI_xCR4(tx, ofs), in fsl_sai_set_dai_fmt_tr()
498 unsigned int reg, ofs = sai->soc_data->reg_offset; fsl_sai_set_bclk() local
609 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_hw_params() local
810 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_hw_free() local
850 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_config_disable() local
892 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_trigger() local
1007 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_dai_probe() local
1207 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_readable_reg() local
1263 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_volatile_reg() local
1314 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_writeable_reg() local
1360 unsigned char ofs = sai->soc_data->reg_offset; fsl_sai_check_version() local
1401 unsigned char ofs = sai->soc_data->reg_offset; fsl_sai_reset_hw() local
1950 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_runtime_resume() local
[all...]
/linux/fs/jffs2/
H A Dnodelist.c66 if (frag && frag->ofs != size) { in jffs2_truncate_fragtree()
67 if (frag->ofs+frag->size > size) { in jffs2_truncate_fragtree()
68 frag->size = size - frag->ofs; in jffs2_truncate_fragtree()
72 while (frag && frag->ofs >= size) { in jffs2_truncate_fragtree()
88 if (frag->ofs + frag->size < size) in jffs2_truncate_fragtree()
89 return frag->ofs + frag->size; in jffs2_truncate_fragtree()
93 if (frag->node && (frag->ofs & (PAGE_SIZE - 1)) == 0) { in jffs2_truncate_fragtree()
95 frag->ofs, frag->ofs + frag->size); in jffs2_truncate_fragtree()
109 ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size); in jffs2_obsolete_node_frag()
114 …ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size, this->node->frags); in jffs2_obsolete_node_frag()
[all …]
H A Dscan.c47 struct jffs2_raw_inode *ri, uint32_t ofs, struct jffs2_summary *s);
49 struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s);
293 uint32_t ofs, uint32_t len) in jffs2_fill_scan_buf() argument
298 ret = jffs2_flash_read(c, ofs, len, &retlen, buf); in jffs2_fill_scan_buf()
301 len, ofs, ret); in jffs2_fill_scan_buf()
306 ofs, retlen); in jffs2_fill_scan_buf()
333 struct jffs2_raw_xattr *rx, uint32_t ofs, in jffs2_scan_xattr_node() argument
343 ofs, je32_to_cpu(rx->node_crc), crc); in jffs2_scan_xattr_node()
356 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node()
368 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL); in jffs2_scan_xattr_node()
[all …]
H A Dread.c25 int ofs, int len) in jffs2_read_dnode() argument
71 D1(if(ofs + len > je32_to_cpu(ri->dsize)) { in jffs2_read_dnode()
73 len, ofs, je32_to_cpu(ri->dsize)); in jffs2_read_dnode()
143 memcpy(buf, decomprbuf+ofs, len); in jffs2_read_dnode()
177 if (unlikely(!frag || frag->ofs > offset || in jffs2_read_inode_range()
178 frag->ofs + frag->size <= offset)) { in jffs2_read_inode_range()
180 if (frag && frag->ofs > offset) { in jffs2_read_inode_range()
182 f->inocache->ino, frag->ofs, offset); in jffs2_read_inode_range()
183 holesize = min(holesize, frag->ofs - offset); in jffs2_read_inode_range()
192 uint32_t holeend = min(end, frag->ofs + frag->size); in jffs2_read_inode_range()
[all …]
H A Dreadinode.c37 uint32_t crc, ofs, len; in check_node_data() local
43 ofs = ref_offset(ref) + sizeof(struct jffs2_raw_inode); in check_node_data()
47 int adj = ofs % c->wbuf_pagesize; in check_node_data()
53 ref_offset(ref), tn->csize, ofs); in check_node_data()
57 ofs += adj; in check_node_data()
62 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len); in check_node_data()
67 err = mtd_point(c->mtd, ofs, len, &retlen, (void **)&buffer, NULL); in check_node_data()
70 mtd_unpoint(c->mtd, ofs, retlen); in check_node_data()
85 err = jffs2_flash_read(c, ofs, len, &retlen, buffer); in check_node_data()
87 JFFS2_ERROR("can not read %d bytes from 0x%08x, error code: %d.\n", len, ofs, err); in check_node_data()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_regs.h9 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) argument
18 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument
32 #define MT_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs)) argument
57 #define MT_WF_DMA(_band, ofs) (MT_WF_DMA_BASE(_band) + (ofs)) argument
65 #define MT_WTBLOFF_TOP(_band, ofs) (MT_WTBLOFF_TOP_BASE(_band) + (ofs)) argument
73 #define MT_WF_LPON(_band, ofs) (MT_WF_LPON_BASE(_band) + (ofs)) argument
84 #define MT_WF_ETBF(_band, ofs) (MT_WF_ETBF_BASE(_band) + (ofs)) argument
98 #define MT_WF_MIB(_band, ofs) (MT_WF_MIB_BASE(_band) + (ofs)) argument
160 #define MT_WTBLON_TOP(ofs) (MT_WTBLON_TOP_BASE + (ofs)) argument
180 #define MT_WF_AGG(_band, ofs) (MT_WF_AGG_BASE(_band) + (ofs)) argument
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dregs.h131 #define MT_MCU_WFDMA0(ofs) (MT_MCU_WFDMA0_BASE + (ofs)) argument
137 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) argument
147 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument
168 #define MT_PSE(ofs) (MT_PSE_BASE + (ofs)) argument
172 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument
200 #define MT_WF_TRB(_band, ofs) (MT_WF_TRB_BASE(_band) + (ofs)) argument
208 #define MT_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs)) argument
244 #define MT_WF_DMA(_band, ofs) (MT_WF_DMA_BASE(_band) + (ofs)) argument
252 #define MT_WTBLOFF_TOP(_band, ofs) (MT_WTBLOFF_TOP_BASE(_band) + (ofs)) argument
263 #define MT_WF_ETBF(_band, ofs) (MT_WF_ETBF_BASE(_band) + (ofs)) argument
[all …]
/linux/fs/smb/server/
H A Dasn1.c59 static void encode_asn_tag(char *buf, unsigned int *ofs, char tag, char seq, in encode_asn_tag() argument
63 int index = *ofs; in encode_asn_tag()
79 len = len - (index - *ofs); in encode_asn_tag()
90 *ofs += (index - *ofs); in encode_asn_tag()
97 unsigned int ofs = 0; in build_spnego_ntlmssp_neg_blob() local
112 encode_asn_tag(buf, &ofs, 0xa1, 0x30, neg_result_len + oid_len + in build_spnego_ntlmssp_neg_blob()
116 encode_asn_tag(buf, &ofs, 0xa0, 0x0a, 1); in build_spnego_ntlmssp_neg_blob()
117 buf[ofs++] = 1; in build_spnego_ntlmssp_neg_blob()
120 encode_asn_tag(buf, &ofs, 0xa1, 0x06, NTLMSSP_OID_LEN); in build_spnego_ntlmssp_neg_blob()
121 memcpy(buf + ofs, NTLMSSP_OID_STR, NTLMSSP_OID_LEN); in build_spnego_ntlmssp_neg_blob()
[all …]
/linux/drivers/media/pci/pt3/
H A Dpt3_dma.c61 static u8 *next_unit(struct pt3_adapter *adap, int *idx, int *ofs) in next_unit() argument
63 *ofs += PT3_ACCESS_UNIT; in next_unit()
64 if (*ofs >= DATA_BUF_SZ) { in next_unit()
65 *ofs -= DATA_BUF_SZ; in next_unit()
70 return &adap->buffer[*idx].data[*ofs]; in next_unit()
75 int idx, ofs; in pt3_proc_dma() local
78 ofs = adap->buf_ofs; in pt3_proc_dma()
80 if (adap->buffer[idx].data[ofs] == PT3_BUF_CANARY) in pt3_proc_dma()
83 while (*next_unit(adap, &idx, &ofs) != PT3_BUF_CANARY) { in pt3_proc_dma()
93 adap->buffer[idx].data, ofs / TS_PACKET_SZ); in pt3_proc_dma()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dregs.h93 #define MT_RRO_TOP(ofs) (MT_RRO_TOP_BASE + (ofs)) argument
151 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument
186 #define MT_PSE(ofs) (MT_PSE_BASE + (ofs))
196 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs))
206 #define MT_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs))
168 MT_MDP(ofs) global() argument
178 MT_WF_TMAC(_band,ofs) global() argument
199 MT_WF_DMA(_band,ofs) global() argument
209 MT_WTBLOFF(_band,ofs) global() argument
220 MT_WF_ETBF(_band,ofs) global() argument
229 MT_WF_LPON(_band,ofs) global() argument
249 MT_WF_MIB(_band,ofs) global() argument
324 MT_WF_UMIB(ofs) global() argument
330 MT_WTBLON_TOP(ofs) global() argument
356 MT_WF_AGG(_band,ofs) global() argument
363 MT_WF_ARB(_band,ofs) global() argument
371 MT_WF_RMAC(_band,ofs) global() argument
421 MT_WF_RATE(_band,ofs) global() argument
428 MT_WFDMA0(ofs) global() argument
479 MT_WFDMA_EXT_CSR(ofs) global() argument
502 MT_WFDMA0_PCIE1(ofs) global() argument
673 MT_SWDEF(ofs) global() argument
708 MT_CONN_DBG_CTL(ofs) global() argument
719 MT_TOP(ofs) global() argument
759 MT_PCIE_MAC(ofs) global() argument
763 MT_PCIE1_MAC(ofs) global() argument
769 MT_WF_PHYRX_CSD(_band,_wf,ofs) global() argument
776 MT_WF_PHYRX_BAND(_band,ofs) global() argument
797 MT_MCU_WM_EXCP(ofs) global() argument
805 MT_AFE_CTL_BAND(_band,ofs) global() argument
[all...]
/linux/arch/xtensa/variants/test_mmuhifi_c3/include/variant/
H A Dtie-asm.h36 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
37 xchal_sa_start \continue, \ofs
63 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
64 xchal_sa_start \continue, \ofs
97 .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
98 xchal_sa_start \continue, \ofs
133 .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
134 xchal_sa_start \continue, \ofs
167 .macro xchal_cp0_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
168 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
[all …]
/linux/arch/xtensa/variants/test_kc705_be/include/variant/
H A Dtie-asm.h76 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
77 xchal_sa_start \continue, \ofs
142 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
143 xchal_sa_start \continue, \ofs
201 .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
202 xchal_sa_start \continue, \ofs
249 .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
250 xchal_sa_start \continue, \ofs
292 .macro xchal_cp0_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
293 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dregs.h10 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument
81 #define MT_INFRA(ofs) (MT_INFRA_CFG_BASE + (ofs))
108 #define MT7925_PCIE_MAC(ofs) (MT7925_PCIE_MAC_BASE + (ofs))
113 #define MT7928_PCIE_MAC(ofs) (MT7928_PCIE_MAC_BASE + (ofs))
118 #define MT_DMASHDL_LITE(ofs) (MT_DMASHDL_LITE_BASE + (ofs))
82 MT_INFRA(ofs) global() argument
109 MT7925_PCIE_MAC(ofs) global() argument
114 MT7928_PCIE_MAC(ofs) global() argument
119 MT_DMASHDL_LITE(ofs) global() argument
[all...]
/linux/arch/xtensa/variants/test_kc705_hifi/include/variant/
H A Dtie-asm.h77 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
78 xchal_sa_start \continue, \ofs
143 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
144 xchal_sa_start \continue, \ofs
205 .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
206 xchal_sa_start \continue, \ofs
262 .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
263 xchal_sa_start \continue, \ofs
313 .macro xchal_cp0_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
314 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
[all …]
/linux/drivers/net/arcnet/
H A Darc-rawmode.c45 int ofs; in rx() local
50 ofs = 512 - length; in rx()
52 ofs = 256 - length; in rx()
70 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
118 int ofs; in prepare_tx() local
134 hard->offset[1] = ofs = 512 - length; in prepare_tx()
137 hard->offset[1] = ofs = 512 - length - 3; in prepare_tx()
139 hard->offset[0] = ofs = 256 - length; in prepare_tx()
143 length, ofs); in prepare_tx()
146 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length); in prepare_tx()
H A Dcapmode.c49 int ofs; in rx() local
55 ofs = 512 - length; in rx()
57 ofs = 256 - length; in rx()
83 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
137 int ofs; in prepare_tx() local
158 hard->offset[1] = ofs = 512 - length; in prepare_tx()
161 hard->offset[1] = ofs = 512 - length - 3; in prepare_tx()
163 hard->offset[0] = ofs = 256 - length; in prepare_tx()
167 length, ofs); in prepare_tx()
171 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft.cap.proto, in prepare_tx()
[all …]
/linux/arch/mips/kernel/
H A Dirq_txx9.c70 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_unmask() local
72 __raw_writel((__raw_readl(ilrp) & ~(0xff << ofs)) in txx9_irq_unmask()
73 | (txx9irq[irq_nr].level << ofs), in txx9_irq_unmask()
81 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_mask() local
83 __raw_writel((__raw_readl(ilrp) & ~(0xff << ofs)) in txx9_irq_mask()
84 | (irc_dlevel << ofs), in txx9_irq_mask()
104 int ofs; in txx9_irq_set_type() local
119 ofs = (irq_nr & (8 - 1)) * 2; in txx9_irq_set_type()
120 cr &= ~(0x3 << ofs); in txx9_irq_set_type()
121 cr |= (mode & 0x3) << ofs; in txx9_irq_set_type()
/linux/drivers/mtd/lpddr/
H A Dlpddr_cmds.c26 static int lpddr_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
27 static int lpddr_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
537 unsigned long ofs, last_end = 0; in lpddr_point() local
545 ofs = adr - (chipnum << lpddr->chipshift); in lpddr_point()
546 *mtdbuf = (void *)map->virt + chip->start + ofs; in lpddr_point()
560 if ((len + ofs - 1) >> lpddr->chipshift) in lpddr_point()
561 thislen = (1UL << lpddr->chipshift) - ofs; in lpddr_point()
576 ofs = 0; in lpddr_point()
589 unsigned long ofs; in lpddr_unpoint() local
592 ofs = adr - (chipnum << lpddr->chipshift); in lpddr_unpoint()
[all …]

12345678