Home
last modified time | relevance | path

Searched refs:ci_type (Results 1 – 24 of 24) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dcl_io.c68 return cl_io_type_is_valid(io->ci_type) && io->ci_type != CIT_MISC; in cl_io_is_loopable()
107 LINVRNT(cl_io_type_is_valid(io->ci_type)); in cl_io_fini()
114 if (slice->cis_iop->op[io->ci_type].cio_fini != NULL) in cl_io_fini()
115 slice->cis_iop->op[io->ci_type].cio_fini(env, slice); in cl_io_fini()
129 switch (io->ci_type) { in cl_io_fini()
159 io->ci_type = iot; in cl_io_init0()
465 if (scan->cis_iop->op[io->ci_type].cio_lock == NULL) in cl_io_lock()
467 result = scan->cis_iop->op[io->ci_type].cio_lock(env, scan); in cl_io_lock()
510 if (scan->cis_iop->op[io->ci_type].cio_unlock != NULL) in cl_io_unlock()
511 scan->cis_iop->op[io->ci_type].cio_unlock(env, scan); in cl_io_unlock()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_io.c90 switch (io->ci_type) { in lov_io_sub_inherit()
198 sub_io->ci_type = io->ci_type; in lov_io_sub_init()
204 io->ci_type, sub_obj); in lov_io_sub_init()
310 switch (io->ci_type) { in lov_io_slice_init()
317 LASSERT(io->ci_type == CIT_WRITE); in lov_io_slice_init()
399 if (ios->cis_io->ci_type == CIT_READ || in lov_io_iter_init()
400 ios->cis_io->ci_type == CIT_WRITE || in lov_io_iter_init()
401 ios->cis_io->ci_type == CIT_FAULT) in lov_io_iter_init()
437 LASSERT(io->ci_type == CIT_READ || io->ci_type == CIT_WRITE); in lov_io_rw_iter_init()
922 switch (io->ci_type) { in lov_io_init_empty()
[all …]
Dlov_lock.c989 } else if (io->ci_type != CIT_SETATTR && io->ci_type != CIT_MISC && in lov_lock_fits_into()
/linux-4.4.14/fs/configfs/
Ditem.c119 item->ci_type = type; in config_item_init_type_name()
128 group->cg_item.ci_type = type; in config_group_init_type_name()
143 struct config_item_type *t = item->ci_type; in config_item_cleanup()
Ddir.c584 struct config_item_type *t = item->ci_type; in populate_attrs()
899 type = parent_item->ci_type; in client_disconnect_notify()
918 type = parent_item->ci_type; in client_drop_item()
1186 type = parent_item->ci_type; in configfs_mkdir()
1202 if (!subsys->su_group.cg_item.ci_type) { in configfs_mkdir()
1206 subsys_owner = subsys->su_group.cg_item.ci_type->ct_owner; in configfs_mkdir()
1255 type = item->ci_type; in configfs_mkdir()
1348 if (!parent_item->ci_type) { in configfs_rmdir()
1354 BUG_ON(!subsys->su_group.cg_item.ci_type); in configfs_rmdir()
1355 subsys_owner = subsys->su_group.cg_item.ci_type->ct_owner; in configfs_rmdir()
[all …]
Dfile.c229 if (item->ci_type) in check_perm()
230 ops = item->ci_type->ct_item_ops; in check_perm()
Dsymlink.c154 type = parent_item->ci_type; in configfs_symlink()
200 type = parent_item->ci_type; in configfs_unlink()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_io.c59 LASSERT(io->ci_type == CIT_READ || io->ci_type == CIT_WRITE); in cl_is_normalio()
77 switch (io->ci_type) { in can_populate_pages()
218 LASSERT(io->ci_type == CIT_READ || io->ci_type == CIT_WRITE); in vvp_mmap_locks()
294 LASSERT(io->ci_type == CIT_READ || io->ci_type == CIT_WRITE); in vvp_io_rw_lock()
868 LASSERT(io->ci_type == CIT_READ || io->ci_type == CIT_WRITE); in vvp_page_sync_io()
1150 if (io->ci_type == CIT_READ || io->ci_type == CIT_WRITE) { in vvp_io_init()
1169 } else if (io->ci_type == CIT_SETATTR) { in vvp_io_init()
1177 if (io->ci_type == CIT_MISC && !io->ci_verify_layout) in vvp_io_init()
/linux-4.4.14/samples/configfs/
Dconfigfs_sample.c128 .ci_type = &childless_type,
275 .ci_type = &simple_children_type,
344 .ci_type = &group_children_type,
/linux-4.4.14/drivers/hwtracing/stm/
Dpolicy.c200 if (group->cg_item.ci_type == &stp_policy_type) { in stp_policy_node_make()
380 .ci_type = &stp_policies_type,
/linux-4.4.14/include/linux/
Dconfigfs.h63 struct config_item_type *ci_type; member
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dcl_object.h2308 enum cl_io_type ci_type; member
3061 return io->ci_type == CIT_WRITE && io->u.ci_wr.wr_append; in cl_io_is_append()
3066 return io->ci_type == CIT_WRITE && io->u.ci_wr.wr_sync; in cl_io_is_sync_write()
3071 return io->ci_type == CIT_FAULT && io->u.ci_fault.ft_mkwrite; in cl_io_is_mkwrite()
3079 return io->ci_type == CIT_SETATTR && in cl_io_is_trunc()
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c464 if (io->ci_type == CIT_READ || io->ci_type == CIT_WRITE || in ccc_page_is_under_lock()
465 io->ci_type == CIT_FAULT) { in ccc_page_is_under_lock()
/linux-4.4.14/drivers/media/pci/cx23885/
Dcx23885.h218 int ci_type; /* for NetUP */ member
Dcx23885-cards.c310 .ci_type = 1,
530 .ci_type = 2,
Dcx23885-core.c1016 if (cx23885_boards[dev->board].ci_type > 0) in cx23885_dev_setup()
1765 if (cx23885_boards[dev->board].ci_type == 1 && in cx23885_irq()
1769 if (cx23885_boards[dev->board].ci_type == 2 && in cx23885_irq()
/linux-4.4.14/fs/ocfs2/cluster/
Dnodemanager.c747 .ci_type = &o2nm_cluster_group_type,
/linux-4.4.14/drivers/misc/
Dspear13xx_pcie_gadget.c681 cg_item->ci_type = &pcie_gadget_target_type; in spear_pcie_gadget_probe()
/linux-4.4.14/drivers/net/
Dnetconsole.c695 .ci_type = &netconsole_subsys_type,
/linux-4.4.14/fs/dlm/
Dconfig.c556 .ci_type = &clusters_type,
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_lock.c963 ols->ols_locklessable = (io->ci_type != CIT_SETATTR) && in osc_lock_to_lockless()
/linux-4.4.14/drivers/usb/gadget/
Dconfigfs.c1488 .ci_type = &gadgets_type,
/linux-4.4.14/Documentation/filesystems/configfs/
Dconfigfs.txt130 struct config_item_type *ci_type;
/linux-4.4.14/drivers/target/
Dtarget_core_configfs.c268 .ci_type = &target_core_fabrics_item,