Lines Matching refs:frag
60 struct configfs_fragment *frag = to_frag(file); in fill_read_buffer() local
68 down_read(&frag->frag_sem); in fill_read_buffer()
69 if (!frag->frag_dead) in fill_read_buffer()
71 up_read(&frag->frag_sem); in fill_read_buffer()
146 struct configfs_fragment *frag = to_frag(file); in configfs_read_bin_file() local
162 down_read(&frag->frag_sem); in configfs_read_bin_file()
163 if (!frag->frag_dead) in configfs_read_bin_file()
167 up_read(&frag->frag_sem); in configfs_read_bin_file()
187 down_read(&frag->frag_sem); in configfs_read_bin_file()
188 if (!frag->frag_dead) in configfs_read_bin_file()
193 up_read(&frag->frag_sem); in configfs_read_bin_file()
246 struct configfs_fragment *frag = to_frag(file); in flush_write_buffer() local
249 down_read(&frag->frag_sem); in flush_write_buffer()
250 if (!frag->frag_dead) in flush_write_buffer()
252 up_read(&frag->frag_sem); in flush_write_buffer()
359 struct configfs_fragment *frag = to_frag(file); in __configfs_open_file() local
370 down_read(&frag->frag_sem); in __configfs_open_file()
371 if (unlikely(frag->frag_dead)) in __configfs_open_file()
433 up_read(&frag->frag_sem); in __configfs_open_file()
441 up_read(&frag->frag_sem); in __configfs_open_file()
476 struct configfs_fragment *frag = to_frag(file); in configfs_release_bin_file() local
479 down_read(&frag->frag_sem); in configfs_release_bin_file()
480 if (!frag->frag_dead) { in configfs_release_bin_file()
486 up_read(&frag->frag_sem); in configfs_release_bin_file()