Home
last modified time | relevance | path

Searched refs:ld_type (Results 1 – 21 of 21) sorted by relevance

/linux-4.1.27/fs/nfs/
Dpnfs.c112 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/
Dlov_cl_internal.h670 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()
Dlovsub_dev.c101 ldt = next->ld_type; in lovsub_device_init()
Dlov_object.c120 LASSERT(ergo(!IS_ERR(o), o->lo_dev->ld_type == &lovsub_device_type)); in lov_sub_find()
/linux-4.1.27/fs/gfs2/
Dlops.c377 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/
Dosc_cl_internal.h496 return obj->lo_dev->ld_type == &osc_device_type; in osc_is_object()
501 LINVRNT(d->ld_type == &osc_device_type); in lu2osc_dev()
Dosc_io.c58 LINVRNT(slice->crs_dev->cd_lu_dev.ld_type == &osc_device_type); in cl2osc_req()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c507 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()
Dcl_lock.c623 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()
Dcl_page.c115 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()
Dcl_io.c693 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/
Dgfs2_ondisk.h424 __be32 ld_type; /* GFS2_LOG_DESC_... */ member
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlu_object.h271 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()
Ddt_object.h667 return ergo(d != NULL, d->ld_type->ldt_tags & LU_DEVICE_DT); in lu_device_is_dt()
Dcl_object.h2656 return d->ld_type->ldt_tags & LU_DEVICE_CL; in lu_device_is_cl()
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c177 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/
Dvvp_dev.c334 lu_obj = lu_object_locate(id->vpi_obj, dev->ld_type); in vvp_pgcache_obj()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c765 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/
Dxdr4.h149 u32 ld_type; member
Dnfs4state.c5211 deny->ld_type = NFS4_READ_LT; in nfs4_set_lock_denied()
5213 deny->ld_type = NFS4_WRITE_LT; in nfs4_set_lock_denied()
Dnfs4xdr.c3142 *p++ = cpu_to_be32(ld->ld_type); in nfsd4_encode_lock_denied()