Lines Matching refs:mesg

70 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen)  in expkey_parse()  argument
82 if (mesg[mlen - 1] != '\n') in expkey_parse()
84 mesg[mlen-1] = 0; in expkey_parse()
92 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
102 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 key.h.expiry_time = get_expiry(&mesg); in expkey_parse()
133 len = qword_get(&mesg, buf, PAGE_SIZE); in expkey_parse()
388 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument
398 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse()
413 len = qword_get(mesg, buf, PAGE_SIZE); in fsloc_parse()
422 len = qword_get(mesg, buf, PAGE_SIZE); in fsloc_parse()
431 err = get_int(mesg, &migrated); in fsloc_parse()
444 static int secinfo_parse(char **mesg, char *buf, struct svc_export *exp) in secinfo_parse() argument
454 err = get_uint(mesg, &listsize); in secinfo_parse()
461 err = get_uint(mesg, &f->pseudoflavor); in secinfo_parse()
470 err = get_uint(mesg, &f->flags); in secinfo_parse()
483 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc){return 0;} in fsloc_parse() argument
485 secinfo_parse(char **mesg, char *buf, struct svc_export *exp) { return 0; } in secinfo_parse() argument
489 uuid_parse(char **mesg, char *buf, unsigned char **puuid) in uuid_parse() argument
498 len = qword_get(mesg, buf, PAGE_SIZE); in uuid_parse()
509 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) in svc_export_parse() argument
519 if (mesg[mlen-1] != '\n') in svc_export_parse()
521 mesg[mlen-1] = 0; in svc_export_parse()
529 len = qword_get(&mesg, buf, PAGE_SIZE); in svc_export_parse()
540 if ((len = qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in svc_export_parse()
553 exp.h.expiry_time = get_expiry(&mesg); in svc_export_parse()
558 err = get_int(&mesg, &an_int); in svc_export_parse()
568 err = get_int(&mesg, &an_int); in svc_export_parse()
574 err = get_int(&mesg, &an_int); in svc_export_parse()
580 err = get_int(&mesg, &an_int); in svc_export_parse()
585 while ((len = qword_get(&mesg, buf, PAGE_SIZE)) > 0) { in svc_export_parse()
587 err = fsloc_parse(&mesg, buf, &exp.ex_fslocs); in svc_export_parse()
589 err = uuid_parse(&mesg, buf, &exp.ex_uuid); in svc_export_parse()
591 err = secinfo_parse(&mesg, buf, &exp); in svc_export_parse()