Home
last modified time | relevance | path

Searched refs:oqctl (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Ddir.c1153 struct obd_quotactl *oqctl; in quotactl_ioctl() local
1155 oqctl = kzalloc(sizeof(*oqctl), GFP_NOFS); in quotactl_ioctl()
1156 if (!oqctl) in quotactl_ioctl()
1159 QCTL_COPY(oqctl, qctl); in quotactl_ioctl()
1160 rc = obd_quotactl(sbi->ll_md_exp, oqctl); in quotactl_ioctl()
1163 oqctl->qc_cmd = Q_QUOTAOFF; in quotactl_ioctl()
1164 obd_quotactl(sbi->ll_md_exp, oqctl); in quotactl_ioctl()
1166 OBD_FREE_PTR(oqctl); in quotactl_ioctl()
1172 !(oqctl->qc_dqblk.dqb_valid & QIF_SPACE) && in quotactl_ioctl()
1173 !oqctl->qc_dqblk.dqb_curspace) { in quotactl_ioctl()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_quota.c245 struct obd_quotactl *oqctl) in osc_quotactl() argument
258 *oqc = *oqctl; in osc_quotactl()
271 *oqctl = *oqc; in osc_quotactl()
286 struct obd_quotactl *oqctl) in osc_quotacheck() argument
300 *body = *oqctl; in osc_quotacheck()
Dosc_internal.h198 struct obd_quotactl *oqctl);
200 struct obd_quotactl *oqctl);
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_obd.c1505 struct obd_quotactl *oqctl; in lov_iocontrol() local
1535 OBD_ALLOC_PTR(oqctl); in lov_iocontrol()
1536 if (!oqctl) in lov_iocontrol()
1539 QCTL_COPY(oqctl, qctl); in lov_iocontrol()
1540 rc = obd_quotactl(tgt->ltd_exp, oqctl); in lov_iocontrol()
1542 QCTL_COPY(qctl, oqctl); in lov_iocontrol()
1546 OBD_FREE_PTR(oqctl); in lov_iocontrol()
2210 struct obd_quotactl *oqctl) in lov_quotactl() argument
2218 if (oqctl->qc_cmd != LUSTRE_Q_QUOTAON && in lov_quotactl()
2219 oqctl->qc_cmd != LUSTRE_Q_QUOTAOFF && in lov_quotactl()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_lockd.c542 struct obd_quotactl *oqctl; in ldlm_handle_qc_callback() local
545 oqctl = req_capsule_client_get(&req->rq_pill, &RMF_OBD_QUOTACTL); in ldlm_handle_qc_callback()
546 if (oqctl == NULL) { in ldlm_handle_qc_callback()
551 oqctl->qc_stat = ptlrpc_status_ntoh(oqctl->qc_stat); in ldlm_handle_qc_callback()
553 cli->cl_qchk_stat = oqctl->qc_stat; in ldlm_handle_qc_callback()
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c956 struct obd_quotactl *oqctl; in lmv_iocontrol() local
987 OBD_ALLOC_PTR(oqctl); in lmv_iocontrol()
988 if (!oqctl) in lmv_iocontrol()
991 QCTL_COPY(oqctl, qctl); in lmv_iocontrol()
992 rc = obd_quotactl(tgt->ltd_exp, oqctl); in lmv_iocontrol()
994 QCTL_COPY(qctl, oqctl); in lmv_iocontrol()
998 OBD_FREE_PTR(oqctl); in lmv_iocontrol()
2746 struct obd_quotactl *oqctl) in lmv_quotactl() argument
2759 if (oqctl->qc_cmd != Q_GETOQUOTA) { in lmv_quotactl()
2760 rc = obd_quotactl(tgt->ltd_exp, oqctl); in lmv_quotactl()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c1690 struct obd_quotactl *oqctl) in mdc_quotacheck() argument
1704 *body = *oqctl; in mdc_quotacheck()
1735 struct obd_quotactl *oqctl) in mdc_quotactl() argument
1748 *oqc = *oqctl; in mdc_quotactl()
1761 *oqctl = *oqc; in mdc_quotactl()
1938 struct obd_quotactl *oqctl; in mdc_iocontrol() local
1940 OBD_ALLOC_PTR(oqctl); in mdc_iocontrol()
1941 if (oqctl == NULL) { in mdc_iocontrol()
1946 QCTL_COPY(oqctl, qctl); in mdc_iocontrol()
1947 rc = obd_quotactl(exp, oqctl); in mdc_iocontrol()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd_class.h1352 struct obd_quotactl *oqctl) in obd_quotacheck() argument
1359 rc = OBP(exp->exp_obd, quotacheck)(exp->exp_obd, exp, oqctl); in obd_quotacheck()
1364 struct obd_quotactl *oqctl) in obd_quotactl() argument
1371 rc = OBP(exp->exp_obd, quotactl)(exp->exp_obd, exp, oqctl); in obd_quotactl()