Searched refs:mlen (Results 1 – 5 of 5) sorted by relevance
/fs/nfs/blocklayout/ |
D | rpc_pipefs.c | 113 size_t mlen) in bl_pipe_downcall() argument 118 if (mlen != sizeof (struct bl_dev_msg)) in bl_pipe_downcall() 121 if (copy_from_user(&nn->bl_mount_reply, src, mlen) != 0) in bl_pipe_downcall() 126 return mlen; in bl_pipe_downcall()
|
/fs/nfs/ |
D | nfs4idmap.c | 664 idmap_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in idmap_pipe_downcall() argument 686 if (mlen != sizeof(im)) { in idmap_pipe_downcall() 691 if (copy_from_user(&im, src, mlen) != 0) { in idmap_pipe_downcall() 711 ret = mlen; in idmap_pipe_downcall()
|
/fs/nfsd/ |
D | export.c | 72 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse() argument 84 if (mesg[mlen - 1] != '\n') in expkey_parse() 86 mesg[mlen-1] = 0; in expkey_parse() 524 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) in svc_export_parse() argument 534 if (mesg[mlen-1] != '\n') in svc_export_parse() 536 mesg[mlen-1] = 0; in svc_export_parse()
|
D | nfs4recover.c | 862 cld_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in cld_pipe_downcall() argument 873 if (mlen != nn->client_tracking_ops->msglen) { in cld_pipe_downcall() 874 dprintk("%s: got %zu bytes, expected %zu\n", __func__, mlen, in cld_pipe_downcall() 917 if (copy_from_user(&cup->cu_u.cu_msg_v2, src, mlen) != 0) in cld_pipe_downcall() 921 return mlen; in cld_pipe_downcall()
|
/fs/ext4/ |
D | mballoc.c | 1561 int mlen = 0; in mb_mark_used() local 1582 mlen = !mb_test_bit(start - 1, e4b->bd_bitmap); in mb_mark_used() 1585 if (mlen && max) in mb_mark_used() 1587 else if (!mlen && !max) in mb_mark_used() 1596 mlen = 1 << ord; in mb_mark_used() 1601 start += mlen; in mb_mark_used() 1602 len -= mlen; in mb_mark_used()
|