Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_cl_internal.h665 return obj->lo_dev->ld_type == &lov_device_type; in lov_is_object()
670 return obj->lo_dev->ld_type == &lovsub_device_type; in lovsub_is_object()
680 LINVRNT(d->ld_type == &lov_device_type); in lu2lov_dev()
696 LINVRNT(d->ld_type == &lovsub_device_type); in lu2lovsub_dev()
702 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.c119 LASSERT(ergo(!IS_ERR(o), o->lo_dev->ld_type == &lovsub_device_type)); in lov_sub_find()
/linux-4.4.14/fs/nfs/
Dpnfs.c113 struct pnfs_layoutdriver_type *ld_type = NULL; in set_pnfs_layoutdriver() local
123 ld_type = find_pnfs_driver(id); in set_pnfs_layoutdriver()
124 if (!ld_type) { in set_pnfs_layoutdriver()
126 ld_type = find_pnfs_driver(id); in set_pnfs_layoutdriver()
127 if (!ld_type) { in set_pnfs_layoutdriver()
133 server->pnfs_curr_ld = ld_type; in set_pnfs_layoutdriver()
134 if (ld_type->set_layoutdriver in set_pnfs_layoutdriver()
135 && ld_type->set_layoutdriver(server, mntfh)) { in set_pnfs_layoutdriver()
138 module_put(ld_type->owner); in set_pnfs_layoutdriver()
153 pnfs_register_layoutdriver(struct pnfs_layoutdriver_type *ld_type) in pnfs_register_layoutdriver() argument
[all …]
/linux-4.4.14/fs/gfs2/
Dlops.c370 static struct page *gfs2_get_log_desc(struct gfs2_sbd *sdp, u32 ld_type, in gfs2_get_log_desc() argument
379 ld->ld_type = cpu_to_be32(ld_type); in gfs2_get_log_desc()
535 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_METADATA) in buf_lo_scan_elements()
691 if (pass != 0 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_REVOKE) in revoke_lo_scan_elements()
773 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_JDATA) in databuf_lo_scan_elements()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c509 o->lo_dev->ld_type->ldt_name, o); in lu_object_print()
717 obj = lu_object_locate(top->lo_header, dev->ld_type); in lu_object_find_slice()
958 snprintf(name, 16, "lu_site_%s", top->ld_type->ldt_name); in lu_site_init()
1095 d->ld_type = t; in lu_device_init()
1109 t = d->ld_type; in lu_device_fini()
1221 if (o->lo_dev->ld_type == dtype) in lu_object_locate()
1243 next = scan->ld_type->ldt_ops->ldto_device_fini(env, scan); in lu_stack_fini()
1252 const struct lu_device_type *ldt = scan->ld_type; in lu_stack_fini()
Dcl_page.c109 if (slice->cpl_obj->co_lu.lo_dev->ld_type == dtype) in cl_page_at_trusted()
167 dtype = cl_object_top(obj)->co_lu.lo_dev->ld_type; in cl_page_gang_lookup()
Dcl_lock.c623 if (slice->cls_obj->co_lu.lo_dev->ld_type == dtype) in cl_lock_at()
1822 dtype = lock->cll_descr.cld_obj->co_lu.lo_dev->ld_type; in pgoff_at_lock()
2196 slice->cls_obj->co_lu.lo_dev->ld_type->ldt_name, in cl_lock_print()
Dcl_io.c693 slice = cl_page_at(page, ios->cis_obj->co_lu.lo_dev->ld_type); in cl_io_slice_page()
1513 slice->crs_dev->cd_lu_dev.ld_type); in cl_req_attr_set()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h495 return obj->lo_dev->ld_type == &osc_device_type; in osc_is_object()
500 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.4.14/drivers/staging/lustre/lustre/include/
Dlu_object.h270 struct lu_device_type *ld_type; member
395 return ergo(d != NULL, d->ld_type->ldt_tags & LU_DEVICE_MD); in lu_device_is_md()
Dcl_object.h2651 return d->ld_type->ldt_tags & LU_DEVICE_CL; in lu_device_is_cl()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dq_struct.h480 u64 ld_type:2; member
489 u64 ld_type:2;
Dnicvf_queues.c1029 gather->ld_type = NIC_SEND_LD_TYPE_E_LDD; in nicvf_sq_add_gather_subdesc()
/linux-4.4.14/include/uapi/linux/
Dgfs2_ondisk.h424 __be32 ld_type; /* GFS2_LOG_DESC_... */ member
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c176 LASSERT(d->ld_site != NULL && next->ld_type != NULL); in ccc_device_init()
178 rc = next->ld_type->ldt_ops->ldto_device_init( in ccc_device_init()
179 env, next, next->ld_type->ldt_name, NULL); in ccc_device_init()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_dev.c331 lu_obj = lu_object_locate(id->vpi_obj, dev->ld_type); in vvp_pgcache_obj()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c767 rc = next->ld_type->ldt_ops->ldto_device_init(env, next, in echo_device_alloc()
768 next->ld_type->ldt_name, in echo_device_alloc()
825 next = next->ld_type->ldt_ops->ldto_device_fini(env, next); in echo_device_fini()
895 next = next->ld_type->ldt_ops->ldto_device_free(env, next); in echo_device_free()
/linux-4.4.14/fs/nfsd/
Dxdr4.h149 u32 ld_type; member
Dnfs4state.c5295 deny->ld_type = NFS4_READ_LT; in nfs4_set_lock_denied()
5297 deny->ld_type = NFS4_WRITE_LT; in nfs4_set_lock_denied()
Dnfs4xdr.c3157 *p++ = cpu_to_be32(ld->ld_type); in nfsd4_encode_lock_denied()