Home
last modified time | relevance | path

Searched refs:len (Results 1 – 3 of 3) sorted by relevance

/ipc/
Dmsgutil.c52 static struct msg_msg *alloc_msg(size_t len) in alloc_msg() argument
58 alen = min(len, DATALEN_MSG); in alloc_msg()
66 len -= alen; in alloc_msg()
68 while (len > 0) { in alloc_msg()
73 alen = min(len, DATALEN_SEG); in alloc_msg()
80 len -= alen; in alloc_msg()
90 struct msg_msg *load_msg(const void __user *src, size_t len) in load_msg() argument
97 msg = alloc_msg(len); in load_msg()
101 alen = min(len, DATALEN_MSG); in load_msg()
106 len -= alen; in load_msg()
[all …]
Dutil.h152 extern struct msg_msg *load_msg(const void __user *src, size_t len);
154 extern int store_msg(void __user *dest, struct msg_msg *msg, size_t len);
Dshm.c548 loff_t len) in shm_fallocate() argument
554 return sfd->file->f_op->fallocate(file, mode, offset, len); in shm_fallocate()
558 unsigned long addr, unsigned long len, unsigned long pgoff, in shm_get_unmapped_area() argument
562 return sfd->file->f_op->get_unmapped_area(sfd->file, addr, len, in shm_get_unmapped_area()