/kernel/linux/linux-5.10/include/net/sctp/ |
H A D | ulpevent.h | 154 static inline void sctp_ulpevent_type_set(__u16 *subscribe, in sctp_ulpevent_type_set() argument 161 *subscribe |= (1 << (sn_type - SCTP_SN_TYPE_BASE)); in sctp_ulpevent_type_set() 163 *subscribe &= ~(1 << (sn_type - SCTP_SN_TYPE_BASE)); in sctp_ulpevent_type_set() 167 static inline bool sctp_ulpevent_type_enabled(__u16 subscribe, __u16 sn_type) in sctp_ulpevent_type_enabled() argument 172 return subscribe & (1 << (sn_type - SCTP_SN_TYPE_BASE)); in sctp_ulpevent_type_enabled() 177 __u16 subscribe) in sctp_ulpevent_is_enabled() 186 return sctp_ulpevent_type_enabled(subscribe, sn_type); in sctp_ulpevent_is_enabled() 176 sctp_ulpevent_is_enabled(const struct sctp_ulpevent *event, __u16 subscribe) sctp_ulpevent_is_enabled() argument
|
H A D | structs.h | 210 __u16 subscribe; member 2075 __u16 subscribe; member
|
/kernel/linux/linux-6.6/include/net/sctp/ |
H A D | ulpevent.h | 154 static inline void sctp_ulpevent_type_set(__u16 *subscribe, in sctp_ulpevent_type_set() argument 161 *subscribe |= (1 << (sn_type - SCTP_SN_TYPE_BASE)); in sctp_ulpevent_type_set() 163 *subscribe &= ~(1 << (sn_type - SCTP_SN_TYPE_BASE)); in sctp_ulpevent_type_set() 167 static inline bool sctp_ulpevent_type_enabled(__u16 subscribe, __u16 sn_type) in sctp_ulpevent_type_enabled() argument 172 return subscribe & (1 << (sn_type - SCTP_SN_TYPE_BASE)); in sctp_ulpevent_type_enabled() 177 __u16 subscribe) in sctp_ulpevent_is_enabled() 186 return sctp_ulpevent_type_enabled(subscribe, sn_type); in sctp_ulpevent_is_enabled() 176 sctp_ulpevent_is_enabled(const struct sctp_ulpevent *event, __u16 subscribe) sctp_ulpevent_is_enabled() argument
|
H A D | structs.h | 214 __u16 subscribe; member 2101 __u16 subscribe; member
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | seq_kernel.h | 47 int (*subscribe)(void *private_data, struct snd_seq_port_subscribe *info); member
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | seq_kernel.h | 47 int (*subscribe)(void *private_data, struct snd_seq_port_subscribe *info); member
|
/kernel/linux/linux-5.10/net/sctp/ |
H A D | chunk.c | 94 if (sctp_ulpevent_type_enabled(asoc->subscribe, in sctp_datamsg_destroy() 102 if (sctp_ulpevent_type_enabled(asoc->subscribe, in sctp_datamsg_destroy()
|
H A D | socket.c | 2151 if (sctp_ulpevent_type_enabled(sp->subscribe, SCTP_DATA_IO_EVENT)) in sctp_recvmsg() 2225 sctp_ulpevent_type_set(&sp->subscribe, SCTP_SN_TYPE_BASE + i, in sctp_setsockopt_events() 2229 asoc->subscribe = sctp_sk(sk)->subscribe; in sctp_setsockopt_events() 2235 if (sctp_ulpevent_type_enabled(sp->subscribe, SCTP_SENDER_DRY_EVENT)) { in sctp_setsockopt_events() 4266 sctp_ulpevent_type_set(&asoc->subscribe, param->se_type, param->se_on); in sctp_assoc_ulpevent_type_set() 4309 sctp_ulpevent_type_set(&sp->subscribe, in sctp_setsockopt_event() 4896 sp->subscribe = 0; in sctp_init_sock() 5451 struct sctp_event_subscribe subscribe; in sctp_getsockopt_events() local 5452 __u8 *sn_type = (__u8 *)&subscribe; in sctp_getsockopt_events() 7628 __u16 subscribe; sctp_getsockopt_event() local [all...] |
H A D | ulpqueue.c | 207 if (!sctp_ulpevent_is_enabled(event, ulpq->asoc->subscribe)) in sctp_ulpq_tail_event() 1123 if (sctp_ulpevent_type_enabled(ulpq->asoc->subscribe, in sctp_ulpq_abort_pd()
|
H A D | associola.c | 122 asoc->subscribe = sp->subscribe; in sctp_association_init()
|
H A D | stream_interleave.c | 490 if (!sctp_ulpevent_is_enabled(event, ulpq->asoc->subscribe)) in sctp_enqueue_event() 992 if (!sctp_ulpevent_type_enabled(ulpq->asoc->subscribe, in sctp_intl_stream_abort_pd()
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | chunk.c | 94 if (sctp_ulpevent_type_enabled(asoc->subscribe, in sctp_datamsg_destroy() 102 if (sctp_ulpevent_type_enabled(asoc->subscribe, in sctp_datamsg_destroy()
|
H A D | socket.c | 2156 if (sctp_ulpevent_type_enabled(sp->subscribe, SCTP_DATA_IO_EVENT)) in sctp_recvmsg() 2230 sctp_ulpevent_type_set(&sp->subscribe, SCTP_SN_TYPE_BASE + i, in sctp_setsockopt_events() 2234 asoc->subscribe = sctp_sk(sk)->subscribe; in sctp_setsockopt_events() 2240 if (sctp_ulpevent_type_enabled(sp->subscribe, SCTP_SENDER_DRY_EVENT)) { in sctp_setsockopt_events() 4272 sctp_ulpevent_type_set(&asoc->subscribe, param->se_type, param->se_on); in sctp_assoc_ulpevent_type_set() 4315 sctp_ulpevent_type_set(&sp->subscribe, in sctp_setsockopt_event() 5013 sp->subscribe = 0; in sctp_init_sock() 5575 struct sctp_event_subscribe subscribe; in sctp_getsockopt_events() local 5576 __u8 *sn_type = (__u8 *)&subscribe; in sctp_getsockopt_events() 7752 __u16 subscribe; sctp_getsockopt_event() local [all...] |
H A D | ulpqueue.c | 204 if (!sctp_ulpevent_is_enabled(event, ulpq->asoc->subscribe)) in sctp_ulpq_tail_event() 1113 if (sctp_ulpevent_type_enabled(ulpq->asoc->subscribe, in sctp_ulpq_abort_pd()
|
H A D | associola.c | 125 asoc->subscribe = sp->subscribe; in sctp_association_init()
|
H A D | stream_interleave.c | 490 if (!sctp_ulpevent_is_enabled(event, ulpq->asoc->subscribe)) in sctp_enqueue_event() 984 if (!sctp_ulpevent_type_enabled(ulpq->asoc->subscribe, in sctp_intl_stream_abort_pd()
|
/kernel/linux/linux-6.6/sound/core/seq/ |
H A D | seq_ump_client.c | 235 pcallbacks.subscribe = seq_ump_subscribe; in seq_ump_group_init() 374 pcallbacks.subscribe = seq_ump_subscribe; in create_ump_endpoint_port()
|
H A D | seq_midi.c | 387 pcallbacks.subscribe = midisynth_subscribe; in snd_seq_midisynth_probe()
|
H A D | seq_virmidi.c | 283 * subscribe callback - allow output to rawmidi device 403 pcallbacks.subscribe = snd_virmidi_subscribe; in snd_virmidi_dev_attach_seq()
|
H A D | seq_clientmgr.c | 1336 port->c_src.open = callback->subscribe; in snd_seq_ioctl_create_port()
|
/kernel/linux/linux-5.10/sound/core/ |
H A D | control.c | 1577 int subscribe; in snd_ctl_subscribe_events() local 1578 if (get_user(subscribe, ptr)) in snd_ctl_subscribe_events() 1580 if (subscribe < 0) { in snd_ctl_subscribe_events() 1581 subscribe = file->subscribed; in snd_ctl_subscribe_events() 1582 if (put_user(subscribe, ptr)) in snd_ctl_subscribe_events() 1586 if (subscribe) { in snd_ctl_subscribe_events()
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | control.c | 1871 int subscribe; in snd_ctl_subscribe_events() local 1872 if (get_user(subscribe, ptr)) in snd_ctl_subscribe_events() 1874 if (subscribe < 0) { in snd_ctl_subscribe_events() 1875 subscribe = file->subscribed; in snd_ctl_subscribe_events() 1876 if (put_user(subscribe, ptr)) in snd_ctl_subscribe_events() 1880 if (subscribe) { in snd_ctl_subscribe_events()
|
/kernel/linux/linux-5.10/sound/core/seq/ |
H A D | seq_midi.c | 372 pcallbacks.subscribe = midisynth_subscribe; in snd_seq_midisynth_probe()
|
H A D | seq_virmidi.c | 266 * subscribe callback - allow output to rawmidi device 384 pcallbacks.subscribe = snd_virmidi_subscribe; in snd_virmidi_dev_attach_seq()
|
H A D | seq_clientmgr.c | 1320 port->c_src.open = callback->subscribe; in snd_seq_ioctl_create_port()
|