Lines Matching refs:mesg

71 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen)  in expkey_parse()  argument
83 if (mesg[mlen - 1] != '\n') in expkey_parse()
85 mesg[mlen-1] = 0; in expkey_parse()
93 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
103 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
111 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
119 key.h.expiry_time = get_expiry(&mesg); in expkey_parse()
134 len = qword_get(&mesg, buf, PAGE_SIZE); in expkey_parse()
389 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument
399 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse()
415 len = qword_get(mesg, buf, PAGE_SIZE); in fsloc_parse()
424 len = qword_get(mesg, buf, PAGE_SIZE); in fsloc_parse()
433 err = get_int(mesg, &migrated); in fsloc_parse()
446 static int secinfo_parse(char **mesg, char *buf, struct svc_export *exp) in secinfo_parse() argument
456 err = get_uint(mesg, &listsize); in secinfo_parse()
463 err = get_uint(mesg, &f->pseudoflavor); in secinfo_parse()
472 err = get_uint(mesg, &f->flags); in secinfo_parse()
485 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc){return 0;} in fsloc_parse() argument
487 secinfo_parse(char **mesg, char *buf, struct svc_export *exp) { return 0; } in secinfo_parse() argument
491 nfsd_uuid_parse(char **mesg, char *buf, unsigned char **puuid) in nfsd_uuid_parse() argument
500 len = qword_get(mesg, buf, PAGE_SIZE); in nfsd_uuid_parse()
511 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) in svc_export_parse() argument
521 if (mesg[mlen-1] != '\n') in svc_export_parse()
523 mesg[mlen-1] = 0; in svc_export_parse()
531 len = qword_get(&mesg, buf, PAGE_SIZE); in svc_export_parse()
542 if ((len = qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in svc_export_parse()
555 exp.h.expiry_time = get_expiry(&mesg); in svc_export_parse()
560 err = get_int(&mesg, &an_int); in svc_export_parse()
570 err = get_int(&mesg, &an_int); in svc_export_parse()
576 err = get_int(&mesg, &an_int); in svc_export_parse()
582 err = get_int(&mesg, &an_int); in svc_export_parse()
587 while ((len = qword_get(&mesg, buf, PAGE_SIZE)) > 0) { in svc_export_parse()
589 err = fsloc_parse(&mesg, buf, &exp.ex_fslocs); in svc_export_parse()
591 err = nfsd_uuid_parse(&mesg, buf, &exp.ex_uuid); in svc_export_parse()
593 err = secinfo_parse(&mesg, buf, &exp); in svc_export_parse()