Lines Matching refs:frag
58 struct configfs_fragment *frag = to_frag(file); in fill_read_buffer() local
66 down_read(&frag->frag_sem); in fill_read_buffer()
67 if (!frag->frag_dead) in fill_read_buffer()
69 up_read(&frag->frag_sem); in fill_read_buffer()
109 struct configfs_fragment *frag = to_frag(file); in configfs_bin_read_iter() local
125 down_read(&frag->frag_sem); in configfs_bin_read_iter()
126 if (!frag->frag_dead) in configfs_bin_read_iter()
130 up_read(&frag->frag_sem); in configfs_bin_read_iter()
150 down_read(&frag->frag_sem); in configfs_bin_read_iter()
151 if (!frag->frag_dead) in configfs_bin_read_iter()
156 up_read(&frag->frag_sem); in configfs_bin_read_iter()
202 struct configfs_fragment *frag = to_frag(file); in flush_write_buffer() local
205 down_read(&frag->frag_sem); in flush_write_buffer()
206 if (!frag->frag_dead) in flush_write_buffer()
208 up_read(&frag->frag_sem); in flush_write_buffer()
293 struct configfs_fragment *frag = to_frag(file); in __configfs_open_file() local
304 down_read(&frag->frag_sem); in __configfs_open_file()
305 if (unlikely(frag->frag_dead)) in __configfs_open_file()
367 up_read(&frag->frag_sem); in __configfs_open_file()
373 up_read(&frag->frag_sem); in __configfs_open_file()
406 struct configfs_fragment *frag = to_frag(file); in configfs_release_bin_file() local
408 down_read(&frag->frag_sem); in configfs_release_bin_file()
409 if (!frag->frag_dead) { in configfs_release_bin_file()
415 up_read(&frag->frag_sem); in configfs_release_bin_file()