Home
last modified time | relevance | path

Searched refs:cii (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/fs/coda/
Dcache.c33 struct coda_inode_info *cii = ITOC(inode); in coda_cache_enter() local
35 spin_lock(&cii->c_lock); in coda_cache_enter()
36 cii->c_cached_epoch = atomic_read(&permission_epoch); in coda_cache_enter()
37 if (!uid_eq(cii->c_uid, current_fsuid())) { in coda_cache_enter()
38 cii->c_uid = current_fsuid(); in coda_cache_enter()
39 cii->c_cached_perm = mask; in coda_cache_enter()
41 cii->c_cached_perm |= mask; in coda_cache_enter()
42 spin_unlock(&cii->c_lock); in coda_cache_enter()
48 struct coda_inode_info *cii = ITOC(inode); in coda_cache_clear_inode() local
49 spin_lock(&cii->c_lock); in coda_cache_clear_inode()
[all …]
Ddir.c351 struct coda_inode_info *cii; in coda_venus_readdir() local
363 cii = ITOC(file_inode(coda_file)); in coda_venus_readdir()
378 __func__, coda_f2s(&cii->c_fid), ret); in coda_venus_readdir()
386 __func__, coda_f2s(&cii->c_fid)); in coda_venus_readdir()
393 __func__, coda_f2s(&cii->c_fid)); in coda_venus_readdir()
458 struct coda_inode_info *cii; in coda_dentry_revalidate() local
469 cii = ITOC(d_inode(de)); in coda_dentry_revalidate()
470 if (!(cii->c_flags & (C_PURGE | C_FLUSH))) in coda_dentry_revalidate()
476 if (cii->c_flags & C_FLUSH) in coda_dentry_revalidate()
484 spin_lock(&cii->c_lock); in coda_dentry_revalidate()
[all …]
Dcnode.c48 struct coda_inode_info *cii = ITOC(inode); in coda_test_inode() local
49 return coda_fideq(&cii->c_fid, fid); in coda_test_inode()
55 struct coda_inode_info *cii = ITOC(inode); in coda_set_inode() local
56 cii->c_fid = *fid; in coda_set_inode()
64 struct coda_inode_info *cii; in coda_iget() local
74 cii = ITOC(inode); in coda_iget()
78 cii->c_mapcount = 0; in coda_iget()
126 struct coda_inode_info *cii = ITOC(inode); in coda_replace_fid() local
129 BUG_ON(!coda_fideq(&cii->c_fid, oldfid)); in coda_replace_fid()
134 cii->c_fid = *newfid; in coda_replace_fid()
Dfile.c132 struct coda_inode_info *cii; in coda_file_mmap() local
157 cii = ITOC(coda_inode); in coda_file_mmap()
158 spin_lock(&cii->c_lock); in coda_file_mmap()
166 spin_unlock(&cii->c_lock); in coda_file_mmap()
172 cii->c_mapcount++; in coda_file_mmap()
174 spin_unlock(&cii->c_lock); in coda_file_mmap()
241 struct coda_inode_info *cii; in coda_release() local
250 cii = ITOC(coda_inode); in coda_release()
253 spin_lock(&cii->c_lock); in coda_release()
255 cii->c_mapcount -= cfi->cfi_mapcount; in coda_release()
[all …]
Dcoda_linux.h85 struct coda_inode_info *cii = ITOC(inode); in coda_flag_inode() local
90 spin_lock(&cii->c_lock); in coda_flag_inode()
91 cii->c_flags |= flag; in coda_flag_inode()
92 spin_unlock(&cii->c_lock); in coda_flag_inode()
Dsymlink.c27 struct coda_inode_info *cii; in coda_symlink_filler() local
31 cii = ITOC(inode); in coda_symlink_filler()
33 error = venus_readlink(inode->i_sb, &cii->c_fid, p, &len); in coda_symlink_filler()
/linux-6.1.9/sound/aoa/soundbus/i2sbus/
Dpcm.c77 struct codec_info_item *cii, *rev; in i2sbus_pcm_open() local
100 list_for_each_entry(cii, &sdev->codec_list, list) { in i2sbus_pcm_open()
101 struct transfer_info *ti = cii->codec->transfers; in i2sbus_pcm_open()
102 bus_factor = cii->codec->bus_factor; in i2sbus_pcm_open()
103 sysclock_factor = cii->codec->sysclock_factor; in i2sbus_pcm_open()
107 && cii->codec->usable(cii, ti, &v)) { in i2sbus_pcm_open()
201 list_for_each_entry(cii, &sdev->codec_list, list) { in i2sbus_pcm_open()
202 if (cii->codec->open) { in i2sbus_pcm_open()
203 err = cii->codec->open(cii, pi->substream); in i2sbus_pcm_open()
214 if (rev == cii) in i2sbus_pcm_open()
[all …]
Dcore.c382 struct codec_info_item *cii; in i2sbus_suspend() local
388 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { in i2sbus_suspend()
390 if (cii->codec->suspend) in i2sbus_suspend()
391 err = cii->codec->suspend(cii, state); in i2sbus_suspend()
406 struct codec_info_item *cii; in i2sbus_resume() local
415 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { in i2sbus_resume()
417 if (cii->codec->resume) in i2sbus_resume()
418 err = cii->codec->resume(cii); in i2sbus_resume()
/linux-6.1.9/sound/aoa/soundbus/
Dsoundbus.h83 int (*switch_clock)(struct codec_info_item *cii,
99 int (*usable)(struct codec_info_item *cii,
105 int (*open)(struct codec_info_item *cii,
110 int (*close)(struct codec_info_item *cii,
119 int (*prepare)(struct codec_info_item *cii,
125 int (*start)(struct codec_info_item *cii,
130 int (*stop)(struct codec_info_item *cii,
133 int (*suspend)(struct codec_info_item *cii, pm_message_t state);
134 int (*resume)(struct codec_info_item *cii);
/linux-6.1.9/sound/aoa/codecs/
Donyx.c667 static int onyx_usable(struct codec_info_item *cii, in onyx_usable() argument
672 struct onyx *onyx = cii->codec_data; in onyx_usable()
692 static int onyx_prepare(struct codec_info_item *cii, in onyx_prepare() argument
697 struct onyx *onyx = cii->codec_data; in onyx_prepare()
727 onyx_read_register(cii->codec_data, ONYX_REG_DIG_INFO4, &v); in onyx_prepare()
743 static int onyx_open(struct codec_info_item *cii, in onyx_open() argument
746 struct onyx *onyx = cii->codec_data; in onyx_open()
755 static int onyx_close(struct codec_info_item *cii, in onyx_close() argument
758 struct onyx *onyx = cii->codec_data; in onyx_close()
769 static int onyx_switch_clock(struct codec_info_item *cii, in onyx_switch_clock() argument
[all …]
Dtoonie.c53 static int toonie_usable(struct codec_info_item *cii, in toonie_usable() argument
61 static int toonie_suspend(struct codec_info_item *cii, pm_message_t state) in toonie_suspend() argument
67 static int toonie_resume(struct codec_info_item *cii) in toonie_resume() argument
Dtas.c663 static int tas_usable(struct codec_info_item *cii, in tas_usable() argument
713 static int tas_switch_clock(struct codec_info_item *cii, enum clock_switch clock) in tas_switch_clock() argument
715 struct tas *tas = cii->codec_data; in tas_switch_clock()
766 static int _tas_suspend(struct codec_info_item *cii, pm_message_t state) in _tas_suspend() argument
768 return tas_suspend(cii->codec_data); in _tas_suspend()
771 static int _tas_resume(struct codec_info_item *cii) in _tas_resume() argument
773 return tas_resume(cii->codec_data); in _tas_resume()