Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Ddir.c1144 struct obd_quotactl *oqctl; in quotactl_ioctl() local
1146 oqctl = kzalloc(sizeof(*oqctl), GFP_NOFS); in quotactl_ioctl()
1147 if (!oqctl) in quotactl_ioctl()
1150 QCTL_COPY(oqctl, qctl); in quotactl_ioctl()
1151 rc = obd_quotactl(sbi->ll_md_exp, oqctl); in quotactl_ioctl()
1154 oqctl->qc_cmd = Q_QUOTAOFF; in quotactl_ioctl()
1155 obd_quotactl(sbi->ll_md_exp, oqctl); in quotactl_ioctl()
1157 kfree(oqctl); in quotactl_ioctl()
1163 !(oqctl->qc_dqblk.dqb_valid & QIF_SPACE) && in quotactl_ioctl()
1164 !oqctl->qc_dqblk.dqb_curspace) { in quotactl_ioctl()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_quota.c246 struct obd_quotactl *oqctl) in osc_quotactl() argument
259 *oqc = *oqctl; in osc_quotactl()
272 *oqctl = *oqc; in osc_quotactl()
287 struct obd_quotactl *oqctl) in osc_quotacheck() argument
301 *body = *oqctl; in osc_quotacheck()
Dosc_internal.h195 struct obd_quotactl *oqctl);
197 struct obd_quotactl *oqctl);
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_obd.c1487 struct obd_quotactl *oqctl; in lov_iocontrol() local
1517 oqctl = kzalloc(sizeof(*oqctl), GFP_NOFS); in lov_iocontrol()
1518 if (!oqctl) in lov_iocontrol()
1521 QCTL_COPY(oqctl, qctl); in lov_iocontrol()
1522 rc = obd_quotactl(tgt->ltd_exp, oqctl); in lov_iocontrol()
1524 QCTL_COPY(qctl, oqctl); in lov_iocontrol()
1528 kfree(oqctl); in lov_iocontrol()
2176 struct obd_quotactl *oqctl) in lov_quotactl() argument
2184 if (oqctl->qc_cmd != LUSTRE_Q_QUOTAON && in lov_quotactl()
2185 oqctl->qc_cmd != LUSTRE_Q_QUOTAOFF && in lov_quotactl()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c918 struct obd_quotactl *oqctl; in lmv_iocontrol() local
949 oqctl = kzalloc(sizeof(*oqctl), GFP_NOFS); in lmv_iocontrol()
950 if (!oqctl) in lmv_iocontrol()
953 QCTL_COPY(oqctl, qctl); in lmv_iocontrol()
954 rc = obd_quotactl(tgt->ltd_exp, oqctl); in lmv_iocontrol()
956 QCTL_COPY(qctl, oqctl); in lmv_iocontrol()
960 kfree(oqctl); in lmv_iocontrol()
2674 struct obd_quotactl *oqctl) in lmv_quotactl() argument
2687 if (oqctl->qc_cmd != Q_GETOQUOTA) { in lmv_quotactl()
2688 rc = obd_quotactl(tgt->ltd_exp, oqctl); in lmv_quotactl()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_lockd.c518 struct obd_quotactl *oqctl; in ldlm_handle_qc_callback() local
521 oqctl = req_capsule_client_get(&req->rq_pill, &RMF_OBD_QUOTACTL); in ldlm_handle_qc_callback()
522 if (oqctl == NULL) { in ldlm_handle_qc_callback()
527 oqctl->qc_stat = ptlrpc_status_ntoh(oqctl->qc_stat); in ldlm_handle_qc_callback()
529 cli->cl_qchk_stat = oqctl->qc_stat; in ldlm_handle_qc_callback()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c1594 struct obd_quotactl *oqctl) in mdc_quotacheck() argument
1608 *body = *oqctl; in mdc_quotacheck()
1639 struct obd_quotactl *oqctl) in mdc_quotactl() argument
1652 *oqc = *oqctl; in mdc_quotactl()
1665 *oqctl = *oqc; in mdc_quotactl()
1836 struct obd_quotactl *oqctl; in mdc_iocontrol() local
1838 oqctl = kzalloc(sizeof(*oqctl), GFP_NOFS); in mdc_iocontrol()
1839 if (!oqctl) { in mdc_iocontrol()
1844 QCTL_COPY(oqctl, qctl); in mdc_iocontrol()
1845 rc = obd_quotactl(exp, oqctl); in mdc_iocontrol()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dobd_class.h1254 struct obd_quotactl *oqctl) in obd_quotacheck() argument
1261 rc = OBP(exp->exp_obd, quotacheck)(exp->exp_obd, exp, oqctl); in obd_quotacheck()
1266 struct obd_quotactl *oqctl) in obd_quotactl() argument
1273 rc = OBP(exp->exp_obd, quotactl)(exp->exp_obd, exp, oqctl); in obd_quotactl()