| /OK3568_Linux_fs/kernel/ipc/ |
| H A D | msg.c | 48 struct msg_queue { struct 101 static inline struct msg_queue *msq_obtain_object(struct ipc_namespace *ns, int id) in msq_obtain_object() 108 return container_of(ipcp, struct msg_queue, q_perm); in msq_obtain_object() 111 static inline struct msg_queue *msq_obtain_object_check(struct ipc_namespace *ns, in msq_obtain_object_check() 119 return container_of(ipcp, struct msg_queue, q_perm); in msq_obtain_object_check() 122 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s) in msg_rmid() 130 struct msg_queue *msq = container_of(p, struct msg_queue, q_perm); in msg_rcu_free() 145 struct msg_queue *msq; in newque() 186 static inline bool msg_fits_inqueue(struct msg_queue *msq, size_t msgsz) in msg_fits_inqueue() 192 static inline void ss_add(struct msg_queue *msq, in ss_add() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/spi/ |
| H A D | rk1608_dev.c | 21 struct msg_queue { struct 30 struct msg_queue q; argument 62 static int msq_init(struct msg_queue *q, int size) in msq_init() 79 static void msq_release(struct msg_queue *q) in msq_release() 95 static int msq_is_empty(const struct msg_queue *q) in msq_is_empty() 107 static u32 msq_tail_free_size(const struct msg_queue *q) in msq_tail_free_size() 122 static u32 msq_head_free_size(const struct msg_queue *q) in msq_head_free_size() 138 static int msq_send_msg(struct msg_queue *q, const struct msg *m) in msq_send_msg() 172 static int msq_recv_msg(struct msg_queue *q, struct msg **m) in msq_recv_msg() 195 static int msq_free_received_msg(struct msg_queue *q, const struct msg *m) in msq_free_received_msg()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_fsm.c | 147 struct fsm_queue msg_queue; member 296 if (list_empty(&fsm->msg_queue.q)) in fsm_dequeue_msg() 299 _os_spinlock(d, &fsm->msg_queue.lock, _bh, NULL); in fsm_dequeue_msg() 300 msg = list_first_entry(&fsm->msg_queue.q, struct fsm_msg, list); in fsm_dequeue_msg() 302 _os_spinunlock(d, &fsm->msg_queue.lock, _bh, NULL); in fsm_dequeue_msg() 601 fsm_enqueue_list(d, obj->fsm, &obj->fsm->msg_queue, &msg->list); in phl_fsm_sent_msg() 639 fsm_enqueue_list(d, fsm, &fsm->msg_queue, &msg->list); in fsm_post_message() 740 fsm_init_queue(d, &(fsm->msg_queue)); in phl_fsm_init_fsm() 790 fsm_deinit_queue(d, &(fsm->msg_queue)); in phl_fsm_deinit_fsm()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_fsm.c | 147 struct fsm_queue msg_queue; member 296 if (list_empty(&fsm->msg_queue.q)) in fsm_dequeue_msg() 299 _os_spinlock(d, &fsm->msg_queue.lock, _bh, NULL); in fsm_dequeue_msg() 300 msg = list_first_entry(&fsm->msg_queue.q, struct fsm_msg, list); in fsm_dequeue_msg() 302 _os_spinunlock(d, &fsm->msg_queue.lock, _bh, NULL); in fsm_dequeue_msg() 601 fsm_enqueue_list(d, obj->fsm, &obj->fsm->msg_queue, &msg->list); in phl_fsm_sent_msg() 639 fsm_enqueue_list(d, fsm, &fsm->msg_queue, &msg->list); in fsm_post_message() 740 fsm_init_queue(d, &(fsm->msg_queue)); in phl_fsm_init_fsm() 790 fsm_deinit_queue(d, &(fsm->msg_queue)); in phl_fsm_deinit_fsm()
|
| /OK3568_Linux_fs/kernel/drivers/staging/vc04_services/interface/vchiq_arm/ |
| H A D | vchiq_arm.c | 67 struct vchiq_header *msg_queue[MSG_QUEUE_SIZE]; member 660 user_service->msg_queue[user_service->msg_insert & in service_callback() 919 header = user_service->msg_queue[user_service->msg_remove & in vchiq_ioc_dequeue_message() 1945 header = user_service->msg_queue[m]; in vchiq_release()
|
| H A D | vchiq_core.h | 321 struct vchiq_header *msg_queue[VCHIQ_MAX_SLOTS]; member
|
| H A D | vchiq_core.c | 2293 service->msg_queue[pos] = header; in vchiq_msg_queue_push() 2317 header = service->msg_queue[pos]; in vchiq_msg_hold() 2389 memset(&service->msg_queue, 0, sizeof(service->msg_queue)); in vchiq_add_service_internal()
|
| /OK3568_Linux_fs/kernel/Documentation/security/ |
| H A D | lsm.rst | 85 msg_msg <msg_msg>`, struct msg_queue, and struct shmid_kernel
|