Searched defs:state (Results 76 - 100 of 119) sorted by relevance

12345

/net/tipc/
H A Dlink.h108 * @state: current state of link FSM
110 * @fsm_msg_cnt: # of protocol messages link FSM has sent in current state
157 int state; member in struct:tipc_link
291 return l_ptr->state == WORKING_WORKING;
296 return l_ptr->state == WORKING_UNKNOWN;
301 return l_ptr->state == RESET_UNKNOWN;
306 return l_ptr->state == RESET_RESET;
H A Dsocket.c61 (sock->state == SS_DISCONNECTING))
161 socket_state state; local
172 state = SS_UNCONNECTED;
176 state = SS_UNCONNECTED;
181 state = SS_READY;
202 sock->state = state;
213 if (sock->state == SS_READY) {
259 while (sock->state != SS_DISCONNECTING) {
266 if ((sock->state
[all...]
/net/wireless/
H A Dcore.c889 unsigned long state,
904 switch (state) {
888 cfg80211_netdev_notifier_call(struct notifier_block *nb, unsigned long state, void *ndev) argument
/net/bridge/
H A Dbr_multicast.c289 hlist_unhashed(&pg->mglist) || pg->state & MDB_PERMANENT)
633 unsigned char state)
643 p->state = state;
663 (port && port->state == BR_STATE_DISABLED))
827 if (port->state == BR_STATE_DISABLED ||
828 port->state == BR_STATE_BLOCKING)
1097 (port && port->state == BR_STATE_DISABLED))
1174 (port && port->state == BR_STATE_DISABLED))
1241 (port && port->state
629 br_multicast_new_port_group( struct net_bridge_port *port, struct br_ip *group, struct net_bridge_port_group __rcu *next, unsigned char state) argument
[all...]
H A Dbr_private.h103 unsigned char state; member in struct:net_bridge_port_group
136 u8 state; member in struct:net_bridge_port
474 unsigned char state);
/net/ipv4/
H A Darp.c64 * Alexey Kuznetsov: new arp state machine;
267 They should be moved to more reasonable state, now
907 int state = NUD_REACHABLE; local
922 state = NUD_STALE;
923 neigh_update(n, sha, state,
1066 unsigned int state = NUD_STALE; local
1068 state = NUD_PERMANENT;
1070 r->arp_ha.sa_data : NULL, state,
1378 struct neigh_seq_state *state = seq->private; local
1380 if (state
[all...]
H A Dfib_semantics.c432 int state = NUD_NONE; local
436 state = n->nud_state;
439 if (state == NUD_REACHABLE)
441 if ((state & NUD_VALID) && order != dflt)
443 if ((state & NUD_VALID) ||
H A Dping.c1016 struct ping_iter_state *state = seq->private; local
1019 for (state->bucket = start; state->bucket < PING_HTABLE_SIZE;
1020 ++state->bucket) {
1024 hslot = &ping_table.hash[state->bucket];
1041 struct ping_iter_state *state = seq->private; local
1049 return ping_get_first(seq, state->bucket + 1);
1065 struct ping_iter_state *state = seq->private; local
1066 state->bucket = 0;
1120 struct ping_iter_state *state local
[all...]
H A Draw.c912 struct raw_iter_state *state = raw_seq_private(seq); local
914 for (state->bucket = 0; state->bucket < RAW_HTABLE_SIZE;
915 ++state->bucket) {
916 sk_for_each(sk, &state->h->ht[state->bucket])
927 struct raw_iter_state *state = raw_seq_private(seq); local
935 if (!sk && ++state->bucket < RAW_HTABLE_SIZE) {
936 sk = sk_head(&state->h->ht[state
954 struct raw_iter_state *state = raw_seq_private(seq); local
976 struct raw_iter_state *state = raw_seq_private(seq); local
[all...]
H A Dcipso_ipv4.c141 * @state: if non-zero, look for a set (1) bit else look for a cleared (0) bit
151 u8 state)
165 if ((state && (byte & bitmask) == bitmask) ||
166 (state == 0 && (byte & bitmask) == 0))
184 * @state: if non-zero, set the bit (1) else clear the bit (0)
192 u8 state)
200 if (state)
148 cipso_v4_bitmap_walk(const unsigned char *bitmap, u32 bitmap_len, u32 offset, u8 state) argument
190 cipso_v4_bitmap_setbit(unsigned char *bitmap, u32 bit, u8 state) argument
H A Dfib_trie.c718 * don't get into an inconsistent state if memory allocation
852 * don't get into an inconsistent state if memory allocation
1253 u8 state; local
1270 state = fa->fa_state;
1271 new_fa->fa_state = state & ~FA_S_ACCESSED;
1277 if (state & FA_S_ACCESSED)
1527 * state, and in that case verify that the skipped
1538 * state.directly.
/net/mac80211/
H A Diface.c617 set_bit(SDATA_STATE_RUNNING, &sdata->state);
701 clear_bit(SDATA_STATE_RUNNING, &sdata->state);
731 clear_bit(SDATA_STATE_RUNNING, &sdata->state);
906 * XXX: what about WoWLAN? If the device has software state, e.g.
1398 /* Purge and reset type-dependent state. */
1702 if (WARN_ON_ONCE(!test_bit(SDATA_STATE_RUNNING, &sdata->state)))
1750 unsigned long state,
1756 if (state != NETDEV_CHANGENAME)
1749 netdev_notify(struct notifier_block *nb, unsigned long state, void *ndev) argument
H A Dsta_info.h115 * @state: session state (see above)
127 * only if, the state has the flag %HT_AGG_STATE_OPERATIONAL
129 * and re-check the state, see comments in the tx code
137 unsigned long state; member in struct:tid_ampdu_tx
248 * when it leaves power saving state or polls
251 * entered power saving state, these are also delivered to
274 * @ampdu_mlme: A-MPDU state machine state
278 * @reason: Cancel reason on PLINK_HOLDING state
[all...]
/net/netfilter/
H A Dnf_conntrack_proto_tcp.c110 * The TCP state transition table needs a few words...
119 * try to guess the state of the current sender.
123 * NONE: initial state
152 * sES -> sIG Error: SYNs in window outside the SYN_SENT state
180 * sSS -> sIV Client migth not send FIN in this state:
189 * sLA -> sLA Retransmitted FIN. Remain in the same state.
199 * sSR -> sES Established state is reached.
204 * sTW -> sTW Retransmitted last ACK. Remain in the same state.
243 * sSS -> sIV Server might not send FIN in this state.
314 enum tcp_conntrack state; local
381 tcp_options(const struct sk_buff *skb, unsigned int dataoff, const struct tcphdr *tcph, struct ip_ct_tcp_state *state) argument
513 tcp_in_window(const struct nf_conn *ct, struct ip_ct_tcp *state, enum ip_conntrack_dir dir, unsigned int index, const struct sk_buff *skb, unsigned int dataoff, const struct tcphdr *tcph, u_int8_t pf) argument
[all...]
/net/rfkill/
H A Dcore.c57 unsigned long state; member in struct:rfkill
119 "Default initial state for all radio types, 0 = radio off");
138 if (rfkill->state & RFKILL_BLOCK_ANY)
204 ev->hard = !!(rfkill->state & RFKILL_BLOCK_HW);
205 ev->soft = !!(rfkill->state & (RFKILL_BLOCK_SW |
247 prev = !!(rfkill->state & RFKILL_BLOCK_HW);
249 rfkill->state |= RFKILL_BLOCK_HW;
251 rfkill->state &= ~RFKILL_BLOCK_HW;
253 any = !!(rfkill->state & RFKILL_BLOCK_ANY);
265 * @blocked: the new software state
664 unsigned long state; local
684 user_state_from_blocked(unsigned long state) argument
708 unsigned long state; local
766 u32 state; local
807 rfkill_suspend(struct device *dev, pm_message_t state) argument
846 u32 state; local
[all...]
/net/sched/
H A Dsch_netem.c58 "Gilbert-Elliot" model, a 4-state markov model.
113 /* state of the Markov chain */
114 u8 state; member in struct:netem_sched_data::clgstate
142 static void init_crandom(struct crndstate *state, unsigned long rho) argument
144 state->rho = rho;
145 state->last = net_random();
152 static u32 get_crandom(struct crndstate *state) argument
157 if (state->rho == 0) /* no correlation */
161 rho = (u64)state->rho + 1;
162 answer = (value * ((1ull<<32) - rho) + state
287 tabledist(psched_tdiff_t mu, psched_tdiff_t sigma, struct crndstate *state, const struct disttable *dist) argument
[all...]
/net/sunrpc/auth_gss/
H A Dgss_rpc_xdr.h112 gssx_buffer state; member in struct:gssx_ctx
/net/sunrpc/xprtrdma/
H A Dxprt_rdma.h95 * struct rpcrdma_rep -- this structure encapsulates state required to recv
97 * state:
101 * o bookkeeping state to get run by tasklet (list, etc)
167 enum { FRMR_IS_INVALID, FRMR_IS_VALID } state; member in struct:rpcrdma_mr_seg::__anon165::rpcrdma_mw::__anon166::__anon167
/net/atm/
H A Dlec.c832 static void *lec_tbl_walk(struct lec_state *state, struct hlist_head *tbl, argument
835 struct hlist_node *e = state->node;
851 state->node = e;
853 return (*l < 0) ? state : NULL;
856 static void *lec_arp_walk(struct lec_state *state, loff_t *l, argument
862 for (p = state->arp_table; p < LEC_ARP_TABLE_SIZE; p++) {
863 v = lec_tbl_walk(state, &priv->lec_arp_tables[p], l);
867 state->arp_table = p;
871 static void *lec_misc_walk(struct lec_state *state, loff_t *l, argument
882 for (q = state
891 lec_priv_walk(struct lec_state *state, loff_t *l, struct lec_priv *priv) argument
907 lec_itf_walk(struct lec_state *state, loff_t *l) argument
924 lec_get_idx(struct lec_state *state, loff_t l) argument
938 struct lec_state *state = seq->private; local
952 struct lec_state *state = seq->private; local
963 struct lec_state *state = seq->private; local
980 struct lec_state *state = seq->private; local
[all...]
/net/bluetooth/
H A Dhci_core.c718 switch (discov->state) {
728 void hci_discovery_set_state(struct hci_dev *hdev, int state) argument
730 BT_DBG("%s state %u -> %u", hdev->name, hdev->discovery.state, state);
732 if (hdev->discovery.state == state)
735 switch (state) {
737 if (hdev->discovery.state != DISCOVERY_STARTING)
751 hdev->discovery.state
800 hci_inquiry_cache_lookup_resolve(struct hci_dev *hdev, bdaddr_t *bdaddr, int state) argument
[all...]
/net/bluetooth/rfcomm/
H A Dcore.c185 BT_DBG("%p state %d", sk, sk->sk_state);
236 BT_DBG("session %p state %ld", s, s->state);
244 BT_DBG("session %p state %ld timeout %ld", s, s->state, timeout);
251 BT_DBG("session %p state %ld", s, s->state);
261 BT_DBG("dlc %p state %ld", d, d->state);
270 BT_DBG("dlc %p state
590 rfcomm_session_add(struct socket *sock, int state) argument
623 int state = s->state; local
[all...]
/net/bridge/netfilter/
H A Debtables.c1043 dangerous state. */
1850 static int ebt_buf_count(struct ebt_entries_buf_state *state, unsigned int sz) argument
1852 state->buf_kern_offset += sz;
1853 return state->buf_kern_offset >= sz ? 0 : -EINVAL;
1856 static int ebt_buf_add(struct ebt_entries_buf_state *state, argument
1859 if (state->buf_kern_start == NULL)
1862 BUG_ON(state->buf_kern_offset + sz > state->buf_kern_len);
1864 memcpy(state->buf_kern_start + state
1871 ebt_buf_add_pad(struct ebt_entries_buf_state *state, unsigned int sz) argument
1889 compat_mtw_from_user(struct compat_ebt_entry_mwt *mwt, enum compat_mwt compat_mwt, struct ebt_entries_buf_state *state, const unsigned char *base) argument
1963 ebt_size_mwt(struct compat_ebt_entry_mwt *match32, unsigned int size_left, enum compat_mwt type, struct ebt_entries_buf_state *state, const void *base) argument
2022 size_entry_mwt(struct ebt_entry *entry, const unsigned char *base, unsigned int *total, struct ebt_entries_buf_state *state) argument
2115 compat_copy_entries(unsigned char *data, unsigned int size_user, struct ebt_entries_buf_state *state) argument
2173 struct ebt_entries_buf_state state; local
[all...]
/net/core/
H A Dneighbour.c79 neigh->lock mainly serializes ll address data and its validity state.
173 printk("NEIGH: BUG, double timer add, state is %x\n",
232 it to safe state.
727 /* Neighbour state is suspicious;
739 /* Neighbour state is OK;
785 unsigned int state; local
789 state = n->nud_state;
790 if (state & (NUD_PERMANENT | NUD_IN_TIMER)) {
799 (state == NUD_FAILED ||
884 unsigned int state; local
2399 struct neigh_seq_state *state = seq->private; local
2440 struct neigh_seq_state *state = seq->private; local
2501 struct neigh_seq_state *state = seq->private; local
2524 struct neigh_seq_state *state = seq->private; local
2565 struct neigh_seq_state *state = seq->private; local
2579 struct neigh_seq_state *state = seq->private; local
2594 struct neigh_seq_state *state; local
[all...]
H A Dskbuff.c542 * Free an skbuff by memory without cleaning the state.
616 * Clean the state. This is an internal helper function. Users should
2472 /* Ready to "commit" this state change to tgt */
2514 * @st: state variable
2516 * Initializes the specified state variable. Must be called before
2534 * @st: state variable
2552 * at the moment, state->root_skb could be replaced with
2619 * @st: state variable
2631 #define TS_SKB_CB(state) ((struct skb_seq_state *) &((state)
2633 skb_ts_get_next_block(unsigned int offset, const u8 **text, struct ts_config *conf, struct ts_state *state) argument
2640 skb_ts_finish(struct ts_config *conf, struct ts_state *state) argument
2658 skb_find_text(struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config, struct ts_state *state) argument
[all...]
/net/decnet/
H A Daf_decnet.c493 scp->state = DN_O; /* Open */
574 switch (scp->state) {
578 scp->state = DN_CN;
584 scp->state = DN_DRC;
617 if (sk->sk_socket->state != SS_UNCONNECTED)
618 sk->sk_socket->state = SS_DISCONNECTING;
623 switch (scp->state) {
631 scp->state = DN_DR;
634 scp->state = DN_DI;
651 printk(KERN_DEBUG "DECnet: dn_destroy_sock passed socket in invalid state\
2120 struct dn_iter_state *state = seq->private; local
2137 struct dn_iter_state *state = seq->private; local
2222 dn_state2asc(unsigned char state) argument
[all...]

Completed in 1016 milliseconds

12345