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 ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0)
110 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0)
118 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0)
126 key.h.expiry_time = get_expiry(&mesg);
141 len = qword_get(&mesg, buf, PAGE_SIZE);
418 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc)
428 err = get_uint(mesg, &fsloc->locations_count);
444 len = qword_get(mesg, buf, PAGE_SIZE);
453 len = qword_get(mesg, buf, PAGE_SIZE);
462 err = get_int(mesg, &migrated);
475 static int secinfo_parse(char **mesg, char *buf, struct svc_export *exp)
485 err = get_uint(mesg, &listsize);
492 err = get_uint(mesg, &f->pseudoflavor);
501 err = get_uint(mesg, &f->flags);
514 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc){return 0;}
516 secinfo_parse(char **mesg, char *buf, struct svc_export *exp) { return 0; }
520 nfsd_uuid_parse(char **mesg, char *buf, unsigned char **puuid)
529 len = qword_get(mesg, buf, PAGE_SIZE);
540 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen)
550 if (mesg[mlen-1] != '\n')
552 mesg[mlen-1] = 0;
560 len = qword_get(&mesg, buf, PAGE_SIZE);
571 if ((len = qword_get(&mesg, buf, PAGE_SIZE)) <= 0)
584 exp.h.expiry_time = get_expiry(&mesg);
589 err = get_int(&mesg, &an_int);
599 err = get_int(&mesg, &an_int);
605 err = get_int(&mesg, &an_int);
611 err = get_int(&mesg, &an_int);
616 while ((len = qword_get(&mesg, buf, PAGE_SIZE)) > 0) {
618 err = fsloc_parse(&mesg, buf, &exp.ex_fslocs);
620 err = nfsd_uuid_parse(&mesg, buf, &exp.ex_uuid);
622 err = secinfo_parse(&mesg, buf, &exp);