Home
last modified time | relevance | path

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

/fs/ocfs2/
Ddcache.c216 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_dentry_attach_lock() local
219 (unsigned long long)parent_blkno, dl); in ocfs2_dentry_attach_lock()
233 dentry->d_fsdata = dl = NULL; in ocfs2_dentry_attach_lock()
236 if (dl) { in ocfs2_dentry_attach_lock()
237 mlog_bug_on_msg(dl->dl_parent_blkno != parent_blkno, in ocfs2_dentry_attach_lock()
241 (unsigned long long)dl->dl_parent_blkno); in ocfs2_dentry_attach_lock()
258 dl = alias->d_fsdata; in ocfs2_dentry_attach_lock()
259 mlog_bug_on_msg(!dl, "parent %llu, ino %llu\n", in ocfs2_dentry_attach_lock()
263 mlog_bug_on_msg(dl->dl_parent_blkno != parent_blkno, in ocfs2_dentry_attach_lock()
267 (unsigned long long)dl->dl_parent_blkno); in ocfs2_dentry_attach_lock()
[all …]
Ddlmglue.c612 struct ocfs2_dentry_lock *dl = lockres->l_priv; in ocfs2_get_dentry_osb() local
614 return OCFS2_SB(dl->dl_inode->i_sb); in ocfs2_get_dentry_osb()
617 void ocfs2_dentry_lock_res_init(struct ocfs2_dentry_lock *dl, in ocfs2_dentry_lock_res_init() argument
623 struct ocfs2_lock_res *lockres = &dl->dl_lockres; in ocfs2_dentry_lock_res_init()
654 dl); in ocfs2_dentry_lock_res_init()
2974 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_dentry_lock() local
2977 BUG_ON(!dl); in ocfs2_dentry_lock()
2988 ret = ocfs2_cluster_lock(osb, &dl->dl_lockres, level, 0, 0); in ocfs2_dentry_lock()
2998 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_dentry_unlock() local
3002 ocfs2_cluster_unlock(osb, &dl->dl_lockres, level); in ocfs2_dentry_unlock()
[all …]
Ddcache.h32 struct ocfs2_dentry_lock *dl);
Dnamei.c212 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_cleanup_add_entry_failure() local
214 ocfs2_simple_drop_lockres(osb, &dl->dl_lockres); in ocfs2_cleanup_add_entry_failure()
215 ocfs2_lock_res_free(&dl->dl_lockres); in ocfs2_cleanup_add_entry_failure()
216 BUG_ON(dl->dl_count != 1); in ocfs2_cleanup_add_entry_failure()
220 kfree(dl); in ocfs2_cleanup_add_entry_failure()
252 struct ocfs2_dentry_lock *dl = NULL; in ocfs2_mknod() local
437 dl = dentry->d_fsdata; in ocfs2_mknod()
491 if (dl) in ocfs2_mknod()
1820 struct ocfs2_dentry_lock *dl = NULL; in ocfs2_symlink() local
2015 dl = dentry->d_fsdata; in ocfs2_symlink()
[all …]
Ddlmglue.h112 void ocfs2_dentry_lock_res_init(struct ocfs2_dentry_lock *dl,
/fs/ceph/
Dioctl.c181 struct ceph_ioctl_dataloc dl; in ceph_ioctl_get_dataloc() local
194 if (copy_from_user(&dl, arg, sizeof(dl))) in ceph_ioctl_get_dataloc()
198 ceph_calc_file_object_mapping(&ci->i_layout, dl.file_offset, 1, in ceph_ioctl_get_dataloc()
199 &dl.object_no, &dl.object_offset, &xlen); in ceph_ioctl_get_dataloc()
200 dl.file_offset -= dl.object_offset; in ceph_ioctl_get_dataloc()
201 dl.object_size = ci->i_layout.object_size; in ceph_ioctl_get_dataloc()
202 dl.block_size = ci->i_layout.stripe_unit; in ceph_ioctl_get_dataloc()
205 tmp = dl.object_offset; in ceph_ioctl_get_dataloc()
206 dl.block_offset = do_div(tmp, dl.block_size); in ceph_ioctl_get_dataloc()
208 snprintf(dl.object_name, sizeof(dl.object_name), "%llx.%08llx", in ceph_ioctl_get_dataloc()
[all …]
/fs/ocfs2/dlm/
Ddlmdebug.c541 struct debug_lockres *dl = m->private; in lockres_seq_start() local
542 struct dlm_ctxt *dlm = dl->dl_ctxt; in lockres_seq_start()
543 struct dlm_lock_resource *oldres = dl->dl_res; in lockres_seq_start()
553 dl = NULL; in lockres_seq_start()
571 dl->dl_res = res; in lockres_seq_start()
575 dump_lockres(res, dl->dl_buf, dl->dl_len - 1); in lockres_seq_start()
578 dl = NULL; in lockres_seq_start()
582 return dl; in lockres_seq_start()
596 struct debug_lockres *dl = (struct debug_lockres *)v; in lockres_seq_show() local
598 seq_printf(s, "%s", dl->dl_buf); in lockres_seq_show()
[all …]
Ddlmmaster.c2325 item->u.dl.deref_res = res; in dlm_deref_lockres_handler()
2326 item->u.dl.deref_node = node; in dlm_deref_lockres_handler()
2447 res = item->u.dl.deref_res; in dlm_deref_lockres_worker()
2448 node = item->u.dl.deref_node; in dlm_deref_lockres_worker()
Ddlmcommon.h230 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/ntfs3/
Drun.c105 CLST dl; in run_consolidate() local
111 dl = end - n->vcn; in run_consolidate()
118 if (dl > 0) { in run_consolidate()
119 if (n->len <= dl) in run_consolidate()
122 n->len -= dl; in run_consolidate()
123 n->vcn += dl; in run_consolidate()
125 n->lcn += dl; in run_consolidate()
126 dl = 0; in run_consolidate()
151 r->len += n->len - dl; in run_consolidate()
/fs/nfsd/
Dnfs4state.c4926 struct nfs4_delegation *dl = fl->fl_owner; in nfsd_breaker_owns_lease() local
4937 return dl->dl_stid.sc_client == clp; in nfsd_breaker_owns_lease()