Searched refs:qctl (Results 1 – 4 of 4) sorted by relevance
/drivers/staging/lustre/lustre/llite/ |
D | dir.c | 1071 static int quotactl_ioctl(struct ll_sb_info *sbi, struct if_quotactl *qctl) in quotactl_ioctl() argument 1073 int cmd = qctl->qc_cmd; in quotactl_ioctl() 1074 int type = qctl->qc_type; in quotactl_ioctl() 1075 int id = qctl->qc_id; in quotactl_ioctl() 1076 int valid = qctl->qc_valid; in quotactl_ioctl() 1111 qctl->qc_cmd = Q_GETOINFO; in quotactl_ioctl() 1113 qctl->qc_cmd = Q_GETOQUOTA; in quotactl_ioctl() 1120 sizeof(*qctl), qctl, NULL); in quotactl_ioctl() 1124 sizeof(*qctl), qctl, NULL); in quotactl_ioctl() 1128 sizeof(*qctl), qctl, NULL); in quotactl_ioctl() [all …]
|
/drivers/staging/lustre/lustre/lov/ |
D | lov_obd.c | 1485 struct if_quotactl *qctl = karg; in lov_iocontrol() local 1489 if (qctl->qc_valid == QC_OSTIDX) { in lov_iocontrol() 1490 if (count <= qctl->qc_idx) in lov_iocontrol() 1493 tgt = lov->lov_tgts[qctl->qc_idx]; in lov_iocontrol() 1496 } else if (qctl->qc_valid == QC_UUID) { in lov_iocontrol() 1501 &qctl->obd_uuid)) in lov_iocontrol() 1521 QCTL_COPY(oqctl, qctl); in lov_iocontrol() 1524 QCTL_COPY(qctl, oqctl); in lov_iocontrol() 1525 qctl->qc_valid = QC_OSTIDX; in lov_iocontrol() 1526 qctl->obd_uuid = tgt->ltd_uuid; in lov_iocontrol()
|
/drivers/staging/lustre/lustre/lmv/ |
D | lmv_obd.c | 916 struct if_quotactl *qctl = karg; in lmv_iocontrol() local 920 if (qctl->qc_valid == QC_MDTIDX) { in lmv_iocontrol() 921 if (qctl->qc_idx < 0 || count <= qctl->qc_idx) in lmv_iocontrol() 924 tgt = lmv->tgts[qctl->qc_idx]; in lmv_iocontrol() 927 } else if (qctl->qc_valid == QC_UUID) { in lmv_iocontrol() 933 &qctl->obd_uuid)) in lmv_iocontrol() 953 QCTL_COPY(oqctl, qctl); in lmv_iocontrol() 956 QCTL_COPY(qctl, oqctl); in lmv_iocontrol() 957 qctl->qc_valid = QC_MDTIDX; in lmv_iocontrol() 958 qctl->obd_uuid = tgt->ltd_uuid; in lmv_iocontrol()
|
/drivers/staging/lustre/lustre/mdc/ |
D | mdc_request.c | 1835 struct if_quotactl *qctl = karg; in mdc_iocontrol() local 1844 QCTL_COPY(oqctl, qctl); in mdc_iocontrol() 1847 QCTL_COPY(qctl, oqctl); in mdc_iocontrol() 1848 qctl->qc_valid = QC_MDTIDX; in mdc_iocontrol() 1849 qctl->obd_uuid = obd->u.cli.cl_target_uuid; in mdc_iocontrol()
|