Lines Matching refs:mesg

78 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen)
90 if (mesg[mlen - 1] != '\n')
92 mesg[mlen-1] = 0;
100 if (qword_get(&mesg, buf, PAGE_SIZE) <= 0)
110 if (qword_get(&mesg, buf, PAGE_SIZE) <= 0)
118 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0)
126 err = get_expiry(&mesg, &key.h.expiry_time);
141 len = qword_get(&mesg, buf, PAGE_SIZE);
447 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc)
457 err = get_uint(mesg, &fsloc->locations_count);
473 len = qword_get(mesg, buf, PAGE_SIZE);
482 len = qword_get(mesg, buf, PAGE_SIZE);
491 err = get_int(mesg, &migrated);
504 static int secinfo_parse(char **mesg, char *buf, struct svc_export *exp)
514 err = get_uint(mesg, &listsize);
521 err = get_uint(mesg, &f->pseudoflavor);
530 err = get_uint(mesg, &f->flags);
543 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc){return 0;}
545 secinfo_parse(char **mesg, char *buf, struct svc_export *exp) { return 0; }
548 static int xprtsec_parse(char **mesg, char *buf, struct svc_export *exp)
553 err = get_uint(mesg, &listsize);
561 err = get_uint(mesg, &mode);
572 nfsd_uuid_parse(char **mesg, char *buf, unsigned char **puuid)
581 len = qword_get(mesg, buf, PAGE_SIZE);
592 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen)
601 if (mesg[mlen-1] != '\n')
603 mesg[mlen-1] = 0;
611 if (qword_get(&mesg, buf, PAGE_SIZE) <= 0)
621 if (qword_get(&mesg, buf, PAGE_SIZE) <= 0)
634 err = get_expiry(&mesg, &exp.h.expiry_time);
639 err = get_int(&mesg, &an_int);
649 err = get_int(&mesg, &an_int);
655 err = get_int(&mesg, &an_int);
661 err = get_int(&mesg, &an_int);
666 while (qword_get(&mesg, buf, PAGE_SIZE) > 0) {
668 err = fsloc_parse(&mesg, buf, &exp.ex_fslocs);
670 err = nfsd_uuid_parse(&mesg, buf, &exp.ex_uuid);
672 err = secinfo_parse(&mesg, buf, &exp);
674 err = xprtsec_parse(&mesg, buf, &exp);