/kernel/linux/linux-6.6/fs/overlayfs/ |
H A D | super.c | 191 struct ovl_fs *ofs = OVL_FS(sb); in ovl_put_super() local 193 if (ofs) in ovl_put_super() 194 ovl_free_fs(ofs); in ovl_put_super() 200 struct ovl_fs *ofs = OVL_FS(sb); in ovl_sync_fs() local 204 ret = ovl_sync_status(ofs); in ovl_sync_fs() 229 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_sync_fs() 249 struct ovl_fs *ofs = OVL_FS(sb); in ovl_statfs() local 258 buf->f_namelen = ofs->namelen; in ovl_statfs() 260 if (ovl_has_fsid(ofs)) in ovl_statfs() 281 static struct dentry *ovl_workdir_create(struct ovl_fs *ofs, in ovl_workdir_create() argument 371 ovl_check_namelen(const struct path *path, struct ovl_fs *ofs, const char *name) ovl_check_namelen() argument 385 ovl_lower_dir(const char *name, struct path *path, struct ovl_fs *ofs, int *stack_depth) ovl_lower_dir() argument 526 ovl_report_in_use(struct ovl_fs *ofs, const char *name) ovl_report_in_use() argument 539 ovl_get_upper(struct super_block *sb, struct ovl_fs *ofs, struct ovl_layer *upper_layer, const struct path *upperpath) ovl_get_upper() argument 604 ovl_check_rename_whiteout(struct ovl_fs *ofs) ovl_check_rename_whiteout() argument 661 ovl_lookup_or_create(struct ovl_fs *ofs, struct dentry *parent, const char *name, umode_t mode) ovl_lookup_or_create() argument 683 ovl_create_volatile_dirty(struct ovl_fs *ofs) ovl_create_volatile_dirty() argument 701 ovl_make_workdir(struct super_block *sb, struct ovl_fs *ofs, const struct path *workpath) ovl_make_workdir() argument 843 ovl_get_workdir(struct super_block *sb, struct ovl_fs *ofs, const struct path *upperpath, const struct path *workpath) ovl_get_workdir() argument 877 ovl_get_indexdir(struct super_block *sb, struct ovl_fs *ofs, struct ovl_entry *oe, const struct path *upperpath) ovl_get_indexdir() argument 945 ovl_lower_uuid_ok(struct ovl_fs *ofs, const uuid_t *uuid) ovl_lower_uuid_ok() argument 981 ovl_get_fsid(struct ovl_fs *ofs, const struct path *path) ovl_get_fsid() argument 1031 ovl_get_data_fsid(struct ovl_fs *ofs) ovl_get_data_fsid() argument 1037 ovl_get_layers(struct super_block *sb, struct ovl_fs *ofs, struct ovl_fs_context *ctx, struct ovl_layer *layers) ovl_get_layers() argument 1165 ovl_get_lowerstack(struct super_block *sb, struct ovl_fs_context *ctx, struct ovl_fs *ofs, struct ovl_layer *layers) ovl_get_lowerstack() argument 1226 ovl_check_layer(struct super_block *sb, struct ovl_fs *ofs, struct dentry *dentry, const char *name, bool is_lower) ovl_check_layer() argument 1259 ovl_check_overlapping_layers(struct super_block *sb, struct ovl_fs *ofs) ovl_check_overlapping_layers() argument 1334 struct ovl_fs *ofs = sb->s_fs_info; ovl_fill_super() local [all...] |
H A D | overlayfs.h | 167 static inline const char *ovl_xattr(struct ovl_fs *ofs, enum ovl_xattr ox) in ovl_xattr() argument 169 return ovl_xattr_table[ox][ofs->config.userxattr]; in ovl_xattr() 184 static inline int ovl_do_notify_change(struct ovl_fs *ofs, in ovl_do_notify_change() argument 188 return notify_change(ovl_upper_mnt_idmap(ofs), upperdentry, attr, NULL); in ovl_do_notify_change() 191 static inline int ovl_do_rmdir(struct ovl_fs *ofs, in ovl_do_rmdir() argument 194 int err = vfs_rmdir(ovl_upper_mnt_idmap(ofs), dir, dentry); in ovl_do_rmdir() 200 static inline int ovl_do_unlink(struct ovl_fs *ofs, struct inode *dir, in ovl_do_unlink() argument 203 int err = vfs_unlink(ovl_upper_mnt_idmap(ofs), dir, dentry, NULL); in ovl_do_unlink() 209 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentry, in ovl_do_link() argument 212 int err = vfs_link(old_dentry, ovl_upper_mnt_idmap(ofs), di in ovl_do_link() 219 ovl_do_create(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry, umode_t mode) ovl_do_create() argument 229 ovl_do_mkdir(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry, umode_t mode) ovl_do_mkdir() argument 238 ovl_do_mknod(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) ovl_do_mknod() argument 248 ovl_do_symlink(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry, const char *oldname) ovl_do_symlink() argument 274 ovl_getxattr_upper(struct ovl_fs *ofs, struct dentry *upperdentry, enum ovl_xattr ox, void *value, size_t size) ovl_getxattr_upper() argument 287 ovl_path_getxattr(struct ovl_fs *ofs, const struct path *path, enum ovl_xattr ox, void *value, size_t size) ovl_path_getxattr() argument 295 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 307 ovl_setxattr(struct ovl_fs *ofs, struct dentry *dentry, enum ovl_xattr ox, const void *value, size_t size) ovl_setxattr() argument 314 ovl_do_removexattr(struct ovl_fs *ofs, struct dentry *dentry, const char *name) ovl_do_removexattr() argument 322 ovl_removexattr(struct ovl_fs *ofs, struct dentry *dentry, enum ovl_xattr ox) ovl_removexattr() argument 328 ovl_do_set_acl(struct ovl_fs *ofs, struct dentry *dentry, const char *acl_name, struct posix_acl *acl) ovl_do_set_acl() argument 334 ovl_do_remove_acl(struct ovl_fs *ofs, struct dentry *dentry, const char *acl_name) ovl_do_remove_acl() argument 340 ovl_do_rename(struct ovl_fs *ofs, struct inode *olddir, struct dentry *olddentry, struct inode *newdir, struct dentry *newdentry, unsigned int flags) ovl_do_rename() argument 364 ovl_do_whiteout(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry) ovl_do_whiteout() argument 372 ovl_do_tmpfile(struct ovl_fs *ofs, struct dentry *dentry, umode_t mode) ovl_do_tmpfile() argument 385 ovl_lookup_upper(struct ovl_fs *ofs, const char *name, struct dentry *base, int len) ovl_lookup_upper() argument 481 ovl_check_origin_xattr(struct ovl_fs *ofs, struct dentry *upperdentry) ovl_check_origin_xattr() argument 536 struct ovl_fs *ofs = OVL_FS(sb); ovl_is_impuredir() local 545 ovl_redirect_follow(struct ovl_fs *ofs) ovl_redirect_follow() argument 550 ovl_redirect_dir(struct ovl_fs *ofs) ovl_redirect_dir() argument 555 ovl_origin_uuid(struct ovl_fs *ofs) ovl_origin_uuid() argument 560 ovl_has_fsid(struct ovl_fs *ofs) ovl_has_fsid() argument 571 ovl_xino_warn(struct ovl_fs *ofs) ovl_xino_warn() argument 580 ovl_allow_offline_changes(struct ovl_fs *ofs) ovl_allow_offline_changes() argument 587 ovl_same_fs(struct ovl_fs *ofs) ovl_same_fs() argument 593 ovl_same_dev(struct ovl_fs *ofs) ovl_same_dev() argument 598 ovl_xino_bits(struct ovl_fs *ofs) ovl_xino_bits() argument 651 ovl_verify_origin(struct ovl_fs *ofs, struct dentry *upper, struct dentry *origin, bool set) ovl_verify_origin() argument 658 ovl_verify_upper(struct ovl_fs *ofs, struct dentry *index, struct dentry *upper, bool set) ovl_verify_upper() argument 837 ovl_force_readonly(struct ovl_fs *ofs) ovl_force_readonly() argument [all...] |
H A D | params.c | 343 struct ovl_fs *ofs = fc->s_fs_info; in ovl_add_layer() local 344 struct ovl_config *config = &ofs->config; in ovl_add_layer() 554 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param() local 555 struct ovl_config *config = &ofs->config; in ovl_parse_param() 656 struct ovl_fs *ofs = fc->s_fs_info; in ovl_free() local 660 * ofs is stored in the fs_context when it is initialized. in ovl_free() 661 * ofs is transferred to the superblock on a successful mount, in ovl_free() 665 if (ofs) in ovl_free() 666 ovl_free_fs(ofs); in ovl_free() 675 struct ovl_fs *ofs in ovl_reconfigure() local 712 struct ovl_fs *ofs; ovl_init_fs_context() local 749 ovl_free_fs(struct ovl_fs *ofs) ovl_free_fs() argument 962 struct ovl_fs *ofs = OVL_FS(sb); ovl_show_options() local [all...] |
H A D | dir.c | 26 int ovl_cleanup(struct ovl_fs *ofs, struct inode *wdir, struct dentry *wdentry) in ovl_cleanup() argument 32 err = ovl_do_rmdir(ofs, wdir, wdentry); in ovl_cleanup() 34 err = ovl_do_unlink(ofs, wdir, wdentry); in ovl_cleanup() 45 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir) in ovl_lookup_temp() argument 54 temp = ovl_lookup_upper(ofs, name, workdir, strlen(name)); in ovl_lookup_temp() 65 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout() argument 69 struct dentry *workdir = ofs->workdir; in ovl_whiteout() 72 if (!ofs->whiteout) { in ovl_whiteout() 73 whiteout = ovl_lookup_temp(ofs, workdir); in ovl_whiteout() 77 err = ovl_do_whiteout(ofs, wdi in ovl_whiteout() 109 ovl_cleanup_and_whiteout(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry) ovl_cleanup_and_whiteout() argument 140 ovl_mkdir_real(struct ovl_fs *ofs, struct inode *dir, struct dentry **newdentry, umode_t mode) ovl_mkdir_real() argument 171 ovl_create_real(struct ovl_fs *ofs, struct inode *dir, struct dentry *newdentry, struct ovl_cattr *attr) ovl_create_real() argument 227 ovl_create_temp(struct ovl_fs *ofs, struct dentry *workdir, struct ovl_cattr *attr) ovl_create_temp() argument 237 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_set_opaque_xerr() local 324 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_create_upper() local 364 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_clear_empty() local 436 ovl_set_upper_acl(struct ovl_fs *ofs, struct dentry *upperdentry, const char *acl_name, struct posix_acl *acl) ovl_set_upper_acl() argument 448 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_create_over_whiteout() local 749 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_remove_and_whiteout() local 803 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_remove_upper() local 1049 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); ovl_set_redirect() local 1097 struct ovl_fs *ofs = OVL_FS(old->d_sb); ovl_rename() local [all...] |
/kernel/linux/linux-5.10/fs/overlayfs/ |
H A D | super.c | 220 static void ovl_free_fs(struct ovl_fs *ofs) in ovl_free_fs() argument 225 iput(ofs->workbasedir_trap); in ovl_free_fs() 226 iput(ofs->indexdir_trap); in ovl_free_fs() 227 iput(ofs->workdir_trap); in ovl_free_fs() 228 dput(ofs->whiteout); in ovl_free_fs() 229 dput(ofs->indexdir); in ovl_free_fs() 230 dput(ofs->workdir); in ovl_free_fs() 231 if (ofs->workdir_locked) in ovl_free_fs() 232 ovl_inuse_unlock(ofs->workbasedir); in ovl_free_fs() 233 dput(ofs in ovl_free_fs() 260 struct ovl_fs *ofs = sb->s_fs_info; ovl_put_super() local 268 struct ovl_fs *ofs = sb->s_fs_info; ovl_sync_fs() local 316 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; ovl_statfs() local 333 ovl_force_readonly(struct ovl_fs *ofs) ovl_force_readonly() argument 363 struct ovl_fs *ofs = sb->s_fs_info; ovl_show_options() local 391 struct ovl_fs *ofs = sb->s_fs_info; ovl_remount() local 714 ovl_workdir_create(struct ovl_fs *ofs, const char *name, bool persist) ovl_workdir_create() argument 867 ovl_check_namelen(struct path *path, struct ovl_fs *ofs, const char *name) ovl_check_namelen() argument 881 ovl_lower_dir(const char *name, struct path *path, struct ovl_fs *ofs, int *stack_depth) ovl_lower_dir() argument 1107 ovl_report_in_use(struct ovl_fs *ofs, const char *name) ovl_report_in_use() argument 1120 ovl_get_upper(struct super_block *sb, struct ovl_fs *ofs, struct ovl_layer *upper_layer, struct path *upperpath) ovl_get_upper() argument 1265 ovl_create_volatile_dirty(struct ovl_fs *ofs) ovl_create_volatile_dirty() argument 1283 ovl_make_workdir(struct super_block *sb, struct ovl_fs *ofs, struct path *workpath) ovl_make_workdir() argument 1399 ovl_get_workdir(struct super_block *sb, struct ovl_fs *ofs, struct path *upperpath) ovl_get_workdir() argument 1442 ovl_get_indexdir(struct super_block *sb, struct ovl_fs *ofs, struct ovl_entry *oe, struct path *upperpath) ovl_get_indexdir() argument 1510 ovl_lower_uuid_ok(struct ovl_fs *ofs, const uuid_t *uuid) ovl_lower_uuid_ok() argument 1547 ovl_get_fsid(struct ovl_fs *ofs, const struct path *path) ovl_get_fsid() argument 1585 ovl_get_layers(struct super_block *sb, struct ovl_fs *ofs, struct path *stack, unsigned int numlower, struct ovl_layer *layers) ovl_get_layers() argument 1705 ovl_get_lowerstack(struct super_block *sb, const char *lower, unsigned int numlower, struct ovl_fs *ofs, struct ovl_layer *layers) ovl_get_lowerstack() argument 1770 ovl_check_layer(struct super_block *sb, struct ovl_fs *ofs, struct dentry *dentry, const char *name, bool is_lower) ovl_check_layer() argument 1803 ovl_check_overlapping_layers(struct super_block *sb, struct ovl_fs *ofs) ovl_check_overlapping_layers() argument 1881 struct ovl_fs *ofs; ovl_fill_super() local [all...] |
/kernel/linux/linux-5.10/fs/jffs2/ |
H A D | scan.c | 42 /* These helper functions _must_ increase ofs and also do the dirty/used space accounting. 47 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); 291 uint32_t ofs, uint32_t len) in jffs2_fill_scan_buf() 296 ret = jffs2_flash_read(c, ofs, len, &retlen, buf); in jffs2_fill_scan_buf() 299 len, ofs, ret); in jffs2_fill_scan_buf() 304 ofs, retlen); in jffs2_fill_scan_buf() 331 struct jffs2_raw_xattr *rx, uint32_t ofs, in jffs2_scan_xattr_node() 341 ofs, je32_to_cpu(rx->node_crc), crc); in jffs2_scan_xattr_node() 354 ofs, je32_to_cp in jffs2_scan_xattr_node() 290 jffs2_fill_scan_buf(struct jffs2_sb_info *c, void *buf, uint32_t ofs, uint32_t len) jffs2_fill_scan_buf() argument 330 jffs2_scan_xattr_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_xattr *rx, uint32_t ofs, struct jffs2_summary *s) jffs2_scan_xattr_node() argument 386 jffs2_scan_xref_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_xref *rr, uint32_t ofs, struct jffs2_summary *s) jffs2_scan_xref_node() argument 449 uint32_t ofs, prevofs, max_ofs; jffs2_scan_eraseblock() local 991 jffs2_scan_inode_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_inode *ri, uint32_t ofs, struct jffs2_summary *s) jffs2_scan_inode_node() argument 1045 jffs2_scan_dirent_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s) jffs2_scan_dirent_node() argument [all...] |
H A D | nodelist.c | 65 /* We know frag->ofs <= size. That's what lookup does for us */ in jffs2_truncate_fragtree() 66 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 in jffs2_truncate_fragtree() 149 new_fragment(struct jffs2_full_dnode *fn, uint32_t ofs, uint32_t size) new_fragment() argument 585 jffs2_link_node_ref(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t ofs, uint32_t len, struct jffs2_inode_cache *ic) jffs2_link_node_ref() argument 682 uint32_t ofs = jeb->offset + c->sector_size - jeb->free_size; jffs2_scan_dirty_space() local [all...] |
/kernel/linux/linux-6.6/fs/jffs2/ |
H A D | scan.c | 42 /* These helper functions _must_ increase ofs and also do the dirty/used space accounting. 47 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); 291 uint32_t ofs, uint32_t len) in jffs2_fill_scan_buf() 296 ret = jffs2_flash_read(c, ofs, len, &retlen, buf); in jffs2_fill_scan_buf() 299 len, ofs, ret); in jffs2_fill_scan_buf() 304 ofs, retlen); in jffs2_fill_scan_buf() 331 struct jffs2_raw_xattr *rx, uint32_t ofs, in jffs2_scan_xattr_node() 341 ofs, je32_to_cpu(rx->node_crc), crc); in jffs2_scan_xattr_node() 354 ofs, je32_to_cp in jffs2_scan_xattr_node() 290 jffs2_fill_scan_buf(struct jffs2_sb_info *c, void *buf, uint32_t ofs, uint32_t len) jffs2_fill_scan_buf() argument 330 jffs2_scan_xattr_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_xattr *rx, uint32_t ofs, struct jffs2_summary *s) jffs2_scan_xattr_node() argument 386 jffs2_scan_xref_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_xref *rr, uint32_t ofs, struct jffs2_summary *s) jffs2_scan_xref_node() argument 449 uint32_t ofs, prevofs, max_ofs; jffs2_scan_eraseblock() local 991 jffs2_scan_inode_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_inode *ri, uint32_t ofs, struct jffs2_summary *s) jffs2_scan_inode_node() argument 1045 jffs2_scan_dirent_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s) jffs2_scan_dirent_node() argument [all...] |
H A D | nodelist.c | 65 /* We know frag->ofs <= size. That's what lookup does for us */ in jffs2_truncate_fragtree() 66 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 in jffs2_truncate_fragtree() 149 new_fragment(struct jffs2_full_dnode *fn, uint32_t ofs, uint32_t size) new_fragment() argument 585 jffs2_link_node_ref(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t ofs, uint32_t len, struct jffs2_inode_cache *ic) jffs2_link_node_ref() argument 682 uint32_t ofs = jeb->offset + c->sector_size - jeb->free_size; jffs2_scan_dirty_space() local [all...] |
/kernel/linux/linux-5.10/sound/soc/fsl/ |
H A D | fsl_sai.h | 19 #define FSL_SAI_TCSR(ofs) (0x00 + ofs) /* SAI Transmit Control */ 20 #define FSL_SAI_TCR1(ofs) (0x04 + ofs) /* SAI Transmit Configuration 1 */ 21 #define FSL_SAI_TCR2(ofs) (0x08 + ofs) /* SAI Transmit Configuration 2 */ 22 #define FSL_SAI_TCR3(ofs) (0x0c + ofs) /* SAI Transmit Configuration 3 */ 23 #define FSL_SAI_TCR4(ofs) (0x10 + ofs) /* SA [all...] |
/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | fsl_sai.h | 23 #define FSL_SAI_TCSR(ofs) (0x00 + ofs) /* SAI Transmit Control */ 24 #define FSL_SAI_TCR1(ofs) (0x04 + ofs) /* SAI Transmit Configuration 1 */ 25 #define FSL_SAI_TCR2(ofs) (0x08 + ofs) /* SAI Transmit Configuration 2 */ 26 #define FSL_SAI_TCR3(ofs) (0x0c + ofs) /* SAI Transmit Configuration 3 */ 27 #define FSL_SAI_TCR4(ofs) (0x10 + ofs) /* SA [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-io.h | 64 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val); 65 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val); 66 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val); 67 u32 iwl_read32(struct iwl_trans *trans, u32 ofs); 89 u32 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs); 90 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs); 91 void iwl_write_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val); 92 void iwl_write_prph64_no_grab(struct iwl_trans *trans, u64 ofs, u64 val); 93 void iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val); 96 void iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u3 113 iwl_umac_prph(struct iwl_trans *trans, u32 ofs) iwl_umac_prph() argument 118 iwl_read_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs) iwl_read_umac_prph_no_grab() argument 124 iwl_read_umac_prph(struct iwl_trans *trans, u32 ofs) iwl_read_umac_prph() argument 129 iwl_write_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val) iwl_write_umac_prph_no_grab() argument 136 iwl_write_umac_prph(struct iwl_trans *trans, u32 ofs, u32 val) iwl_write_umac_prph() argument [all...] |
H A D | iwl-io.c | 73 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_write8() argument 75 trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val); in iwl_write8() 76 iwl_trans_write8(trans, ofs, val); in iwl_write8() 80 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write32() argument 82 trace_iwlwifi_dev_iowrite32(trans->dev, ofs, val); in iwl_write32() 83 iwl_trans_write32(trans, ofs, val); in iwl_write32() 87 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write64() argument 89 trace_iwlwifi_dev_iowrite64(trans->dev, ofs, val); in iwl_write64() 90 iwl_trans_write32(trans, ofs, lower_32_bits(val)); in iwl_write64() 91 iwl_trans_write32(trans, ofs in iwl_write64() 95 iwl_read32(struct iwl_trans *trans, u32 ofs) iwl_read32() argument 173 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs) iwl_read_prph_no_grab() argument 181 iwl_write_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val) iwl_write_prph_no_grab() argument 188 iwl_write_prph64_no_grab(struct iwl_trans *trans, u64 ofs, u64 val) iwl_write_prph64_no_grab() argument 196 iwl_read_prph(struct iwl_trans *trans, u32 ofs) iwl_read_prph() argument 209 iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) iwl_write_prph() argument 235 iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) iwl_set_bits_prph() argument 248 iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 ofs, u32 bits, u32 mask) iwl_set_bits_mask_prph() argument 262 iwl_clear_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) iwl_clear_bits_prph() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-io.h | 11 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val); 12 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val); 13 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val); 14 u32 iwl_read32(struct iwl_trans *trans, u32 ofs); 36 u32 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs); 37 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs); 38 void iwl_write_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val); 39 void iwl_write_prph64_no_grab(struct iwl_trans *trans, u64 ofs, u64 val); 40 void iwl_write_prph_delay(struct iwl_trans *trans, u32 ofs, 42 static inline void iwl_write_prph(struct iwl_trans *trans, u32 ofs, u3 argument 65 iwl_umac_prph(struct iwl_trans *trans, u32 ofs) iwl_umac_prph() argument 70 iwl_read_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs) iwl_read_umac_prph_no_grab() argument 76 iwl_read_umac_prph(struct iwl_trans *trans, u32 ofs) iwl_read_umac_prph() argument 81 iwl_write_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val) iwl_write_umac_prph_no_grab() argument 88 iwl_write_umac_prph(struct iwl_trans *trans, u32 ofs, u32 val) iwl_write_umac_prph() argument [all...] |
H A D | iwl-io.c | 17 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_write8() argument 19 trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val); in iwl_write8() 20 iwl_trans_write8(trans, ofs, val); in iwl_write8() 24 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write32() argument 26 trace_iwlwifi_dev_iowrite32(trans->dev, ofs, val); in iwl_write32() 27 iwl_trans_write32(trans, ofs, val); in iwl_write32() 31 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write64() argument 33 trace_iwlwifi_dev_iowrite64(trans->dev, ofs, val); in iwl_write64() 34 iwl_trans_write32(trans, ofs, lower_32_bits(val)); in iwl_write64() 35 iwl_trans_write32(trans, ofs in iwl_write64() 39 iwl_read32(struct iwl_trans *trans, u32 ofs) iwl_read32() argument 114 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs) iwl_read_prph_no_grab() argument 122 iwl_write_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val) iwl_write_prph_no_grab() argument 129 iwl_write_prph64_no_grab(struct iwl_trans *trans, u64 ofs, u64 val) iwl_write_prph64_no_grab() argument 137 iwl_read_prph(struct iwl_trans *trans, u32 ofs) iwl_read_prph() argument 152 iwl_write_prph_delay(struct iwl_trans *trans, u32 ofs, u32 val, u32 delay_ms) iwl_write_prph_delay() argument 177 iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) iwl_set_bits_prph() argument 188 iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 ofs, u32 bits, u32 mask) iwl_set_bits_mask_prph() argument 200 iwl_clear_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) iwl_clear_bits_prph() argument [all...] |
/kernel/linux/linux-6.6/drivers/mtd/spi-nor/ |
H A D | swp.c | 50 static void spi_nor_get_locked_range_sr(struct spi_nor *nor, u8 sr, loff_t *ofs, in spi_nor_get_locked_range_sr() argument 66 *ofs = 0; in spi_nor_get_locked_range_sr() 78 *ofs = 0; in spi_nor_get_locked_range_sr() 80 *ofs = mtd->size - *len; in spi_nor_get_locked_range_sr() 87 static bool spi_nor_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, in spi_nor_check_lock_status_sr() argument 99 offs_max = ofs + len; in spi_nor_check_lock_status_sr() 103 return (offs_max <= lock_offs_max) && (ofs >= lock_offs); in spi_nor_check_lock_status_sr() 106 return (ofs >= lock_offs_max) || (offs_max <= lock_offs); in spi_nor_check_lock_status_sr() 109 static bool spi_nor_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in spi_nor_is_locked_sr() argument 112 return spi_nor_check_lock_status_sr(nor, ofs, le in spi_nor_is_locked_sr() 115 spi_nor_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, u8 sr) spi_nor_is_unlocked_sr() argument 154 spi_nor_sr_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) spi_nor_sr_lock() argument 244 spi_nor_sr_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) spi_nor_sr_unlock() argument 329 spi_nor_sr_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) spi_nor_sr_is_locked() argument 351 spi_nor_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) spi_nor_lock() argument 366 spi_nor_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) spi_nor_unlock() argument 381 spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) spi_nor_is_locked() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | regs.h | 9 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) 18 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) 30 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) 52 #define MT_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs)) 72 #define MT_WF_DMA(ofs) (MT_WF_DMA_BASE + (ofs)) [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | stm32-usart.c | 41 .ofs = { 62 .ofs = { 84 .ofs = { 137 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_empty() local 139 if (readl_relaxed(port->membase + ofs->isr) & USART_SR_TC) in stm32_usart_tx_empty() 222 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_config_rs485() local 227 stm32_usart_clr_bits(port, ofs->cr1, BIT(cfg->uart_enable_bit)); in stm32_usart_config_rs485() 230 cr1 = readl_relaxed(port->membase + ofs in stm32_usart_config_rs485() 347 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_pending_rx_pio() local 367 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_get_char_pio() local 380 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_receive_chars_pio() local 493 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_receive_chars() local 652 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_tx_interrupt_enable() local 667 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_tc_interrupt_enable() local 675 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_tx_interrupt_disable() local 686 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_tc_interrupt_disable() local 694 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_transmit_chars_pio() local 790 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_transmit_chars() local 857 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_interrupt() local 919 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_set_mctrl() local 991 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_throttle() local 1014 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_unthrottle() local 1038 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_stop_rx() local 1056 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_startup() local 1095 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_shutdown() local 1144 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_set_termios() local 1391 const struct stm32_usart_offsets *ofs = &stm32port->info->ofs; stm32_usart_pm() local 1421 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_poll_get_char() local 1645 const struct stm32_usart_offsets *ofs = &stm32port->info->ofs; stm32_usart_of_dma_rx_probe() local 1683 const struct stm32_usart_offsets *ofs = &stm32port->info->ofs; stm32_usart_of_dma_tx_probe() local 1816 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_serial_remove() local 1858 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_console_putchar() local 1878 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_console_write() local 2012 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_serial_en_wakeup() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | stm32-usart.c | 104 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_config_rs485() local 109 stm32_usart_clr_bits(port, ofs->cr1, BIT(cfg->uart_enable_bit)); in stm32_usart_config_rs485() 116 cr1 = readl_relaxed(port->membase + ofs->cr1); in stm32_usart_config_rs485() 117 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_usart_config_rs485() 118 usartdiv = readl_relaxed(port->membase + ofs->brr); in stm32_usart_config_rs485() 140 writel_relaxed(cr3, port->membase + ofs->cr3); in stm32_usart_config_rs485() 141 writel_relaxed(cr1, port->membase + ofs->cr1); in stm32_usart_config_rs485() 143 stm32_usart_clr_bits(port, ofs->cr3, in stm32_usart_config_rs485() 145 stm32_usart_clr_bits(port, ofs in stm32_usart_config_rs485() 173 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_pending_rx() local 197 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_get_char() local 217 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_receive_chars() local 288 const struct stm32_usart_offsets *ofs = &stm32port->info->ofs; stm32_usart_tx_dma_complete() local 304 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_tx_interrupt_enable() local 319 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_tx_interrupt_disable() local 330 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_transmit_chars_pio() local 357 const struct stm32_usart_offsets *ofs = &stm32port->info->ofs; stm32_usart_transmit_chars_dma() local 423 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_transmit_chars() local 476 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_interrupt() local 523 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_tx_empty() local 534 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_set_mctrl() local 611 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_throttle() local 626 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_unthrottle() local 641 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_stop_rx() local 656 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_startup() local 683 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_shutdown() local 749 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_set_termios() local 981 const struct stm32_usart_offsets *ofs = &stm32port->info->ofs; stm32_usart_pm() local 1140 const struct stm32_usart_offsets *ofs = &stm32port->info->ofs; stm32_usart_of_dma_rx_probe() local 1222 const struct stm32_usart_offsets *ofs = &stm32port->info->ofs; stm32_usart_of_dma_tx_probe() local 1364 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_serial_remove() local 1414 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_console_putchar() local 1427 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_console_write() local 1514 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; stm32_usart_serial_en_wakeup() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | regs.h | 49 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) 66 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) 73 #define MT_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs)) 94 #define MT_WF_DMA(_band, ofs) (MT_WF_DMA_BASE(_band) + (ofs)) 104 #define MT_WTBLOFF(_band, ofs) (MT_WTBLOFF_BASE(_band) + (ofs)) [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_regs.h | 9 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) 18 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) 30 #define MT_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs)) 55 #define MT_WF_DMA(_band, ofs) (MT_WF_DMA_BASE(_band) + (ofs)) 63 #define MT_WTBLOFF_TOP(_band, ofs) (MT_WTBLOFF_TOP_BASE(_band) + (ofs)) [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | regs.h | 130 #define MT_MCU_WFDMA0(ofs) (MT_MCU_WFDMA0_BASE + (ofs)) 136 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) 146 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) 167 #define MT_PSE(ofs) (MT_PSE_BASE + (ofs)) 171 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) [all...] |
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | ebitmap.h | 50 unsigned int ofs; in ebitmap_start_positive() local 53 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_start_positive() 54 if (ofs < EBITMAP_SIZE) in ebitmap_start_positive() 55 return (*n)->startbit + ofs; in ebitmap_start_positive() 69 unsigned int ofs; in ebitmap_next_positive() local 71 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); in ebitmap_next_positive() 72 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive() 73 return ofs + (*n)->startbit; in ebitmap_next_positive() 76 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_next_positive() 77 if (ofs < EBITMAP_SIZ in ebitmap_next_positive() 92 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); ebitmap_node_get_bit() local 104 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); ebitmap_node_set_bit() local 114 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); ebitmap_node_clr_bit() local [all...] |
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | ebitmap.h | 50 unsigned int ofs; in ebitmap_start_positive() local 53 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_start_positive() 54 if (ofs < EBITMAP_SIZE) in ebitmap_start_positive() 55 return (*n)->startbit + ofs; in ebitmap_start_positive() 69 unsigned int ofs; in ebitmap_next_positive() local 71 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); in ebitmap_next_positive() 72 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive() 73 return ofs + (*n)->startbit; in ebitmap_next_positive() 76 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_next_positive() 77 if (ofs < EBITMAP_SIZ in ebitmap_next_positive() 92 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); ebitmap_node_get_bit() local 104 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); ebitmap_node_set_bit() local 114 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); ebitmap_node_clr_bit() local [all...] |
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | asn1.c | 59 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, in build_spnego_ntlmssp_neg_blob() 138 unsigned int ofs = 0; build_spnego_ntlmssp_auth_blob() local [all...] |