/drivers/staging/lustre/lustre/llite/ |
H A D | xattr_cache.c | 294 struct ldlm_enqueue_info einfo = { .ei_type = LDLM_IBITS, local 324 rc = md_enqueue(exp, &einfo, oit, op_data, &lockh, NULL, 0, NULL, 0);
|
H A D | dir.c | 355 struct ldlm_enqueue_info einfo = { local 370 rc = md_enqueue(ll_i2sbi(dir)->ll_md_exp, &einfo, &it,
|
H A D | statahead.c | 775 struct ldlm_enqueue_info *einfo) 777 LASSERT(minfo && einfo); 782 OBD_FREE_PTR(einfo); 802 struct ldlm_enqueue_info *einfo; local 805 einfo = kzalloc(sizeof(*einfo), GFP_NOFS); 806 if (!einfo) 811 OBD_FREE_PTR(einfo); 818 OBD_FREE_PTR(einfo); 829 einfo 774 sa_args_fini(struct md_enqueue_info *minfo, struct ldlm_enqueue_info *einfo) argument 847 struct ldlm_enqueue_info *einfo; local 879 struct ldlm_enqueue_info *einfo; local [all...] |
H A D | file.c | 2689 struct ldlm_enqueue_info einfo = { local 2728 einfo.ei_mode = LCK_PR; 2739 einfo.ei_mode = LCK_NL; 2742 einfo.ei_mode = LCK_PW; 2770 file_lock->fl_type = einfo.ei_mode; 2783 inode->i_ino, flock.l_flock.pid, flags, einfo.ei_mode, 2786 rc = md_enqueue(sbi->ll_md_exp, &einfo, NULL, 2798 einfo.ei_mode = LCK_NL; 2799 md_enqueue(sbi->ll_md_exp, &einfo, NULL, 3538 struct ldlm_enqueue_info einfo local [all...] |
/drivers/mtd/ |
H A D | mtdchar.c | 816 struct erase_info_user einfo; local 818 if (copy_from_user(&einfo, argp, sizeof(einfo))) 821 ret = mtd_lock(mtd, einfo.start, einfo.length); 827 struct erase_info_user einfo; local 829 if (copy_from_user(&einfo, argp, sizeof(einfo))) 832 ret = mtd_unlock(mtd, einfo.start, einfo 838 struct erase_info_user einfo; local [all...] |
/drivers/mtd/nand/ |
H A D | nand_bbt.c | 625 struct erase_info einfo; local 788 memset(&einfo, 0, sizeof(einfo)); 789 einfo.mtd = mtd; 790 einfo.addr = to; 791 einfo.len = 1 << this->bbt_erase_shift; 792 res = nand_erase_nand(mtd, &einfo, 1);
|
H A D | nand_base.c | 439 struct erase_info einfo; local 442 memset(&einfo, 0, sizeof(einfo)); 443 einfo.mtd = mtd; 444 einfo.addr = ofs; 445 einfo.len = 1ULL << chip->phys_erase_shift; 446 nand_erase_nand(mtd, &einfo, 0);
|
/drivers/staging/lustre/lustre/mdc/ |
H A D | mdc_locks.c | 563 struct ldlm_enqueue_info *einfo, 585 einfo->ei_mode = 0; 594 if (lock->l_req_mode != einfo->ei_mode) { 596 ldlm_lock_decref(lockh, einfo->ei_mode); 597 einfo->ei_mode = lock->l_req_mode; 607 intent->it_lock_mode = einfo->ei_mode; 778 int mdc_enqueue(struct obd_export *exp, struct ldlm_enqueue_info *einfo, argument 805 LASSERTF(!it || einfo->ei_type == LDLM_IBITS, "lock type %d\n", 806 einfo->ei_type); 829 LASSERTF(einfo 561 mdc_finish_enqueue(struct obd_export *exp, struct ptlrpc_request *req, struct ldlm_enqueue_info *einfo, struct lookup_intent *it, struct lustre_handle *lockh, int rc) argument 1162 struct ldlm_enqueue_info einfo = { local 1218 struct ldlm_enqueue_info *einfo = ga->ga_einfo; local 1260 mdc_intent_getattr_async(struct obd_export *exp, struct md_enqueue_info *minfo, struct ldlm_enqueue_info *einfo) argument [all...] |
/drivers/staging/lustre/lustre/osc/ |
H A D | osc_lock.c | 906 struct ldlm_enqueue_info *einfo) 919 einfo->ei_type = LDLM_EXTENT; 920 einfo->ei_mode = osc_cl_lock2ldlm(mode); 921 einfo->ei_cb_bl = osc_ldlm_blocking_ast; 922 einfo->ei_cb_cp = osc_ldlm_completion_ast; 923 einfo->ei_cb_gl = osc_ldlm_glimpse_ast; 924 einfo->ei_cbdata = lock; /* value to be put into ->l_ast_data */ 1125 struct ldlm_enqueue_info *einfo = &ols->ols_einfo; local 1146 ols, einfo, &ols->ols_handle, 1400 * XXX print ldlm lock and einfo properl 903 osc_lock_build_einfo(const struct lu_env *env, const struct cl_lock *clock, struct osc_lock *lock, struct ldlm_enqueue_info *einfo) argument [all...] |
H A D | osc_request.c | 2085 struct ldlm_enqueue_info *einfo) 2087 void *data = einfo->ei_cbdata; 2091 LASSERT(lock->l_blocking_ast == einfo->ei_cb_bl); 2092 LASSERT(lock->l_resource->lr_type == einfo->ei_type); 2093 LASSERT(lock->l_completion_ast == einfo->ei_cb_cp); 2094 LASSERT(lock->l_glimpse_ast == einfo->ei_cb_gl); 2111 struct ldlm_enqueue_info *einfo) 2117 set = osc_set_lock_data_with_check(lock, einfo); 2121 lockh, einfo->ei_cbdata); 2253 struct ldlm_enqueue_info *einfo, 2084 osc_set_lock_data_with_check(struct ldlm_lock *lock, struct ldlm_enqueue_info *einfo) argument 2110 osc_set_data_with_check(struct lustre_handle *lockh, struct ldlm_enqueue_info *einfo) argument 2249 osc_enqueue_base(struct obd_export *exp, struct ldlm_res_id *res_id, __u64 *flags, ldlm_policy_data_t *policy, struct ost_lvb *lvb, int kms_valid, obd_enqueue_update_f upcall, void *cookie, struct ldlm_enqueue_info *einfo, struct lustre_handle *lockh, struct ptlrpc_request_set *rqset, int async, int agl) argument [all...] |
/drivers/net/ethernet/tundra/ |
H A D | tsi108_eth.c | 1557 hw_info *einfo; local 1560 einfo = dev_get_platdata(&pdev->dev); 1562 if (NULL == einfo) { 1579 pdev->id, einfo->regs, einfo->phyregs, 1580 einfo->phy, einfo->irq_num); 1582 data->regs = ioremap(einfo->regs, 0x400); 1588 data->phyregs = ioremap(einfo->phyregs, 0x400); 1597 data->mii_if.phy_id = einfo [all...] |
/drivers/staging/lustre/lustre/mgc/ |
H A D | mgc_request.c | 867 struct ldlm_enqueue_info einfo = { local 899 rc = ldlm_cli_enqueue(exp, &req, &einfo, &cld->cld_resid, NULL, flags,
|
/drivers/staging/lustre/lustre/ldlm/ |
H A D | ldlm_request.c | 851 struct ldlm_enqueue_info *einfo, 878 .lcs_completion = einfo->ei_cb_cp, 879 .lcs_blocking = einfo->ei_cb_bl, 880 .lcs_glimpse = einfo->ei_cb_gl 882 lock = ldlm_lock_create(ns, res_id, einfo->ei_type, 883 einfo->ei_mode, &cbs, einfo->ei_cbdata, 888 ldlm_lock_addref_internal(lock, einfo->ei_mode); 893 if (einfo->ei_type == LDLM_EXTENT) 901 lock->l_blocking_ast = einfo 850 ldlm_cli_enqueue(struct obd_export *exp, struct ptlrpc_request **reqp, struct ldlm_enqueue_info *einfo, const struct ldlm_res_id *res_id, ldlm_policy_data_t const *policy, __u64 *flags, void *lvb, __u32 lvb_len, enum lvb_type lvb_type, struct lustre_handle *lockh, int async) argument [all...] |
/drivers/staging/lustre/lustre/lmv/ |
H A D | lmv_obd.c | 1733 lmv_enqueue_remote(struct obd_export *exp, struct ldlm_enqueue_info *einfo, argument 1785 rc = md_enqueue(tgt->ltd_exp, einfo, it, rdata, lockh, 1794 lmv_enqueue(struct obd_export *exp, struct ldlm_enqueue_info *einfo, argument 1818 rc = md_enqueue(tgt->ltd_exp, einfo, it, op_data, lockh, 1822 rc = lmv_enqueue_remote(exp, einfo, it, op_data, lockh, 2702 struct ldlm_enqueue_info *einfo) 2718 rc = md_intent_getattr_async(tgt->ltd_exp, minfo, einfo); 2700 lmv_intent_getattr_async(struct obd_export *exp, struct md_enqueue_info *minfo, struct ldlm_enqueue_info *einfo) argument
|
/drivers/staging/lustre/lustre/include/ |
H A D | dt_object.h | 459 struct ldlm_enqueue_info *einfo, 892 struct ldlm_enqueue_info *einfo, 898 return o->do_ops->do_object_lock(env, o, lh, einfo, policy); 890 dt_object_lock(const struct lu_env *env, struct dt_object *o, struct lustre_handle *lh, struct ldlm_enqueue_info *einfo, void *policy) argument
|
H A D | obd_class.h | 1530 struct ldlm_enqueue_info *einfo, 1542 rc = MDP(exp->exp_obd, enqueue)(exp, einfo, it, op_data, lockh, 1810 struct ldlm_enqueue_info *einfo) 1816 rc = MDP(exp->exp_obd, intent_getattr_async)(exp, minfo, einfo); 1529 md_enqueue(struct obd_export *exp, struct ldlm_enqueue_info *einfo, struct lookup_intent *it, struct md_op_data *op_data, struct lustre_handle *lockh, void *lmm, int lmmsize, struct ptlrpc_request **req, __u64 extra_lock_flags) argument 1808 md_intent_getattr_async(struct obd_export *exp, struct md_enqueue_info *minfo, struct ldlm_enqueue_info *einfo) argument
|