Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 8 of 8) sorted by relevance

/ipc/
Dmsgutil.c48 #define DATALEN_MSG ((size_t)PAGE_SIZE-sizeof(struct msg_msg))
49 #define DATALEN_SEG ((size_t)PAGE_SIZE-sizeof(struct msg_msgseg))
52 static struct msg_msg *alloc_msg(size_t len) in alloc_msg()
56 size_t alen; in alloc_msg()
90 struct msg_msg *load_msg(const void __user *src, size_t len) in load_msg()
95 size_t alen; in load_msg()
127 size_t len = src->m_ts; in copy_msg()
128 size_t alen; in copy_msg()
156 int store_msg(void __user *dest, struct msg_msg *msg, size_t len) in store_msg()
158 size_t alen; in store_msg()
Dipc_sysctl.c31 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_dointvec()
42 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_dointvec_minmax()
53 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_dointvec_minmax_orphans()
66 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_doulongvec_minmax()
77 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_auto_msgmni()
Dmsg.c610 size_t msgsz, int msgflg) in do_msgsnd()
722 SYSCALL_DEFINE4(msgsnd, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, in SYSCALL_DEFINE4() argument
756 static long do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) in do_msg_fill()
759 size_t msgsz; in do_msg_fill()
775 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy()
794 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy()
828 long do_msgrcv(int msqid, void __user *buf, size_t bufsz, long msgtyp, int msgflg, in do_msgrcv() argument
829 long (*msg_handler)(void __user *, struct msg_msg *, size_t)) in do_msgrcv()
844 copy = prepare_copy(buf, min_t(size_t, bufsz, ns->msg_ctlmax)); in do_msgrcv()
1017 SYSCALL_DEFINE5(msgrcv, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, in SYSCALL_DEFINE5() argument
Dutil.h65 size_t size; /* for shared memories */
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);
Dmq_sysctl.c26 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_mq_dointvec()
36 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_mq_dointvec_minmax()
Dshm.c612 size_t size = params->u.size; in newseg()
615 size_t numpages = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in newseg()
649 size_t hugesize; in newseg()
747 SYSCALL_DEFINE3(shmget, key_t, key, size_t, size, int, shmflg) in SYSCALL_DEFINE3() argument
Dcompat.c310 static long compat_do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) in compat_do_msg_fill()
313 size_t msgsz; in compat_do_msg_fill()
Dmqueue.c489 size_t count, loff_t *off) in mqueue_read_file()
966 size_t, msg_len, unsigned int, msg_prio, in SYSCALL_DEFINE5() argument
1087 size_t, msg_len, unsigned int __user *, u_msg_prio, in SYSCALL_DEFINE5() argument