/linux-4.1.27/fs/nfs/ |
D | pnfs.c | 112 struct pnfs_layoutdriver_type *ld_type = NULL; in set_pnfs_layoutdriver() local 122 ld_type = find_pnfs_driver(id); in set_pnfs_layoutdriver() 123 if (!ld_type) { in set_pnfs_layoutdriver() 125 ld_type = find_pnfs_driver(id); in set_pnfs_layoutdriver() 126 if (!ld_type) { in set_pnfs_layoutdriver() 132 server->pnfs_curr_ld = ld_type; in set_pnfs_layoutdriver() 133 if (ld_type->set_layoutdriver in set_pnfs_layoutdriver() 134 && ld_type->set_layoutdriver(server, mntfh)) { in set_pnfs_layoutdriver() 137 module_put(ld_type->owner); in set_pnfs_layoutdriver() 152 pnfs_register_layoutdriver(struct pnfs_layoutdriver_type *ld_type) in pnfs_register_layoutdriver() argument [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_cl_internal.h | 670 return obj->lo_dev->ld_type == &lov_device_type; in lov_is_object() 675 return obj->lo_dev->ld_type == &lovsub_device_type; in lovsub_is_object() 685 LINVRNT(d->ld_type == &lov_device_type); in lu2lov_dev() 701 LINVRNT(d->ld_type == &lovsub_device_type); in lu2lovsub_dev() 707 LINVRNT(d->cd_lu_dev.ld_type == &lovsub_device_type); in cl2lovsub_dev()
|
D | lovsub_dev.c | 101 ldt = next->ld_type; in lovsub_device_init()
|
D | lov_object.c | 120 LASSERT(ergo(!IS_ERR(o), o->lo_dev->ld_type == &lovsub_device_type)); in lov_sub_find()
|
/linux-4.1.27/fs/gfs2/ |
D | lops.c | 377 static struct page *gfs2_get_log_desc(struct gfs2_sbd *sdp, u32 ld_type, in gfs2_get_log_desc() argument 386 ld->ld_type = cpu_to_be32(ld_type); in gfs2_get_log_desc() 542 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_METADATA) in buf_lo_scan_elements() 698 if (pass != 0 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_REVOKE) in revoke_lo_scan_elements() 780 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_JDATA) in databuf_lo_scan_elements()
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_cl_internal.h | 496 return obj->lo_dev->ld_type == &osc_device_type; in osc_is_object() 501 LINVRNT(d->ld_type == &osc_device_type); in lu2osc_dev()
|
D | osc_io.c | 58 LINVRNT(slice->crs_dev->cd_lu_dev.ld_type == &osc_device_type); in cl2osc_req()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | lu_object.c | 507 o->lo_dev->ld_type->ldt_name, o); in lu_object_print() 735 obj = lu_object_locate(top->lo_header, dev->ld_type); in lu_object_find_slice() 992 snprintf(name, 16, "lu_site_%s", top->ld_type->ldt_name); in lu_site_init() 1122 d->ld_type = t; in lu_device_init() 1136 t = d->ld_type; in lu_device_fini() 1248 if (o->lo_dev->ld_type == dtype) in lu_object_locate() 1272 next = scan->ld_type->ldt_ops->ldto_device_fini(env, scan); in lu_stack_fini() 1281 const struct lu_device_type *ldt = scan->ld_type; in lu_stack_fini()
|
D | cl_lock.c | 623 if (slice->cls_obj->co_lu.lo_dev->ld_type == dtype) in cl_lock_at() 1847 dtype = lock->cll_descr.cld_obj->co_lu.lo_dev->ld_type; in pgoff_at_lock() 2221 slice->cls_obj->co_lu.lo_dev->ld_type->ldt_name, in cl_lock_print()
|
D | cl_page.c | 115 if (slice->cpl_obj->co_lu.lo_dev->ld_type == dtype) in cl_page_at_trusted() 173 dtype = cl_object_top(obj)->co_lu.lo_dev->ld_type; in cl_page_gang_lookup()
|
D | cl_io.c | 693 slice = cl_page_at(page, ios->cis_obj->co_lu.lo_dev->ld_type); in cl_io_slice_page() 1580 slice->crs_dev->cd_lu_dev.ld_type); in cl_req_attr_set()
|
/linux-4.1.27/include/uapi/linux/ |
D | gfs2_ondisk.h | 424 __be32 ld_type; /* GFS2_LOG_DESC_... */ member
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lu_object.h | 271 struct lu_device_type *ld_type; member 397 return ergo(d != NULL, d->ld_type->ldt_tags & LU_DEVICE_MD); in lu_device_is_md()
|
D | dt_object.h | 667 return ergo(d != NULL, d->ld_type->ldt_tags & LU_DEVICE_DT); in lu_device_is_dt()
|
D | cl_object.h | 2656 return d->ld_type->ldt_tags & LU_DEVICE_CL; in lu_device_is_cl()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_cl.c | 177 LASSERT(d->ld_site != NULL && next->ld_type != NULL); in ccc_device_init() 179 rc = next->ld_type->ldt_ops->ldto_device_init( in ccc_device_init() 180 env, next, next->ld_type->ldt_name, NULL); in ccc_device_init()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | vvp_dev.c | 334 lu_obj = lu_object_locate(id->vpi_obj, dev->ld_type); in vvp_pgcache_obj()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 765 rc = next->ld_type->ldt_ops->ldto_device_init(env, next, in echo_device_alloc() 766 next->ld_type->ldt_name, in echo_device_alloc() 823 next = next->ld_type->ldt_ops->ldto_device_fini(env, next); in echo_device_fini() 893 next = next->ld_type->ldt_ops->ldto_device_free(env, next); in echo_device_free()
|
/linux-4.1.27/fs/nfsd/ |
D | xdr4.h | 149 u32 ld_type; member
|
D | nfs4state.c | 5211 deny->ld_type = NFS4_READ_LT; in nfs4_set_lock_denied() 5213 deny->ld_type = NFS4_WRITE_LT; in nfs4_set_lock_denied()
|
D | nfs4xdr.c | 3142 *p++ = cpu_to_be32(ld->ld_type); in nfsd4_encode_lock_denied()
|