Searched defs:flags (Results 101 - 125 of 317) sorted by relevance

1234567891011>>

/net/rds/
H A Dconnection.c127 unsigned long flags; local
216 spin_lock_irqsave(&rds_conn_lock, flags);
243 spin_unlock_irqrestore(&rds_conn_lock, flags);
329 unsigned long flags; local
372 spin_lock_irqsave(&rds_conn_lock, flags);
374 spin_unlock_irqrestore(&rds_conn_lock, flags);
388 unsigned long flags; local
403 spin_lock_irqsave(&conn->c_lock, flags);
414 spin_unlock_irqrestore(&conn->c_lock, flags);
487 cinfo->flags
[all...]
H A Dib.c82 unsigned long flags; local
84 spin_lock_irqsave(&rds_ibdev->spinlock, flags);
87 spin_unlock_irqrestore(&rds_ibdev->spinlock, flags);
H A Dib_cm.c747 unsigned long flags; local
780 spin_lock_irqsave(&ib_nodev_conns_lock, flags);
782 spin_unlock_irqrestore(&ib_nodev_conns_lock, flags);
H A Diw_cm.c694 unsigned long flags; local
719 spin_lock_irqsave(&iw_nodev_conns_lock, flags);
721 spin_unlock_irqrestore(&iw_nodev_conns_lock, flags);
H A Drecv.c162 unsigned long flags; local
168 "flags 0x%x rx_jiffies %lu\n", conn,
224 write_lock_irqsave(&rs->rs_recv_lock, flags);
237 write_unlock_irqrestore(&rs->rs_recv_lock, flags);
251 unsigned long flags; local
254 read_lock_irqsave(&rs->rs_recv_lock, flags);
261 read_unlock_irqrestore(&rs->rs_recv_lock, flags);
272 unsigned long flags; local
274 write_lock_irqsave(&rs->rs_recv_lock, flags);
286 write_unlock_irqrestore(&rs->rs_recv_lock, flags);
301 unsigned long flags; local
366 unsigned long flags; local
508 unsigned long flags; local
[all...]
H A Dsend.c67 unsigned long flags; local
93 spin_lock_irqsave(&conn->c_lock, flags);
99 spin_unlock_irqrestore(&conn->c_lock, flags);
138 unsigned long flags; local
205 spin_lock_irqsave(&conn->c_lock, flags);
220 spin_unlock_irqrestore(&conn->c_lock, flags);
234 spin_lock_irqsave(&conn->c_lock, flags);
237 spin_unlock_irqrestore(&conn->c_lock, flags);
427 unsigned long flags; local
429 spin_lock_irqsave(&rm->m_rs_lock, flags);
463 unsigned long flags; local
528 unsigned long flags; local
565 unsigned long flags; local
649 unsigned long flags; local
677 unsigned long flags; local
758 unsigned long flags; local
1095 unsigned long flags; local
[all...]
/net/rfkill/
H A Dinput.c158 unsigned long flags; local
160 spin_lock_irqsave(&rfkill_op_lock, flags);
169 spin_unlock_irqrestore(&rfkill_op_lock, flags);
174 unsigned long flags; local
179 spin_lock_irqsave(&rfkill_op_lock, flags);
185 spin_unlock_irqrestore(&rfkill_op_lock, flags);
279 .flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT,
284 .flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT,
289 .flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT,
294 .flags
[all...]
/net/sched/
H A Dsch_red.c41 unsigned char flags; member in struct:red_sched_data
51 return q->flags & TC_RED_ECN;
56 return q->flags & TC_RED_HARDDROP;
210 q->flags = ctl->flags;
226 if (ctl->flags & TC_RED_ADAPTATIVE)
263 .flags = q->flags,
H A Dsch_teql.c194 if (m->dev->flags & IFF_UP) {
195 if ((m->dev->flags & IFF_POINTOPOINT &&
196 !(dev->flags & IFF_POINTOPOINT)) ||
197 (m->dev->flags & IFF_BROADCAST &&
198 !(dev->flags & IFF_BROADCAST)) ||
199 (m->dev->flags & IFF_MULTICAST &&
200 !(dev->flags & IFF_MULTICAST)) ||
204 if (!(dev->flags&IFF_POINTOPOINT))
205 m->dev->flags &= ~IFF_POINTOPOINT;
206 if (!(dev->flags
368 unsigned int flags = IFF_NOARP | IFF_MULTICAST; local
[all...]
/net/sctp/
H A Dbind_addr.c50 int flags);
61 int flags)
72 gfp, flags);
85 flags);
440 int flags)
445 error = sctp_copy_local_addr_list(net, dest, scope, gfp, flags);
452 (flags & SCTP_ADDR4_PEERSUPP))) ||
454 (flags & SCTP_ADDR6_ALLOWED) &&
455 (flags & SCTP_ADDR6_PEERSUPP))))
58 sctp_bind_addr_copy(struct net *net, struct sctp_bind_addr *dest, const struct sctp_bind_addr *src, sctp_scope_t scope, gfp_t gfp, int flags) argument
437 sctp_copy_one_addr(struct net *net, struct sctp_bind_addr *dest, union sctp_addr *addr, sctp_scope_t scope, gfp_t gfp, int flags) argument
/net/tipc/
H A Dnode.c555 int flags = node->action_flags; local
558 if (likely(!flags)) {
567 if (flags & TIPC_WAKEUP_USERS)
570 if (flags & TIPC_NOTIFY_NODE_DOWN) {
590 if (flags & TIPC_WAKEUP_BCAST_USERS)
593 if (flags & TIPC_NOTIFY_NODE_UP)
596 if (flags & TIPC_NOTIFY_LINK_UP)
600 if (flags & TIPC_NOTIFY_LINK_DOWN)
H A Dserver.c52 * @flags: indicates connection state
66 unsigned long flags; member in struct:tipc_conn
128 if (con && test_bit(CF_CONNECTED, &con->flags)) {
142 if (con && test_bit(CF_CONNECTED, &con->flags)) {
178 if (test_and_clear_bit(CF_CONNECTED, &con->flags)) {
227 set_bit(CF_CONNECTED, &con->flags);
430 if (test_bit(CF_CONNECTED, &con->flags)) {
505 while (test_bit(CF_CONNECTED, &con->flags)) {
522 if (test_bit(CF_CONNECTED, &con->flags))
/net/unix/
H A Ddiag.c113 u32 portid, u32 seq, u32 flags, int sk_ino)
119 flags);
166 u32 portid, u32 seq, u32 flags)
177 return sk_diag_fill(sk, skb, req, portid, seq, flags, sk_ino);
112 sk_diag_fill(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, u32 portid, u32 seq, u32 flags, int sk_ino) argument
165 sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, u32 portid, u32 seq, u32 flags) argument
/net/wireless/
H A Dibss.c63 unsigned long flags; local
78 spin_lock_irqsave(&wdev->event_lock, flags);
80 spin_unlock_irqrestore(&wdev->event_lock, flags);
112 if (sband->bitrates[j].flags & flag)
261 if (chan->flags & IEEE80211_CHAN_NO_IR)
263 if (chan->flags & IEEE80211_CHAN_DISABLED)
333 if (chan->flags & IEEE80211_CHAN_NO_IR ||
334 chan->flags & IEEE80211_CHAN_DISABLED)
444 data->flags = 0;
448 data->flags
[all...]
/net/9p/
H A Dtrans_virtio.c149 unsigned long flags; local
154 spin_lock_irqsave(&chan->lock, flags);
157 spin_unlock_irqrestore(&chan->lock, flags);
161 spin_unlock_irqrestore(&chan->lock, flags);
267 unsigned long flags; local
275 spin_lock_irqsave(&chan->lock, flags);
294 spin_unlock_irqrestore(&chan->lock, flags);
303 spin_unlock_irqrestore(&chan->lock, flags);
310 spin_unlock_irqrestore(&chan->lock, flags);
371 unsigned long flags; local
[all...]
/net/bluetooth/
H A Da2mp.h38 unsigned long flags; member in struct:amp_mgr
H A Daf_bluetooth.c224 test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) {
241 struct msghdr *msg, size_t len, int flags)
243 int noblock = flags & MSG_DONTWAIT;
251 if (flags & (MSG_OOB))
254 skb = skb_recv_datagram(sk, flags, noblock, &err);
301 set_bit(SOCK_ASYNC_WAITDATA, &sk->sk_socket->flags);
305 clear_bit(SOCK_ASYNC_WAITDATA, &sk->sk_socket->flags);
314 struct msghdr *msg, size_t size, int flags)
321 if (flags & MSG_OOB)
328 target = sock_rcvlowat(sk, flags
240 bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int flags) argument
313 bt_sock_stream_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t size, int flags) argument
562 bt_sock_wait_ready(struct sock *sk, unsigned long flags) argument
[all...]
/net/bluetooth/bnep/
H A Dbnep.h117 __u32 flags; member in struct:bnep_connadd_req
123 __u32 flags; member in struct:bnep_conndel_req
128 __u32 flags; member in struct:bnep_conninfo
156 unsigned long flags; member in struct:bnep_session
/net/bridge/
H A Dbr_netlink.c53 u8 mode = !!(p->flags & BR_HAIRPIN_MODE);
59 nla_put_u8(skb, IFLA_BRPORT_GUARD, !!(p->flags & BR_BPDU_GUARD)) ||
60 nla_put_u8(skb, IFLA_BRPORT_PROTECT, !!(p->flags & BR_ROOT_BLOCK)) ||
61 nla_put_u8(skb, IFLA_BRPORT_FAST_LEAVE, !!(p->flags & BR_MULTICAST_FAST_LEAVE)) ||
62 nla_put_u8(skb, IFLA_BRPORT_LEARNING, !!(p->flags & BR_LEARNING)) ||
63 nla_put_u8(skb, IFLA_BRPORT_UNICAST_FLOOD, !!(p->flags & BR_FLOOD)))
75 u32 pid, u32 seq, int event, unsigned int flags,
91 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*hdr), flags);
145 vinfo.flags = 0;
147 vinfo.flags |
73 br_fill_ifinfo(struct sk_buff *skb, const struct net_bridge_port *port, u32 pid, u32 seq, int event, unsigned int flags, u32 filter_mask, const struct net_device *dev) argument
[all...]
/net/can/
H A Draw.c94 * Return pointer to store the extra msg flags for raw_recvmsg().
146 /* add CAN specific message flags for raw_recvmsg() */
384 if (!(dev->flags & IFF_UP))
734 struct msghdr *msg, size_t size, int flags)
741 noblock = flags & MSG_DONTWAIT;
742 flags &= ~MSG_DONTWAIT;
744 skb = skb_recv_datagram(sk, flags, noblock, &err);
767 /* assign the flags that have been recorded in raw_rcv() */
733 raw_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t size, int flags) argument
/net/ceph/
H A Dceph_common.c176 void *ceph_kvmalloc(size_t size, gfp_t flags) argument
179 void *ptr = kmalloc(size, flags | __GFP_NOWARN);
184 return __vmalloc(size, flags | __GFP_HIGHMEM, PAGE_KERNEL);
353 opt->flags = CEPH_OPT_DEFAULT;
403 opt->flags |= CEPH_OPT_MYIP;
409 opt->flags |= CEPH_OPT_FSID;
452 opt->flags &= ~CEPH_OPT_NOSHARE;
455 opt->flags |= CEPH_OPT_NOSHARE;
459 opt->flags &= ~CEPH_OPT_NOCRC;
462 opt->flags |
[all...]
/net/core/
H A Ddatagram.c136 * @flags: MSG_ flags
164 struct sk_buff *__skb_recv_datagram(struct sock *sk, unsigned int flags, argument
177 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
195 if (flags & MSG_PEEK) {
213 sk_busy_loop(sk, flags & MSG_DONTWAIT))
231 struct sk_buff *skb_recv_datagram(struct sock *sk, unsigned int flags, argument
236 return __skb_recv_datagram(sk, flags | (noblock ? MSG_DONTWAIT : 0),
271 * @flags: MSG_ flags
288 skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags) argument
[all...]
H A Dfib_rules.c21 u32 pref, u32 table, u32 flags)
33 r->flags = flags;
205 struct flowi *fl, int flags)
221 ret = ops->match(rule, fl, flags);
223 return (rule->flags & FIB_RULE_INVERT) ? !ret : ret;
227 int flags, struct fib_lookup_arg *arg)
236 if (!fib_rule_match(rule, ops, fl, flags))
252 err = ops->action(rule, fl, flags, arg);
258 if ((arg->flags
20 fib_default_rule_add(struct fib_rules_ops *ops, u32 pref, u32 table, u32 flags) argument
204 fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, struct flowi *fl, int flags) argument
226 fib_rules_lookup(struct fib_rules_ops *ops, struct flowi *fl, int flags, struct fib_lookup_arg *arg) argument
598 fib_nl_fill_rule(struct sk_buff *skb, struct fib_rule *rule, u32 pid, u32 seq, int type, int flags, struct fib_rules_ops *ops) argument
[all...]
H A Dnet_namespace.c238 struct net *copy_net_ns(unsigned long flags, argument
244 if (!(flags & CLONE_NEWNET))
328 unsigned long flags; local
330 spin_lock_irqsave(&cleanup_list_lock, flags);
332 spin_unlock_irqrestore(&cleanup_list_lock, flags);
H A Dnetpoll.c105 unsigned long flags; local
118 local_irq_save(flags);
124 local_irq_restore(flags);
130 local_irq_restore(flags);
241 unsigned long flags; local
243 spin_lock_irqsave(&skb_pool.lock, flags);
251 spin_unlock_irqrestore(&skb_pool.lock, flags);
256 unsigned long flags; local
262 local_irq_save(flags);
265 local_irq_restore(flags);
[all...]

Completed in 199 milliseconds

1234567891011>>