Searched refs:len (Results 1 – 3 of 3) sorted by relevance
/ipc/ |
D | msgutil.c | 52 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 …]
|
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 | 548 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()
|