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 ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
110 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
118 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
126 key.h.expiry_time = get_expiry(&mesg); in expkey_parse()
141 len = qword_get(&mesg, buf, PAGE_SIZE); in expkey_parse()
448 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument
458 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse()
474 len = qword_get(mesg, buf, PAGE_SIZE); in fsloc_parse()
483 len = qword_get(mesg, buf, PAGE_SIZE); in fsloc_parse()
492 err = get_int(mesg, &migrated); in fsloc_parse()
505 static int secinfo_parse(char **mesg, char *buf, struct svc_export *exp) in secinfo_parse() argument
515 err = get_uint(mesg, &listsize); in secinfo_parse()
522 err = get_uint(mesg, &f->pseudoflavor); in secinfo_parse()
531 err = get_uint(mesg, &f->flags); in secinfo_parse()
544 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc){return 0;} in fsloc_parse() argument
546 secinfo_parse(char **mesg, char *buf, struct svc_export *exp) { return 0; } in secinfo_parse() argument
550 nfsd_uuid_parse(char **mesg, char *buf, unsigned char **puuid) in nfsd_uuid_parse() argument
559 len = qword_get(mesg, buf, PAGE_SIZE); in nfsd_uuid_parse()
570 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) in svc_export_parse() argument
580 if (mesg[mlen-1] != '\n') in svc_export_parse()
582 mesg[mlen-1] = 0; in svc_export_parse()
590 len = qword_get(&mesg, buf, PAGE_SIZE); in svc_export_parse()
601 if ((len = qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in svc_export_parse()
614 exp.h.expiry_time = get_expiry(&mesg); in svc_export_parse()
619 err = get_int(&mesg, &an_int); in svc_export_parse()
629 err = get_int(&mesg, &an_int); in svc_export_parse()
635 err = get_int(&mesg, &an_int); in svc_export_parse()
641 err = get_int(&mesg, &an_int); in svc_export_parse()
646 while ((len = qword_get(&mesg, buf, PAGE_SIZE)) > 0) { in svc_export_parse()
648 err = fsloc_parse(&mesg, buf, &exp.ex_fslocs); in svc_export_parse()
650 err = nfsd_uuid_parse(&mesg, buf, &exp.ex_uuid); in svc_export_parse()
652 err = secinfo_parse(&mesg, buf, &exp); in svc_export_parse()