/linux-2.4.37.9/net/sctp/ |
D | ulpevent.c | 51 static void sctp_ulpevent_receive_data(struct sctp_ulpevent *event, 53 static void sctp_ulpevent_release_data(struct sctp_ulpevent *event); 69 SCTP_STATIC void sctp_ulpevent_init(struct sctp_ulpevent *event, int msg_flags) in sctp_ulpevent_init() argument 71 memset(event, 0, sizeof(struct sctp_ulpevent)); in sctp_ulpevent_init() 72 event->msg_flags = msg_flags; in sctp_ulpevent_init() 79 struct sctp_ulpevent *event; in sctp_ulpevent_new() local 86 event = sctp_skb2event(skb); in sctp_ulpevent_new() 87 sctp_ulpevent_init(event, msg_flags); in sctp_ulpevent_new() 89 return event; in sctp_ulpevent_new() 96 int sctp_ulpevent_is_notification(const struct sctp_ulpevent *event) in sctp_ulpevent_is_notification() argument [all …]
|
D | ulpqueue.c | 79 struct sctp_ulpevent *event; in sctp_ulpq_flush() local 82 event = sctp_skb2event(skb); in sctp_ulpq_flush() 83 sctp_ulpevent_free(event); in sctp_ulpq_flush() 87 event = sctp_skb2event(skb); in sctp_ulpq_flush() 88 sctp_ulpevent_free(event); in sctp_ulpq_flush() 107 struct sctp_ulpevent *event; in sctp_ulpq_tail_data() local 112 event = sctp_ulpevent_make_rcvmsg(chunk->asoc, chunk, gfp); in sctp_ulpq_tail_data() 113 if (!event) in sctp_ulpq_tail_data() 117 event = sctp_ulpq_reasm(ulpq, event); in sctp_ulpq_tail_data() 120 if ((event) && (event->msg_flags & MSG_EOR)){ in sctp_ulpq_tail_data() [all …]
|
/linux-2.4.37.9/net/irda/ |
D | iriap_event.c | 31 static void state_s_disconnect (struct iriap_cb *self, IRIAP_EVENT event, 33 static void state_s_connecting (struct iriap_cb *self, IRIAP_EVENT event, 35 static void state_s_call (struct iriap_cb *self, IRIAP_EVENT event, 38 static void state_s_make_call (struct iriap_cb *self, IRIAP_EVENT event, 40 static void state_s_calling (struct iriap_cb *self, IRIAP_EVENT event, 42 static void state_s_outstanding (struct iriap_cb *self, IRIAP_EVENT event, 44 static void state_s_replying (struct iriap_cb *self, IRIAP_EVENT event, 46 static void state_s_wait_for_call(struct iriap_cb *self, IRIAP_EVENT event, 48 static void state_s_wait_active (struct iriap_cb *self, IRIAP_EVENT event, 51 static void state_r_disconnect (struct iriap_cb *self, IRIAP_EVENT event, [all …]
|
D | irlap_event.c | 49 static int irlap_state_ndm (struct irlap_cb *self, IRLAP_EVENT event, 51 static int irlap_state_query (struct irlap_cb *self, IRLAP_EVENT event, 53 static int irlap_state_reply (struct irlap_cb *self, IRLAP_EVENT event, 55 static int irlap_state_conn (struct irlap_cb *self, IRLAP_EVENT event, 57 static int irlap_state_setup (struct irlap_cb *self, IRLAP_EVENT event, 59 static int irlap_state_offline(struct irlap_cb *self, IRLAP_EVENT event, 61 static int irlap_state_xmit_p (struct irlap_cb *self, IRLAP_EVENT event, 63 static int irlap_state_pclose (struct irlap_cb *self, IRLAP_EVENT event, 65 static int irlap_state_nrm_p (struct irlap_cb *self, IRLAP_EVENT event, 67 static int irlap_state_reset_wait(struct irlap_cb *self, IRLAP_EVENT event, [all …]
|
D | irlmp_event.c | 140 int irlmp_do_lsap_event(struct lsap_cb *self, IRLMP_EVENT event, in irlmp_do_lsap_event() argument 147 __FUNCTION__, irlmp_event[event], irlsap_state[ self->lsap_state]); in irlmp_do_lsap_event() 149 return (*lsap_state[self->lsap_state]) (self, event, skb); in irlmp_do_lsap_event() 158 void irlmp_do_lap_event(struct lap_cb *self, IRLMP_EVENT event, in irlmp_do_lap_event() argument 165 __FUNCTION__, irlmp_event[event], in irlmp_do_lap_event() 168 (*lap_state[self->lap_state]) (self, event, skb); in irlmp_do_lap_event() 222 static void irlmp_state_standby(struct lap_cb *self, IRLMP_EVENT event, in irlmp_state_standby() argument 228 switch (event) { in irlmp_state_standby() 258 IRDA_DEBUG(0, "%s(), Unknown event %s\n", __FUNCTION__, irlmp_event[event]); in irlmp_state_standby() 272 static void irlmp_state_u_connect(struct lap_cb *self, IRLMP_EVENT event, in irlmp_state_u_connect() argument [all …]
|
/linux-2.4.37.9/net/irda/irlan/ |
D | irlan_client_event.c | 39 static int irlan_client_state_idle (struct irlan_cb *self, IRLAN_EVENT event, 41 static int irlan_client_state_query(struct irlan_cb *self, IRLAN_EVENT event, 43 static int irlan_client_state_conn (struct irlan_cb *self, IRLAN_EVENT event, 45 static int irlan_client_state_info (struct irlan_cb *self, IRLAN_EVENT event, 47 static int irlan_client_state_media(struct irlan_cb *self, IRLAN_EVENT event, 49 static int irlan_client_state_open (struct irlan_cb *self, IRLAN_EVENT event, 51 static int irlan_client_state_wait (struct irlan_cb *self, IRLAN_EVENT event, 53 static int irlan_client_state_arb (struct irlan_cb *self, IRLAN_EVENT event, 55 static int irlan_client_state_data (struct irlan_cb *self, IRLAN_EVENT event, 57 static int irlan_client_state_close(struct irlan_cb *self, IRLAN_EVENT event, [all …]
|
D | irlan_provider_event.c | 33 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVENT event, 35 static int irlan_provider_state_info(struct irlan_cb *self, IRLAN_EVENT event, 37 static int irlan_provider_state_open(struct irlan_cb *self, IRLAN_EVENT event, 39 static int irlan_provider_state_data(struct irlan_cb *self, IRLAN_EVENT event, 42 static int (*state[])(struct irlan_cb *self, IRLAN_EVENT event, 58 void irlan_do_provider_event(struct irlan_cb *self, IRLAN_EVENT event, in irlan_do_provider_event() argument 63 (*state[self->provider.state]) (self, event, skb); in irlan_do_provider_event() 72 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVENT event, in irlan_provider_state_idle() argument 79 switch(event) { in irlan_provider_state_idle() 85 IRDA_DEBUG(4, "%s(), Unknown event %d\n", __FUNCTION__, event); in irlan_provider_state_idle() [all …]
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | mf.c | 176 struct IoMFLpEvent event; member 241 hvRc = HvCallEvent_signalLpEvent(&head->event.xHvLpEvent); in signalEvent() 259 mySafeCast.ptrAsU64 = element->event.xHvLpEvent.xCorrelationToken; in signalEvent() 303 newElement->event.xHvLpEvent.xFlags.xValid = 1; in newStackElement() 304 newElement->event.xHvLpEvent.xFlags.xAckType = HvLpEvent_AckType_ImmediateAck; in newStackElement() 305 newElement->event.xHvLpEvent.xFlags.xAckInd = HvLpEvent_AckInd_DoAck; in newStackElement() 306 newElement->event.xHvLpEvent.xFlags.xFunction = HvLpEvent_Function_Int; in newStackElement() 307 newElement->event.xHvLpEvent.xType = HvLpEvent_Type_MachineFac; in newStackElement() 308 newElement->event.xHvLpEvent.xSourceLp = HvLpConfig_getLpIndex(); in newStackElement() 309 newElement->event.xHvLpEvent.xTargetLp = primaryLp; in newStackElement() [all …]
|
D | viopath.c | 89 static void handleMonitorEvent(struct HvLpEvent *event); 338 static void handleMonitorEvent(struct HvLpEvent *event) in handleMonitorEvent() argument 347 if (!event) in handleMonitorEvent() 353 if (event->xFlags.xFunction == HvLpEvent_Function_Int) { in handleMonitorEvent() 354 remoteLp = event->xSourceLp; in handleMonitorEvent() 363 remoteLp = event->xTargetLp; in handleMonitorEvent() 364 if ((event->xSourceInstanceId != in handleMonitorEvent() 366 || (event->xTargetInstanceId != in handleMonitorEvent() 415 static void handleConfig(struct HvLpEvent *event) in handleConfig() argument 417 if (!event) in handleConfig() [all …]
|
D | ItLpQueue.c | 86 void ItLpQueue_clearValid( struct HvLpEvent * event ) in ItLpQueue_clearValid() argument 92 unsigned extra = (( event->xSizeMinus1 + LpEventAlign ) / in ItLpQueue_clearValid() 96 ((struct HvLpEvent*)((char*)event+3*LpEventAlign))->xFlags.xValid=0; in ItLpQueue_clearValid() 98 ((struct HvLpEvent*)((char*)event+2*LpEventAlign))->xFlags.xValid=0; in ItLpQueue_clearValid() 100 ((struct HvLpEvent*)((char*)event+1*LpEventAlign))->xFlags.xValid=0; in ItLpQueue_clearValid() 105 event->xFlags.xValid = 0; in ItLpQueue_clearValid()
|
/linux-2.4.37.9/net/irda/ircomm/ |
D | ircomm_event.c | 44 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event, 46 static int ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event, 48 static int ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event, 50 static int ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event, 79 static int (*state[])(struct ircomm_cb *self, IRCOMM_EVENT event, 94 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event, in ircomm_state_idle() argument 99 switch (event) { in ircomm_state_idle() 111 ircomm_event[event]); in ircomm_state_idle() 125 static int ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event, in ircomm_state_waiti() argument 130 switch (event) { in ircomm_state_waiti() [all …]
|
D | ircomm_tty_attach.c | 58 IRCOMM_TTY_EVENT event, 62 IRCOMM_TTY_EVENT event, 66 IRCOMM_TTY_EVENT event, 70 IRCOMM_TTY_EVENT event, 74 IRCOMM_TTY_EVENT event, 78 IRCOMM_TTY_EVENT event, 109 static int (*state[])(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event, 598 IRCOMM_TTY_EVENT event, in ircomm_tty_state_idle() argument 605 ircomm_tty_state[self->state], ircomm_tty_event[event]); in ircomm_tty_state_idle() 606 switch (event) { in ircomm_tty_state_idle() [all …]
|
/linux-2.4.37.9/drivers/isdn/hisax/ |
D | fsm.c | 37 if ((fnlist[i].state>=fsm->state_count) || (fnlist[i].event>=fsm->event_count)) { in FsmNew() 40 (long)fnlist[i].event,(long)fsm->event_count); in FsmNew() 42 fsm->jumpmatrix[fsm->state_count * fnlist[i].event + in FsmNew() 54 FsmEvent(struct FsmInst *fi, int event, void *arg) in FsmEvent() argument 58 if ((fi->state>=fi->fsm->state_count) || (event >= fi->fsm->event_count)) { in FsmEvent() 60 (long)fi->state,(long)fi->fsm->state_count,event,(long)fi->fsm->event_count); in FsmEvent() 63 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state]; in FsmEvent() 68 fi->fsm->strEvent[event]); in FsmEvent() 69 r(fi, event, arg); in FsmEvent() 75 fi->fsm->strEvent[event]); in FsmEvent() [all …]
|
D | fsm.h | 39 int state, event; member 46 int event; member 52 int FsmEvent(struct FsmInst *fi, int event, void *arg); 55 int FsmAddTimer(struct FsmTimer *ft, int millisec, int event, 57 void FsmRestartTimer(struct FsmTimer *ft, int millisec, int event,
|
D | st5481_d.c | 64 l1_go_f3(struct FsmInst *fi, int event, void *arg) in l1_go_f3() argument 76 l1_go_f6(struct FsmInst *fi, int event, void *arg) in l1_go_f6() argument 87 l1_go_f7(struct FsmInst *fi, int event, void *arg) in l1_go_f7() argument 98 l1_go_f8(struct FsmInst *fi, int event, void *arg) in l1_go_f8() argument 109 l1_timer3(struct FsmInst *fi, int event, void *arg) in l1_timer3() argument 119 l1_ignore(struct FsmInst *fi, int event, void *arg) in l1_ignore() argument 124 l1_activate(struct FsmInst *fi, int event, void *arg) in l1_activate() argument 402 static void dout_start_xmit(struct FsmInst *fsm, int event, void *arg) in dout_start_xmit() argument 456 static void dout_short_fifo(struct FsmInst *fsm, int event, void *arg) in dout_short_fifo() argument 465 static void dout_end_short_frame(struct FsmInst *fsm, int event, void *arg) in dout_end_short_frame() argument [all …]
|
/linux-2.4.37.9/drivers/s390/net/ |
D | fsm.h | 58 int event; member 127 fsm_record_history(fsm_instance *fi, int state, int event); 144 fsm_event(fsm_instance *fi, int event, void *arg) in fsm_event() argument 150 (event >= fi->f->nr_events) ) { in fsm_event() 152 fi->name, (long)state,(long)fi->f->nr_states, event, in fsm_event() 159 r = fi->f->jumpmatrix[fi->f->nr_states * event + state]; in fsm_event() 164 fi->f->event_names[event]); in fsm_event() 167 fsm_record_history(fi, state, event); in fsm_event() 169 r(fi, event, arg); in fsm_event() 174 fi->name, fi->f->event_names[event], in fsm_event() [all …]
|
/linux-2.4.37.9/drivers/net/skfp/ |
D | queue.c | 43 void queue_event(smc,class,event) in queue_event() argument 46 int event ; 48 PRINTF("queue class %d event %d\n",class,event) ; 50 smc->q.ev_put->event = event ; 88 PRINTF("dispatch class %d event %d\n",ev->class,ev->event) ; 91 ecm(smc,(int)ev->event) ; 94 cfm(smc,(int)ev->event) ; 97 rmt(smc,(int)ev->event) ; 100 smt_event(smc,(int)ev->event) ; 104 timer_test_event(smc,(int)ev->event) ; [all …]
|
/linux-2.4.37.9/drivers/acpi/events/ |
D | evxfevnt.c | 161 u32 event, in acpi_enable_event() argument 173 if (event > ACPI_EVENT_MAX) { in acpi_enable_event() 181 status = acpi_set_register (acpi_gbl_fixed_event_info[event].enable_register_id, in acpi_enable_event() 189 status = acpi_get_register (acpi_gbl_fixed_event_info[event].enable_register_id, in acpi_enable_event() 197 "Could not enable %s event\n", acpi_ut_get_event_name (event))); in acpi_enable_event() 297 u32 event, in acpi_disable_event() argument 309 if (event > ACPI_EVENT_MAX) { in acpi_disable_event() 317 status = acpi_set_register (acpi_gbl_fixed_event_info[event].enable_register_id, in acpi_disable_event() 323 status = acpi_get_register (acpi_gbl_fixed_event_info[event].enable_register_id, in acpi_disable_event() 331 "Could not disable %s events\n", acpi_ut_get_event_name (event))); in acpi_disable_event() [all …]
|
D | evxface.c | 72 u32 event, in acpi_install_fixed_event_handler() argument 84 if (event > ACPI_EVENT_MAX) { in acpi_install_fixed_event_handler() 95 if (NULL != acpi_gbl_fixed_event_handlers[event].handler) { in acpi_install_fixed_event_handler() 102 acpi_gbl_fixed_event_handlers[event].handler = handler; in acpi_install_fixed_event_handler() 103 acpi_gbl_fixed_event_handlers[event].context = context; in acpi_install_fixed_event_handler() 105 status = acpi_enable_event (event, 0); in acpi_install_fixed_event_handler() 111 acpi_gbl_fixed_event_handlers[event].handler = NULL; in acpi_install_fixed_event_handler() 112 acpi_gbl_fixed_event_handlers[event].context = NULL; in acpi_install_fixed_event_handler() 116 "Enabled fixed event %X, Handler=%p\n", event, handler)); in acpi_install_fixed_event_handler() 141 u32 event, in acpi_remove_fixed_event_handler() argument [all …]
|
D | evevent.c | 264 u32 event) in acpi_ev_fixed_event_dispatch() argument 273 (void) acpi_set_register (acpi_gbl_fixed_event_info[event].status_register_id, in acpi_ev_fixed_event_dispatch() 280 if (NULL == acpi_gbl_fixed_event_handlers[event].handler) { in acpi_ev_fixed_event_dispatch() 281 (void) acpi_set_register (acpi_gbl_fixed_event_info[event].enable_register_id, in acpi_ev_fixed_event_dispatch() 286 event)); in acpi_ev_fixed_event_dispatch() 293 return ((acpi_gbl_fixed_event_handlers[event].handler)( in acpi_ev_fixed_event_dispatch() 294 acpi_gbl_fixed_event_handlers[event].context)); in acpi_ev_fixed_event_dispatch()
|
/linux-2.4.37.9/include/linux/ |
D | dnotify.h | 20 static inline void inode_dir_notify(struct inode *inode, unsigned long event) in inode_dir_notify() argument 22 if ((inode)->i_dnotify_mask & (event)) in inode_dir_notify() 23 __inode_dir_notify(inode, event); in inode_dir_notify() 30 static inline void dnotify_parent(struct dentry *dentry, unsigned long event) in dnotify_parent() argument 35 if (parent->d_inode->i_dnotify_mask & event) { in dnotify_parent() 38 __inode_dir_notify(parent->d_inode, event); in dnotify_parent()
|
/linux-2.4.37.9/drivers/input/ |
D | joydev.c | 116 struct js_event event; in joydev_event() local 122 event.type = JS_EVENT_BUTTON; in joydev_event() 123 event.number = joydev->keymap[code - BTN_MISC]; in joydev_event() 124 event.value = value; in joydev_event() 128 event.type = JS_EVENT_AXIS; in joydev_event() 129 event.number = joydev->absmap[code]; in joydev_event() 130 event.value = joydev_correct(value, joydev->corr + event.number); in joydev_event() 131 if (event.value == joydev->abs[event.number]) return; in joydev_event() 132 joydev->abs[event.number] = event.value; in joydev_event() 139 event.time = MSECS(jiffies); in joydev_event() [all …]
|
/linux-2.4.37.9/net/irda/irnet/ |
D | irnet_ppp.c | 183 char * event) in irnet_read_discovery_log() argument 188 (unsigned int) ap, (unsigned int) event); in irnet_read_discovery_log() 216 sprintf(event, "Found %08x (%s) behind %08x\n", in irnet_read_discovery_log() 259 char event[64]; /* Max event is 61 char */ in irnet_ctrl_read() local 265 DABORT(count < sizeof(event), -EOVERFLOW, CTRL_ERROR, "Buffer to small.\n"); in irnet_ctrl_read() 269 if(irnet_read_discovery_log(ap, event)) in irnet_ctrl_read() 272 if(copy_to_user(buf, event, strlen(event))) in irnet_ctrl_read() 279 return(strlen(event)); in irnet_ctrl_read() 313 switch(irnet_events.log[ap->event_index].event) in irnet_ctrl_read() 316 sprintf(event, "Discovered %08x (%s) behind %08x\n", in irnet_ctrl_read() [all …]
|
/linux-2.4.37.9/drivers/macintosh/ |
D | apm_emu.c | 139 static void queue_event(apm_event_t event, struct apm_user *sender) in queue_event() argument 143 DBG("apm_emu: queue_event(%s)\n", apm_event_name[event-1]); in queue_event() 157 as->events[as->event_head] = event; in queue_event() 160 switch (event) { in queue_event() 187 apm_event_t event; in do_read() local 209 while ((i >= sizeof(event)) && !queue_empty(as)) { in do_read() 210 event = get_queued_event(as); in do_read() 211 DBG("apm_emu: do_read, returning: %s\n", apm_event_name[event-1]); in do_read() 212 if (copy_to_user(buf, &event, sizeof(event))) { in do_read() 217 switch (event) { in do_read() [all …]
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_dmapi.h | 83 #define DM_EVENT_ENABLED(vfsp, ip, event) ( \ argument 85 ( ((ip)->i_d.di_dmevmask & (1 << event)) || \ 86 ((ip)->i_mount->m_dmevmask & (1 << event)) ) \ 89 #define DM_EVENT_ENABLED_IO(vfsp, io, event) ( \ argument 91 ( ((io)->io_dmevmask & (1 << event)) || \ 92 ((io)->io_mount->m_dmevmask & (1 << event)) ) \
|