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