Home
last modified time | relevance | path

Searched refs:dl (Results 1 – 11 of 11) sorted by relevance

/fs/ocfs2/
Ddcache.c232 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_dentry_attach_lock() local
235 (unsigned long long)parent_blkno, dl); in ocfs2_dentry_attach_lock()
249 dentry->d_fsdata = dl = NULL; in ocfs2_dentry_attach_lock()
252 if (dl) { in ocfs2_dentry_attach_lock()
253 mlog_bug_on_msg(dl->dl_parent_blkno != parent_blkno, in ocfs2_dentry_attach_lock()
257 (unsigned long long)dl->dl_parent_blkno); in ocfs2_dentry_attach_lock()
274 dl = alias->d_fsdata; in ocfs2_dentry_attach_lock()
275 mlog_bug_on_msg(!dl, "parent %llu, ino %llu\n", in ocfs2_dentry_attach_lock()
279 mlog_bug_on_msg(dl->dl_parent_blkno != parent_blkno, in ocfs2_dentry_attach_lock()
283 (unsigned long long)dl->dl_parent_blkno); in ocfs2_dentry_attach_lock()
[all …]
Ddlmglue.c599 struct ocfs2_dentry_lock *dl = lockres->l_priv; in ocfs2_get_dentry_osb() local
601 return OCFS2_SB(dl->dl_inode->i_sb); in ocfs2_get_dentry_osb()
604 void ocfs2_dentry_lock_res_init(struct ocfs2_dentry_lock *dl, in ocfs2_dentry_lock_res_init() argument
610 struct ocfs2_lock_res *lockres = &dl->dl_lockres; in ocfs2_dentry_lock_res_init()
641 dl); in ocfs2_dentry_lock_res_init()
2756 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_dentry_lock() local
2759 BUG_ON(!dl); in ocfs2_dentry_lock()
2770 ret = ocfs2_cluster_lock(osb, &dl->dl_lockres, level, 0, 0); in ocfs2_dentry_lock()
2780 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_dentry_unlock() local
2784 ocfs2_cluster_unlock(osb, &dl->dl_lockres, level); in ocfs2_dentry_unlock()
[all …]
Ddcache.h48 struct ocfs2_dentry_lock *dl);
Dnamei.c225 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_cleanup_add_entry_failure() local
227 ocfs2_simple_drop_lockres(osb, &dl->dl_lockres); in ocfs2_cleanup_add_entry_failure()
228 ocfs2_lock_res_free(&dl->dl_lockres); in ocfs2_cleanup_add_entry_failure()
229 BUG_ON(dl->dl_count != 1); in ocfs2_cleanup_add_entry_failure()
233 kfree(dl); in ocfs2_cleanup_add_entry_failure()
262 struct ocfs2_dentry_lock *dl = NULL; in ocfs2_mknod() local
446 dl = dentry->d_fsdata; in ocfs2_mknod()
490 if (dl) in ocfs2_mknod()
1818 struct ocfs2_dentry_lock *dl = NULL; in ocfs2_symlink() local
2013 dl = dentry->d_fsdata; in ocfs2_symlink()
[all …]
Ddlmglue.h104 void ocfs2_dentry_lock_res_init(struct ocfs2_dentry_lock *dl,
/fs/ceph/
Dioctl.c180 struct ceph_ioctl_dataloc dl; in ceph_ioctl_get_dataloc() local
193 if (copy_from_user(&dl, arg, sizeof(dl))) in ceph_ioctl_get_dataloc()
197 r = ceph_calc_file_object_mapping(&ci->i_layout, dl.file_offset, len, in ceph_ioctl_get_dataloc()
198 &dl.object_no, &dl.object_offset, in ceph_ioctl_get_dataloc()
204 dl.file_offset -= dl.object_offset; in ceph_ioctl_get_dataloc()
205 dl.object_size = ci->i_layout.object_size; in ceph_ioctl_get_dataloc()
206 dl.block_size = ci->i_layout.stripe_unit; in ceph_ioctl_get_dataloc()
209 tmp = dl.object_offset; in ceph_ioctl_get_dataloc()
210 dl.block_offset = do_div(tmp, dl.block_size); in ceph_ioctl_get_dataloc()
212 snprintf(dl.object_name, sizeof(dl.object_name), "%llx.%08llx", in ceph_ioctl_get_dataloc()
[all …]
/fs/ocfs2/dlm/
Ddlmdebug.c558 struct debug_lockres *dl = m->private; in lockres_seq_start() local
559 struct dlm_ctxt *dlm = dl->dl_ctxt; in lockres_seq_start()
560 struct dlm_lock_resource *oldres = dl->dl_res; in lockres_seq_start()
570 dl = NULL; in lockres_seq_start()
588 dl->dl_res = res; in lockres_seq_start()
592 dump_lockres(res, dl->dl_buf, dl->dl_len - 1); in lockres_seq_start()
595 dl = NULL; in lockres_seq_start()
599 return dl; in lockres_seq_start()
613 struct debug_lockres *dl = (struct debug_lockres *)v; in lockres_seq_show() local
615 seq_printf(s, "%s", dl->dl_buf); in lockres_seq_show()
[all …]
Ddlmmaster.c2363 item->u.dl.deref_res = res; in dlm_deref_lockres_handler()
2364 item->u.dl.deref_node = node; in dlm_deref_lockres_handler()
2485 res = item->u.dl.deref_res; in dlm_deref_lockres_worker()
2486 node = item->u.dl.deref_node; in dlm_deref_lockres_worker()
Ddlmcommon.h250 struct dlm_deref_lockres_priv dl; member
/fs/jffs2/
Dcompr_lzo.c71 size_t dl = destlen; in jffs2_lzo_decompress() local
74 ret = lzo1x_decompress_safe(data_in, srclen, cpage_out, &dl); in jffs2_lzo_decompress()
76 if (ret != LZO_E_OK || dl != destlen) in jffs2_lzo_decompress()
/fs/btrfs/
Dtree-log.c3711 u64 ds, dl, cs, cl; in copy_items() local
3718 dl = btrfs_file_extent_disk_num_bytes(src, in copy_items()
3726 cl = dl; in copy_items()