/linux/fs/coda/ |
A D | cache.c | 33 struct coda_inode_info *cii = ITOC(inode); in coda_cache_enter() local 35 spin_lock(&cii->c_lock); 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() 51 spin_unlock(&cii->c_lock); in coda_cache_clear_inode() 67 spin_lock(&cii->c_lock); in coda_cache_check() [all …]
|
A D | dir.c | 351 struct coda_inode_info *cii; in coda_venus_readdir() local 458 struct coda_inode_info *cii; in coda_dentry_revalidate() local 469 cii = ITOC(d_inode(de)); 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() 486 spin_unlock(&cii->c_lock); in coda_dentry_revalidate() 509 cii = ITOC(inode); in coda_dentry_delete() 510 if (cii->c_flags & C_PURGE) in coda_dentry_delete() 532 if (!cii->c_flags) in coda_revalidate_inode() 561 spin_lock(&cii->c_lock); in coda_revalidate_inode() [all …]
|
A D | cnode.c | 48 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()
|
A D | file.c | 131 struct coda_inode_info *cii; in coda_file_mmap() local 156 cii = ITOC(coda_inode); in coda_file_mmap() 157 spin_lock(&cii->c_lock); in coda_file_mmap() 165 spin_unlock(&cii->c_lock); in coda_file_mmap() 171 cii->c_mapcount++; in coda_file_mmap() 173 spin_unlock(&cii->c_lock); in coda_file_mmap() 240 struct coda_inode_info *cii; in coda_release() local 249 cii = ITOC(coda_inode); in coda_release() 252 spin_lock(&cii->c_lock); in coda_release() 255 if (!cii->c_mapcount) in coda_release() [all …]
|
A D | coda_linux.h | 85 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()
|
A D | symlink.c | 27 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/sound/aoa/soundbus/i2sbus/ |
A D | pcm.c | 107 && cii->codec->usable(cii, ti, &v)) { in i2sbus_pcm_open() 203 err = cii->codec->open(cii, pi->substream); in i2sbus_pcm_open() 241 tmp = cii->codec->close(cii, pi->substream); in i2sbus_pcm_close() 459 err = cii->codec->prepare(cii, &bi, pi->substream); in i2sbus_pcm_prepare() 515 cii->codec->switch_clock(cii, CLOCK_SWITCH_SLAVE); in i2sbus_pcm_prepare() 550 cii->codec->start(cii, pi->substream); in i2sbus_pcm_trigger() 599 cii->codec->stop(cii, pi->substream); in i2sbus_pcm_trigger() 921 if (!cii) in i2sbus_attach_codec() 1028 kfree(cii); in i2sbus_attach_codec() 1038 cii = i; in i2sbus_detach_codec() [all …]
|
A D | core.c | 377 struct codec_info_item *cii; in i2sbus_suspend() local 383 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { in i2sbus_suspend() 385 if (cii->codec->suspend) in i2sbus_suspend() 386 err = cii->codec->suspend(cii, state); in i2sbus_suspend() 401 struct codec_info_item *cii; in i2sbus_resume() local 410 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { in i2sbus_resume() 412 if (cii->codec->resume) in i2sbus_resume() 413 err = cii->codec->resume(cii); in i2sbus_resume()
|
/linux/sound/aoa/soundbus/ |
A D | soundbus.h | 83 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/sound/aoa/codecs/ |
A D | onyx.c | 667 static int onyx_usable(struct codec_info_item *cii, in onyx_usable() argument 672 struct onyx *onyx = cii->codec_data; in onyx_usable() 697 struct onyx *onyx = cii->codec_data; 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() 772 struct onyx *onyx = cii->codec_data; in onyx_switch_clock() 795 struct onyx *onyx = cii->codec_data; in onyx_suspend() 811 static int onyx_resume(struct codec_info_item *cii) in onyx_resume() argument [all …]
|
A D | toonie.c | 53 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
|
A D | tas.c | 663 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()
|