Searched defs:state (Results 1 - 25 of 119) sorted by relevance

12345

/net/irda/irlan/
H A Dirlan_event.c41 void irlan_next_client_state(struct irlan_cb *self, IRLAN_STATE state) argument
43 IRDA_DEBUG(2, "%s(), %s\n", __func__ , irlan_state[state]);
48 self->client.state = state;
51 void irlan_next_provider_state(struct irlan_cb *self, IRLAN_STATE state) argument
53 IRDA_DEBUG(2, "%s(), %s\n", __func__ , irlan_state[state]);
58 self->provider.state = state;
H A Dirlan_provider_event.c5 * Description: IrLAN provider state machine)
42 static int (*state[])(struct irlan_cb *self, IRLAN_EVENT event, variable
61 IRDA_ASSERT(*state[ self->provider.state] != NULL, return;);
63 (*state[self->provider.state]) (self, event, skb);
115 if (self->client.state == IRLAN_IDLE) {
123 /* Keep state */
128 /* Keep state */
178 /* Keep state */
[all...]
H A Dirlan_client_event.c5 * Description: IrLAN client state machine
62 static int (*state[])(struct irlan_cb *, IRLAN_EVENT event, struct sk_buff *) = variable
83 (*state[ self->client.state]) (self, event, skb);
162 (self->provider.state != IRLAN_IDLE))
325 if (self->provider.state == IRLAN_OPEN) {
373 * provider OPEN state.
/net/wimax/
H A Dwimax-internal.h42 * function to check if the state is the right one.
44 * An error value will be returned if the state is not the right
51 if (wimax_dev->state == __WIMAX_ST_NULL)
53 if (wimax_dev->state == WIMAX_ST_DOWN)
55 if (wimax_dev->state == __WIMAX_ST_QUIESCING)
62 void __wimax_state_set(struct wimax_dev *wimax_dev, enum wimax_st state) argument
64 wimax_dev->state = state;
H A Dop-reset.c73 enum wimax_st state; local
79 state = wimax_dev->state;
82 if (state >= WIMAX_ST_DOWN) {
H A Dop-rfkill.c37 * initial state and then every time it changes. See wimax.h:struct
53 * wimax_report_rfkill_sw() Driver reports state change
56 * wimax_report_rfkill_hw() Driver reports state change
79 * @state: New state of the RF Kill switch. %WIMAX_RF_ON radio on,
82 * When the device detects a change in the state of thehardware RF
84 * know that the state has changed so it can be properly propagated.
86 * The WiMAX stack caches the state (the driver doesn't need to). As
88 * change the software state to mirror the hardware state
93 wimax_report_rfkill_hw(struct wimax_dev *wimax_dev, enum wimax_rf_state state) argument
149 wimax_report_rfkill_sw(struct wimax_dev *wimax_dev, enum wimax_rf_state state) argument
206 __wimax_rf_toggle_radio(struct wimax_dev *wimax_dev, enum wimax_rf_state state) argument
301 wimax_rfkill(struct wimax_dev *wimax_dev, enum wimax_rf_state state) argument
[all...]
H A Dstack.c31 * - device state machine [wimax_state_change()] and support to send
32 * reports to user space when the state changes
39 * [__]wimax_state_change() Called by drivers to update device's state
92 * Creates and fills a basic state change message; different code
193 printk(KERN_ERR "SW BUG! Forbidden state change %u -> %u\n",
200 * Set the current state of a WiMAX device [unlocking version of
206 enum wimax_st old_state = wimax_dev->state;
214 dev_err(dev, "SW BUG: requesting invalid state %u\n",
224 /* Verify the state transition and do exit-from-state action
378 enum wimax_st state; local
[all...]
/net/irda/ircomm/
H A Dircomm_event.c5 * Description: IrCOMM layer state machine
80 static int (*state[])(struct ircomm_cb *self, IRCOMM_EVENT event, variable
232 IRDA_DEBUG(4, "%s: state=%s, event=%s\n", __func__ ,
233 ircomm_state[self->state], ircomm_event[event]);
235 return (*state[self->state])(self, event, skb, info);
239 * Function ircomm_next_state (self, state)
241 * Switch state
244 void ircomm_next_state(struct ircomm_cb *self, IRCOMM_STATE state) argument
246 self->state
[all...]
/net/mac80211/
H A Dpm.c92 enum ieee80211_sta_state state; local
94 state = sta->sta_state;
95 for (; state > IEEE80211_STA_NOTEXIST; state--)
97 state, state - 1));
/net/netfilter/
H A Dxt_string.c29 struct ts_state state; local
32 memset(&state, 0, sizeof(struct ts_state));
36 conf->to_offset, conf->config, &state)
/net/dccp/
H A Dminisocks.c46 void dccp_time_wait(struct sock *sk, int state, int timeo) argument
51 tw = inet_twsk_alloc(sk, state);
76 if (state == DCCP_TIME_WAIT)
98 * Step 3: Process LISTEN state
120 * Step 3: Process LISTEN state
235 const int state = child->sk_state; local
242 if (state == DCCP_RESPOND && child->sk_state != state)
262 DCCP_BUG("DCCP-ACK packets are never sent in LISTEN/RESPOND state");
H A Dfeat.h40 FEAT_UNSTABLE, /* local modification in state CHANGING */
61 * @state: feature's current state
71 enum dccp_feat_state state:8; member in struct:dccp_feat_entry
/net/sched/
H A Dem_text.c37 struct ts_state state; local
45 return skb_find_text(skb, from, to, tm->config, &state) != UINT_MAX;
/net/wireless/
H A Dsysfs.c94 static int wiphy_suspend(struct device *dev, pm_message_t state) argument
/net/ceph/
H A Ddebugfs.c24 * .../monc - mon client state
76 int state = client->osdc.osdmap->osd_state[i]; local
82 ceph_osdmap_state_str(sb, sizeof(sb), state));
/net/irda/
H A Diriap_event.c96 void iriap_next_client_state(struct iriap_cb *self, IRIAP_STATE state) argument
101 self->client_state = state;
104 void iriap_next_call_state(struct iriap_cb *self, IRIAP_STATE state) argument
109 self->call_state = state;
112 void iriap_next_server_state(struct iriap_cb *self, IRIAP_STATE state) argument
117 self->server_state = state;
120 void iriap_next_r_connect_state(struct iriap_cb *self, IRIAP_STATE state) argument
125 self->r_connect_state = state;
231 * device. Whenever the LSAP connection is disconnected, this state
476 * Since we don't implement the Waiting state, w
[all...]
H A Dirlap_event.c5 * Description: IrLAP state machine implementation
142 static int (*state[])(struct irlap_cb *self, IRLAP_EVENT event, variable
181 * Make sure that state is XMIT_P/XMIT_S when calling this function
182 * (and that nobody messed up with the state). - Jean II
234 * Rushes through the state machine without any delay. If state == XMIT
245 IRDA_DEBUG(3, "%s(), event = %s, state = %s\n", __func__,
246 irlap_event[event], irlap_state[self->state]);
248 ret = (*state[self->state])(sel
[all...]
H A Dirlmp_event.c120 IRLMP_STATE state)
123 IRDA_DEBUG(4, "%s(), LMP LAP = %s\n", __func__, irlmp_state[state]);
125 self->lap_state = state;
129 LSAP_STATE state)
133 IRDA_DEBUG(4, "%s(), LMP LSAP = %s\n", __func__, irlsap_state[state]);
135 self->lsap_state = state;
269 /* It's important to switch state first, to avoid IrLMP to
313 /* It's important to switch state first, to avoid IrLMP to
327 * forever in LAP_ACTIVE state - Jean II */
345 * forever in LAP_ACTIVE state
119 irlmp_next_lap_state(struct lap_cb *self, IRLMP_STATE state) argument
128 irlmp_next_lsap_state(struct lsap_cb *self, LSAP_STATE state) argument
[all...]
/net/rxrpc/
H A Dar-connevent.c28 static void rxrpc_abort_calls(struct rxrpc_connection *conn, int state, argument
41 if (call->state <= RXRPC_CALL_COMPLETE) {
42 call->state = state;
44 if (state == RXRPC_CALL_LOCALLY_ABORTED)
74 if (conn->state < RXRPC_CONN_REMOTELY_ABORTED) {
75 conn->state = RXRPC_CONN_LOCALLY_ABORTED;
134 if (call->state < RXRPC_CALL_COMPLETE &&
153 if (conn->state >= RXRPC_CONN_REMOTELY_ABORTED) {
154 kleave(" = -ECONNABORTED [%u]", conn->state);
[all...]
/net/802/
H A Dgarp.c30 u8 state; member in struct:garp_state_trans
34 [GARP_EVENT_TRANSMIT_PDU] = { .state = GARP_APPLICANT_AA,
36 [GARP_EVENT_R_JOIN_IN] = { .state = GARP_APPLICANT_AA },
37 [GARP_EVENT_R_JOIN_EMPTY] = { .state = GARP_APPLICANT_VA },
38 [GARP_EVENT_R_EMPTY] = { .state = GARP_APPLICANT_VA },
39 [GARP_EVENT_R_LEAVE_IN] = { .state = GARP_APPLICANT_VA },
40 [GARP_EVENT_R_LEAVE_EMPTY] = { .state = GARP_APPLICANT_VP },
41 [GARP_EVENT_REQ_JOIN] = { .state = GARP_APPLICANT_INVALID },
42 [GARP_EVENT_REQ_LEAVE] = { .state = GARP_APPLICANT_LA },
45 [GARP_EVENT_TRANSMIT_PDU] = { .state
316 enum garp_applicant_state state; local
[all...]
/net/atm/
H A Dmpoa_proc.c68 * Returns the state of an ingress cache entry as a string
70 static const char *ingress_state_string(int state) argument
72 switch (state) {
87 * Returns the state of an egress cache entry as a string
89 static const char *egress_state_string(int state) argument
91 switch (state) {
/net/bluetooth/cmtp/
H A Dcmtp.h52 __u16 state; member in struct:cmtp_conninfo
77 unsigned long state; member in struct:cmtp_session
106 unsigned long state; member in struct:cmtp_application
/net/bridge/
H A Dbr_mdb.c85 e.state = p->state;
261 if (entry->state != MDB_PERMANENT && entry->state != MDB_TEMPORARY)
317 struct br_ip *group, unsigned char state)
343 p = br_multicast_new_port_group(port, group, *pp, state);
368 if (!p || p->br != br || p->state == BR_STATE_DISABLED)
380 ret = br_mdb_add_group(br, p, &ip, entry->state);
441 if (p->port->state == BR_STATE_DISABLED)
316 br_mdb_add_group(struct net_bridge *br, struct net_bridge_port *port, struct br_ip *group, unsigned char state) argument
H A Dbr_netlink.c53 if (nla_put_u8(skb, IFLA_BRPORT_STATE, p->state) ||
67 * Contains port and master info as well as carrier and bridge state.
286 /* Change the state of the port and notify spanning tree */
287 static int br_set_port_state(struct net_bridge_port *p, u8 state) argument
289 if (state > BR_STATE_BLOCKING)
297 * if link is not present, only allowable state is disabled
300 (!netif_oper_up(p->dev) && state != BR_STATE_DISABLED))
303 p->state = state;
352 /* Change state an
[all...]
/net/core/
H A Ddrop_monitor.c216 static int set_all_monitor_traces(int state) argument
224 if (state == trace_state) {
229 switch (state) {
265 trace_state = state;
410 * Because of the module_get/put we do in the trace state change path

Completed in 2672 milliseconds

12345