void afs_listquota(char *path)
afs_listquota(char *path)
void afs_listquota(char *path){    struct ViceIoctl a_params;    struct VolumeStatus *vs;    char *name;    double used_vol, used_part;    a_params.in_size=0;    a_params.out_size=MAXSIZE;    a_params.in=NULL;    a_params.out=malloc(MAXSIZE);    if (a_params.out == NULL) {	printf ("fs: Out of memory\n");	return;    }    if(k_pioctl(path,VIOCGETVOLSTAT,&a_params,1)==-1) {	fserr(PROGNAME, errno, path);	free(a_params.out);	return;    }      vs=(struct VolumeStatus *) a_params.out;    name=a_params.out+sizeof(struct VolumeStatus);    if (vs->MaxQuota)	used_vol = ((double) vs->BlocksInUse / vs->MaxQuota) * 100;    else	used_vol = 0.0;    if (vs->PartMaxBlocks)	used_part = (1.0 - (double) vs->PartBlocksAvail / vs->PartMaxBlocks)	    * 100;    else	used_part = 0.0;    printf("%-20s%8d%8d%9.0f%%%s%9.0f%%%s%s\n",	   name,	   vs->MaxQuota,	   vs->BlocksInUse,	   used_vol,	   used_vol > 90 ? "<<" : "  ",	   used_part,	   used_part > 97 ? "<<" : "  ",	   /* Print a warning if more than 90% on home volume or 97% on */	   /* the partion is being used */	   (used_vol > 90 || used_part > 97) ? "\t<<WARNING" : "");    free(a_params.out);}