Home
last modified time | relevance | path

Searched refs:cf (Results 1 – 7 of 7) sorted by relevance

/fs/reiserfs/
Dibalance.c32 int *d_key, struct buffer_head **cf) in internal_define_dest_src_infos() argument
50 *cf = tb->CFL[h]; in internal_define_dest_src_infos()
63 *cf = tb->CFL[h]; in internal_define_dest_src_infos()
77 *cf = tb->CFR[h]; in internal_define_dest_src_infos()
90 *cf = tb->CFR[h]; in internal_define_dest_src_infos()
497 struct buffer_head *cf; in internal_shift_left() local
501 &d_key_position, &cf); in internal_shift_left()
510 internal_insert_key(&dest_bi, B_NR_ITEMS(dest_bi.bi_bh), cf, in internal_shift_left()
515 replace_key(tb, cf, d_key_position, in internal_shift_left()
519 replace_key(tb, cf, d_key_position, src_bi.bi_bh, in internal_shift_left()
[all …]
/fs/ceph/
Dcaps.c1386 struct ceph_cap_flush *cf; in __ceph_flush_snaps() local
1396 list_for_each_entry(cf, &ci->i_cap_flush_list, i_list) { in __ceph_flush_snaps()
1397 if (cf->tid >= first_tid) { in __ceph_flush_snaps()
1405 first_tid = cf->tid + 1; in __ceph_flush_snaps()
1407 capsnap = container_of(cf, struct ceph_cap_snap, cap_flush); in __ceph_flush_snaps()
1412 inode, capsnap, cf->tid, ceph_cap_string(capsnap->dirty)); in __ceph_flush_snaps()
1419 ceph_vinop(inode), cf->tid, capsnap->follows); in __ceph_flush_snaps()
1550 void ceph_free_cap_flush(struct ceph_cap_flush *cf) in ceph_free_cap_flush() argument
1552 if (cf) in ceph_free_cap_flush()
1553 kmem_cache_free(ceph_cap_flush_cachep, cf); in ceph_free_cap_flush()
[all …]
Dfile.c168 struct ceph_file_info *cf; in ceph_init_file() local
178 cf = kmem_cache_zalloc(ceph_file_cachep, GFP_KERNEL); in ceph_init_file()
179 if (!cf) { in ceph_init_file()
183 cf->fmode = fmode; in ceph_init_file()
184 cf->next_offset = 2; in ceph_init_file()
185 cf->readdir_cache_idx = -1; in ceph_init_file()
186 file->private_data = cf; in ceph_init_file()
277 struct ceph_file_info *cf = file->private_data; in ceph_open() local
281 if (cf) { in ceph_open()
459 struct ceph_file_info *cf = file->private_data; in ceph_release() local
[all …]
Ddir.c1362 struct ceph_file_info *cf = file->private_data; in ceph_read_dir() local
1371 if (!cf->dir_info) { in ceph_read_dir()
1372 cf->dir_info = kmalloc(bufsize, GFP_KERNEL); in ceph_read_dir()
1373 if (!cf->dir_info) in ceph_read_dir()
1375 cf->dir_info_len = in ceph_read_dir()
1376 snprintf(cf->dir_info, bufsize, in ceph_read_dir()
1396 if (*ppos >= cf->dir_info_len) in ceph_read_dir()
1398 size = min_t(unsigned, size, cf->dir_info_len-*ppos); in ceph_read_dir()
1399 left = copy_to_user(buf, cf->dir_info + *ppos, size); in ceph_read_dir()
Dmds_client.c1177 struct ceph_cap_flush *cf; in remove_session_caps_cb() local
1187 cf = list_first_entry(&ci->i_cap_flush_list, in remove_session_caps_cb()
1189 list_move(&cf->i_list, &to_remove); in remove_session_caps_cb()
1194 list_for_each_entry(cf, &to_remove, i_list) in remove_session_caps_cb()
1195 list_del(&cf->g_list); in remove_session_caps_cb()
1234 struct ceph_cap_flush *cf; in remove_session_caps_cb() local
1235 cf = list_first_entry(&to_remove, in remove_session_caps_cb()
1237 list_del(&cf->i_list); in remove_session_caps_cb()
1238 ceph_free_cap_flush(cf); in remove_session_caps_cb()
1568 struct ceph_cap_flush *cf = in check_caps_flush() local
[all …]
Dsuper.h625 extern void ceph_free_cap_flush(struct ceph_cap_flush *cf);
/fs/cifs/
Dreaddir.c46 struct cifsFileInfo *cf; in dump_cifs_file_struct() local
49 cf = file->private_data; in dump_cifs_file_struct()
50 if (cf == NULL) { in dump_cifs_file_struct()
54 if (cf->invalidHandle) in dump_cifs_file_struct()
56 if (cf->srch_inf.endOfSearch) in dump_cifs_file_struct()
58 if (cf->srch_inf.emptyDir) in dump_cifs_file_struct()