Searched refs:wc (Results 1 – 6 of 6) sorted by relevance
/fs/ocfs2/ |
D | aops.c | 966 static void ocfs2_free_write_ctxt(struct ocfs2_write_ctxt *wc) in ocfs2_free_write_ctxt() argument 968 ocfs2_unlock_and_free_pages(wc->w_pages, wc->w_num_pages); in ocfs2_free_write_ctxt() 970 brelse(wc->w_di_bh); in ocfs2_free_write_ctxt() 971 kfree(wc); in ocfs2_free_write_ctxt() 979 struct ocfs2_write_ctxt *wc; in ocfs2_alloc_write_ctxt() local 981 wc = kzalloc(sizeof(struct ocfs2_write_ctxt), GFP_NOFS); in ocfs2_alloc_write_ctxt() 982 if (!wc) in ocfs2_alloc_write_ctxt() 985 wc->w_cpos = pos >> osb->s_clustersize_bits; in ocfs2_alloc_write_ctxt() 987 wc->w_clen = cend - wc->w_cpos + 1; in ocfs2_alloc_write_ctxt() 989 wc->w_di_bh = di_bh; in ocfs2_alloc_write_ctxt() [all …]
|
/fs/ntfs/ |
D | unistr.c | 264 wchar_t wc; in ntfs_nlstoucs() local 273 &wc); in ntfs_nlstoucs() 276 if (likely(wc)) { in ntfs_nlstoucs() 277 ucs[o++] = cpu_to_le16(wc); in ntfs_nlstoucs() 341 int i, o, ns_len, wc; in ntfs_ucstonls() local 348 wc = -ENAMETOOLONG; in ntfs_ucstonls() 358 retry: wc = nls->uni2char(le16_to_cpu(ins[i]), ns + o, in ntfs_ucstonls() 360 if (wc > 0) { in ntfs_ucstonls() 361 o += wc; in ntfs_ucstonls() 363 } else if (!wc) in ntfs_ucstonls() [all …]
|
/fs/btrfs/ |
D | tree-log.c | 192 struct walk_control *wc, u64 gen); 200 struct walk_control *wc, u64 gen) in process_one_buffer() argument 202 if (wc->pin) { in process_one_buffer() 210 if (wc->write) in process_one_buffer() 212 if (wc->wait) in process_one_buffer() 1479 struct walk_control *wc, u64 gen) in replay_one_buffer() argument 1483 struct btrfs_root *root = wc->replay_dest; in replay_one_buffer() 1507 wc->stage == LOG_WALK_REPLAY_INODES) { in replay_one_buffer() 1516 ret = replay_dir_deletes(wc->trans, in replay_one_buffer() 1520 ret = overwrite_item(wc->trans, root, path, in replay_one_buffer() [all …]
|
/fs/ocfs2/cluster/ |
D | heartbeat.c | 187 static inline void o2hb_bio_wait_init(struct o2hb_bio_wait_ctxt *wc) in o2hb_bio_wait_init() argument 189 atomic_set(&wc->wc_num_reqs, 1); in o2hb_bio_wait_init() 190 init_completion(&wc->wc_io_complete); in o2hb_bio_wait_init() 191 wc->wc_error = 0; in o2hb_bio_wait_init() 195 static inline void o2hb_bio_wait_dec(struct o2hb_bio_wait_ctxt *wc, in o2hb_bio_wait_dec() argument 201 if (atomic_dec_and_test(&wc->wc_num_reqs)) { in o2hb_bio_wait_dec() 203 complete(&wc->wc_io_complete); in o2hb_bio_wait_dec() 209 struct o2hb_bio_wait_ctxt *wc) in o2hb_wait_on_io() argument 214 o2hb_bio_wait_dec(wc, 1); in o2hb_wait_on_io() 216 wait_for_completion(&wc->wc_io_complete); in o2hb_wait_on_io() [all …]
|
/fs/nls/ |
D | nls_base.c | 106 utf8_wctomb(__u8 *s, wchar_t wc, int maxlen) in utf8_wctomb() argument 115 l = wc; in utf8_wctomb()
|
/fs/fat/ |
D | dir.c | 197 wchar_t wc; in fat_short2lower_uni() local 199 charlen = t->char2uni(c, clen, &wc); in fat_short2lower_uni() 214 *uni = wc; in fat_short2lower_uni()
|