Searched refs:len (Results 1 – 3 of 3) sorted by relevance
/ipc/ |
D | msgutil.c | 49 static struct msg_msg *alloc_msg(size_t len) in alloc_msg() argument 55 alen = min(len, DATALEN_MSG); in alloc_msg() 63 len -= alen; in alloc_msg() 65 while (len > 0) { in alloc_msg() 67 alen = min(len, DATALEN_SEG); in alloc_msg() 74 len -= alen; in alloc_msg() 84 struct msg_msg *load_msg(const void __user *src, size_t len) in load_msg() argument 91 msg = alloc_msg(len); in load_msg() 95 alen = min(len, DATALEN_MSG); in load_msg() 100 len -= alen; in load_msg() [all …]
|
D | util.h | 152 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);
|
D | shm.c | 476 loff_t len) in shm_fallocate() argument 482 return sfd->file->f_op->fallocate(file, mode, offset, len); in shm_fallocate() 486 unsigned long addr, unsigned long len, unsigned long pgoff, in shm_get_unmapped_area() argument 490 return sfd->file->f_op->get_unmapped_area(sfd->file, addr, len, in shm_get_unmapped_area()
|