/net/ncsi/ |
D | ncsi-manage.c | 54 unsigned long flags; in ncsi_report_link() local 65 spin_lock_irqsave(&nc->lock, flags); in ncsi_report_link() 69 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_report_link() 74 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_report_link() 79 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_report_link() 96 unsigned long flags; in ncsi_channel_monitor() local 99 spin_lock_irqsave(&nc->lock, flags); in ncsi_channel_monitor() 104 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_channel_monitor() 135 ndp->flags |= NCSI_DEV_RESHUFFLE; in ncsi_channel_monitor() 140 spin_lock_irqsave(&nc->lock, flags); in ncsi_channel_monitor() [all …]
|
D | ncsi-aen.c | 55 unsigned long flags; in ncsi_aen_handler_lsc() local 67 spin_lock_irqsave(&nc->lock, flags); in ncsi_aen_handler_lsc() 82 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_aen_handler_lsc() 94 ndp->flags |= NCSI_DEV_RESHUFFLE; in ncsi_aen_handler_lsc() 96 spin_lock_irqsave(&ndp->lock, flags); in ncsi_aen_handler_lsc() 98 spin_unlock_irqrestore(&ndp->lock, flags); in ncsi_aen_handler_lsc() 144 unsigned long flags; in ncsi_aen_handler_cr() local 151 spin_lock_irqsave(&nc->lock, flags); in ncsi_aen_handler_cr() 154 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_aen_handler_cr() 157 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_aen_handler_cr() [all …]
|
/net/wireless/ |
D | lib80211.c | 92 unsigned long flags; in lib80211_crypt_deinit_entries() local 94 spin_lock_irqsave(info->lock, flags); in lib80211_crypt_deinit_entries() 107 spin_unlock_irqrestore(info->lock, flags); in lib80211_crypt_deinit_entries() 113 unsigned long flags; in lib80211_crypt_quiescing() local 115 spin_lock_irqsave(info->lock, flags); in lib80211_crypt_quiescing() 117 spin_unlock_irqrestore(info->lock, flags); in lib80211_crypt_quiescing() 124 unsigned long flags; in lib80211_crypt_deinit_handler() local 128 spin_lock_irqsave(info->lock, flags); in lib80211_crypt_deinit_handler() 135 spin_unlock_irqrestore(info->lock, flags); in lib80211_crypt_deinit_handler() 142 unsigned long flags; in lib80211_crypt_delayed_deinit() local [all …]
|
/net/rds/ |
D | cong.c | 144 unsigned long flags; in rds_cong_from_addr() local 161 spin_lock_irqsave(&rds_cong_lock, flags); in rds_cong_from_addr() 163 spin_unlock_irqrestore(&rds_cong_lock, flags); in rds_cong_from_addr() 188 unsigned long flags; in rds_cong_add_conn() local 191 spin_lock_irqsave(&rds_cong_lock, flags); in rds_cong_add_conn() 193 spin_unlock_irqrestore(&rds_cong_lock, flags); in rds_cong_add_conn() 198 unsigned long flags; in rds_cong_remove_conn() local 201 spin_lock_irqsave(&rds_cong_lock, flags); in rds_cong_remove_conn() 203 spin_unlock_irqrestore(&rds_cong_lock, flags); in rds_cong_remove_conn() 220 unsigned long flags; in rds_cong_queue_updates() local [all …]
|
/net/atm/ |
D | svc.c | 53 if (test_bit(ATM_VF_REGIS, &vcc->flags)) { in svc_disconnect() 57 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || !sigd) in svc_disconnect() 71 clear_bit(ATM_VF_REGIS, &vcc->flags); in svc_disconnect() 83 clear_bit(ATM_VF_READY, &vcc->flags); in svc_release() 121 clear_bit(ATM_VF_BOUND, &vcc->flags); in svc_bind() 124 if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) { in svc_bind() 129 set_bit(ATM_VF_WAITING, &vcc->flags); in svc_bind() 133 if (!test_bit(ATM_VF_WAITING, &vcc->flags) || !sigd) in svc_bind() 138 clear_bit(ATM_VF_REGIS, &vcc->flags); /* doesn't count */ in svc_bind() 144 set_bit(ATM_VF_BOUND, &vcc->flags); in svc_bind() [all …]
|
D | addr.c | 50 unsigned long flags; in atm_reset_addr() local 54 spin_lock_irqsave(&dev->lock, flags); in atm_reset_addr() 63 spin_unlock_irqrestore(&dev->lock, flags); in atm_reset_addr() 71 unsigned long flags; in atm_add_addr() local 79 spin_lock_irqsave(&dev->lock, flags); in atm_add_addr() 86 spin_unlock_irqrestore(&dev->lock, flags); in atm_add_addr() 92 spin_unlock_irqrestore(&dev->lock, flags); in atm_add_addr() 97 spin_unlock_irqrestore(&dev->lock, flags); in atm_add_addr() 106 unsigned long flags; in atm_del_addr() local 114 spin_lock_irqsave(&dev->lock, flags); in atm_del_addr() [all …]
|
/net/netfilter/ipset/ |
D | ip_set_hash_net.c | 66 hash_net4_data_set_flags(struct hash_net4_elem *elem, u32 flags) in hash_net4_data_set_flags() argument 68 elem->nomatch = (flags >> 16) & IPSET_FLAG_NOMATCH; in hash_net4_data_set_flags() 72 hash_net4_data_reset_flags(struct hash_net4_elem *elem, u8 *flags) in hash_net4_data_reset_flags() argument 74 swap(*flags, elem->nomatch); in hash_net4_data_reset_flags() 87 u32 flags = data->nomatch ? IPSET_FLAG_NOMATCH : 0; in hash_net4_data_list() local 91 (flags && in hash_net4_data_list() 92 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_net4_data_list() 128 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_net4_kadt() 136 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_net4_uadt() argument 170 flags |= (IPSET_FLAG_NOMATCH << 16); in hash_net4_uadt() [all …]
|
D | ip_set_hash_netiface.c | 84 hash_netiface4_data_set_flags(struct hash_netiface4_elem *elem, u32 flags) in hash_netiface4_data_set_flags() argument 86 elem->nomatch = (flags >> 16) & IPSET_FLAG_NOMATCH; in hash_netiface4_data_set_flags() 90 hash_netiface4_data_reset_flags(struct hash_netiface4_elem *elem, u8 *flags) in hash_netiface4_data_reset_flags() argument 92 swap(*flags, elem->nomatch); in hash_netiface4_data_reset_flags() 106 u32 flags = data->physdev ? IPSET_FLAG_PHYSDEV : 0; in hash_netiface4_data_list() local 109 flags |= IPSET_FLAG_NOMATCH; in hash_netiface4_data_list() 113 (flags && in hash_netiface4_data_list() 114 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netiface4_data_list() 166 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_netiface4_kadt() 170 #define SRCDIR (opt->flags & IPSET_DIM_TWO_SRC) in hash_netiface4_kadt() [all …]
|
D | ip_set_hash_netport.c | 78 hash_netport4_data_set_flags(struct hash_netport4_elem *elem, u32 flags) in hash_netport4_data_set_flags() argument 80 elem->nomatch = !!((flags >> 16) & IPSET_FLAG_NOMATCH); in hash_netport4_data_set_flags() 84 hash_netport4_data_reset_flags(struct hash_netport4_elem *elem, u8 *flags) in hash_netport4_data_reset_flags() argument 86 swap(*flags, elem->nomatch); in hash_netport4_data_reset_flags() 100 u32 flags = data->nomatch ? IPSET_FLAG_NOMATCH : 0; in hash_netport4_data_list() local 106 (flags && in hash_netport4_data_list() 107 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netport4_data_list() 142 if (!ip_set_get_ip4_port(skb, opt->flags & IPSET_DIM_TWO_SRC, in hash_netport4_kadt() 146 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_netport4_kadt() 154 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_netport4_uadt() argument [all …]
|
D | ip_set_hash_ipportnet.c | 81 hash_ipportnet4_data_set_flags(struct hash_ipportnet4_elem *elem, u32 flags) in hash_ipportnet4_data_set_flags() argument 83 elem->nomatch = !!((flags >> 16) & IPSET_FLAG_NOMATCH); in hash_ipportnet4_data_set_flags() 87 hash_ipportnet4_data_reset_flags(struct hash_ipportnet4_elem *elem, u8 *flags) in hash_ipportnet4_data_reset_flags() argument 89 swap(*flags, elem->nomatch); in hash_ipportnet4_data_reset_flags() 103 u32 flags = data->nomatch ? IPSET_FLAG_NOMATCH : 0; in hash_ipportnet4_data_list() local 110 (flags && in hash_ipportnet4_data_list() 111 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_ipportnet4_data_list() 147 if (!ip_set_get_ip4_port(skb, opt->flags & IPSET_DIM_TWO_SRC, in hash_ipportnet4_kadt() 151 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_ipportnet4_kadt() 152 ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2); in hash_ipportnet4_kadt() [all …]
|
D | ip_set_hash_netnet.c | 71 hash_netnet4_data_set_flags(struct hash_netnet4_elem *elem, u32 flags) in hash_netnet4_data_set_flags() argument 73 elem->nomatch = (flags >> 16) & IPSET_FLAG_NOMATCH; in hash_netnet4_data_set_flags() 77 hash_netnet4_data_reset_flags(struct hash_netnet4_elem *elem, u8 *flags) in hash_netnet4_data_reset_flags() argument 79 swap(*flags, elem->nomatch); in hash_netnet4_data_reset_flags() 105 u32 flags = data->nomatch ? IPSET_FLAG_NOMATCH : 0; in hash_netnet4_data_list() local 111 (flags && in hash_netnet4_data_list() 112 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netnet4_data_list() 153 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0]); in hash_netnet4_kadt() 154 ip4addrptr(skb, opt->flags & IPSET_DIM_TWO_SRC, &e.ip[1]); in hash_netnet4_kadt() 163 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_netnet4_uadt() argument [all …]
|
/net/batman-adv/ |
D | translation-table.c | 471 u8 flags = common->flags | event_flags; in batadv_tt_local_event() local 479 tt_change_node->change.flags = flags; in batadv_tt_local_event() 485 del_op_requested = flags & BATADV_TT_CLIENT_DEL; in batadv_tt_local_event() 501 del_op_entry = entry->change.flags & BATADV_TT_CLIENT_DEL; in batadv_tt_local_event() 511 entry->change.flags = flags; in batadv_tt_local_event() 672 if (tt_local->common.flags & BATADV_TT_CLIENT_PENDING) { in batadv_tt_local_add() 681 tt_local->common.flags &= ~BATADV_TT_CLIENT_PENDING; in batadv_tt_local_add() 685 if (tt_local->common.flags & BATADV_TT_CLIENT_ROAM) { in batadv_tt_local_add() 694 tt_local->common.flags &= ~BATADV_TT_CLIENT_ROAM; in batadv_tt_local_add() 736 tt_local->common.flags = BATADV_TT_CLIENT_NEW; in batadv_tt_local_add() [all …]
|
D | multicast.c | 170 u8 flags = BATADV_NO_FLAGS; in batadv_mcast_mla_rtr_flags_softif_get() local 174 flags |= batadv_mcast_mla_rtr_flags_softif_get_ipv4(dev); in batadv_mcast_mla_rtr_flags_softif_get() 175 flags |= batadv_mcast_mla_rtr_flags_softif_get_ipv6(dev); in batadv_mcast_mla_rtr_flags_softif_get() 179 return flags; in batadv_mcast_mla_rtr_flags_softif_get() 203 u8 flags = BATADV_MCAST_WANT_NO_RTR6; in batadv_mcast_mla_rtr_flags_bridge_get() local 224 flags &= ~BATADV_MCAST_WANT_NO_RTR6; in batadv_mcast_mla_rtr_flags_bridge_get() 230 return flags; in batadv_mcast_mla_rtr_flags_bridge_get() 262 u8 flags = BATADV_MCAST_WANT_NO_RTR4 | BATADV_MCAST_WANT_NO_RTR6; in batadv_mcast_mla_rtr_flags_get() local 264 flags &= batadv_mcast_mla_rtr_flags_softif_get(bat_priv, bridge); in batadv_mcast_mla_rtr_flags_get() 265 flags &= batadv_mcast_mla_rtr_flags_bridge_get(bat_priv, bridge); in batadv_mcast_mla_rtr_flags_get() [all …]
|
/net/ipv6/ |
D | fib6_rules.c | 62 struct fib6_result *res, int flags) in fib6_lookup() argument 71 .flags = FIB_LOOKUP_NOREF, in fib6_lookup() 77 flowi6_to_flowi(fl6), flags, &arg); in fib6_lookup() 80 fl6, res, flags); in fib6_lookup() 83 oif, fl6, res, flags); in fib6_lookup() 91 int flags, pol_lookup_t lookup) in fib6_rule_lookup() argument 99 .flags = FIB_LOOKUP_NOREF, in fib6_rule_lookup() 106 flowi6_to_flowi(fl6), flags, &arg); in fib6_rule_lookup() 113 rt = lookup(net, net->ipv6.fib6_local_tbl, fl6, skb, flags); in fib6_rule_lookup() 116 ip6_rt_put_flags(rt, flags); in fib6_rule_lookup() [all …]
|
/net/mac80211/ |
D | status.c | 29 skb_queue_tail(info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS ? in ieee80211_tx_status_irqsafe() 51 if (info->flags & (IEEE80211_TX_CTL_NO_PS_BUFFER | in ieee80211_handle_filtered_frame() 69 info->flags |= IEEE80211_TX_INTFL_NEED_TXPROCESSING | in ieee80211_handle_filtered_frame() 71 info->flags &= ~IEEE80211_TX_TEMPORARY_FLAGS; in ieee80211_handle_filtered_frame() 156 !(info->flags & IEEE80211_TX_INTFL_RETRIED)) { in ieee80211_handle_filtered_frame() 158 info->flags |= IEEE80211_TX_INTFL_RETRIED; in ieee80211_handle_filtered_frame() 263 if (status && status->rate && !(status->rate->flags & in ieee80211_tx_radiotap_len() 271 !(info->status.rates[0].flags & in ieee80211_tx_radiotap_len() 284 if (status->rate->flags & RATE_INFO_FLAGS_MCS) in ieee80211_tx_radiotap_len() 286 else if (status->rate->flags & RATE_INFO_FLAGS_VHT_MCS) in ieee80211_tx_radiotap_len() [all …]
|
D | mesh_hwmp.c | 100 static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags, in mesh_path_sel_frame_tx() argument 157 *pos++ = flags; in mesh_path_sel_frame_tx() 215 info->flags |= IEEE80211_TX_INTFL_NEED_TXPROCESSING; in prepare_frame_for_deferred_tx() 303 failed = !(txinfo->flags & IEEE80211_TX_STAT_ACK); in ieee80211s_update_metric() 442 if (mpath->flags & MESH_PATH_FIXED) in hwmp_route_info_get() 444 else if ((mpath->flags & MESH_PATH_ACTIVE) && in hwmp_route_info_get() 445 (mpath->flags & MESH_PATH_SN_VALID)) { in hwmp_route_info_get() 455 } else if (!(mpath->flags & MESH_PATH_ACTIVE)) { in hwmp_route_info_get() 458 have_sn = mpath->flags & MESH_PATH_SN_VALID; in hwmp_route_info_get() 489 mpath->flags |= MESH_PATH_SN_VALID; in hwmp_route_info_get() [all …]
|
/net/sched/ |
D | act_skbedit.c | 39 if (params->flags & SKBEDIT_F_PRIORITY) in tcf_skbedit_act() 41 if (params->flags & SKBEDIT_F_INHERITDSFIELD) { in tcf_skbedit_act() 60 if (params->flags & SKBEDIT_F_QUEUE_MAPPING && in tcf_skbedit_act() 63 if (params->flags & SKBEDIT_F_MARK) { in tcf_skbedit_act() 67 if (params->flags & SKBEDIT_F_PTYPE) in tcf_skbedit_act() 98 u32 flags = 0, *priority = NULL, *mark = NULL, *mask = NULL; in tcf_skbedit_init() local 116 flags |= SKBEDIT_F_PRIORITY; in tcf_skbedit_init() 121 flags |= SKBEDIT_F_QUEUE_MAPPING; in tcf_skbedit_init() 129 flags |= SKBEDIT_F_PTYPE; in tcf_skbedit_init() 133 flags |= SKBEDIT_F_MARK; in tcf_skbedit_init() [all …]
|
D | sch_teql.c | 184 if (m->dev->flags & IFF_UP) { in teql_qdisc_init() 185 if ((m->dev->flags & IFF_POINTOPOINT && in teql_qdisc_init() 186 !(dev->flags & IFF_POINTOPOINT)) || in teql_qdisc_init() 187 (m->dev->flags & IFF_BROADCAST && in teql_qdisc_init() 188 !(dev->flags & IFF_BROADCAST)) || in teql_qdisc_init() 189 (m->dev->flags & IFF_MULTICAST && in teql_qdisc_init() 190 !(dev->flags & IFF_MULTICAST)) || in teql_qdisc_init() 194 if (!(dev->flags&IFF_POINTOPOINT)) in teql_qdisc_init() 195 m->dev->flags &= ~IFF_POINTOPOINT; in teql_qdisc_init() 196 if (!(dev->flags&IFF_BROADCAST)) in teql_qdisc_init() [all …]
|
D | cls_matchall.c | 20 u32 flags; member 35 if (tc_skip_sw(head->flags)) in mall_classify() 74 tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, extack); in mall_destroy_hw_filter() 79 &head->flags, &head->in_hw_count, true); in mall_destroy_hw_filter() 89 bool skip_sw = tc_skip_sw(head->flags); in mall_replace_hw_filter() 96 tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, extack); in mall_replace_hw_filter() 113 skip_sw, &head->flags, &head->in_hw_count, true); in mall_replace_hw_filter() 122 if (skip_sw && !(head->flags & TCA_CLS_FLAGS_IN_HW)) in mall_replace_hw_filter() 138 if (!tc_skip_hw(head->flags)) in mall_destroy() 191 u32 flags = 0; in mall_change() local [all …]
|
/net/can/ |
D | bcm.c | 105 u32 flags; member 162 #define CFSIZ(flags) ((flags & CAN_FD_FRAME) ? CANFD_MTU : CAN_MTU) argument 214 if (op->flags & CAN_FD_FRAME) in bcm_proc_show() 219 seq_printf(m, "%c ", (op->flags & RX_CHECK_DLC) ? 'd' : ' '); in bcm_proc_show() 243 if (op->flags & CAN_FD_FRAME) in bcm_proc_show() 342 firstframe->flags &= BCM_CAN_FLAGS_MASK; in bcm_send_to_user() 402 if (!op->count && (op->flags & TX_COUNTEVT)) { in bcm_tx_timeout_handler() 406 msg_head.flags = op->flags; in bcm_tx_timeout_handler() 440 data->flags &= (BCM_CAN_FLAGS_MASK|RX_RECV); in bcm_rx_changed() 443 head.flags = op->flags; in bcm_rx_changed() [all …]
|
/net/netfilter/ |
D | nft_quota.c | 17 unsigned long flags; member 30 return priv->flags & NFT_QUOTA_F_INV; in nft_quota_invert() 61 !test_and_set_bit(NFT_QUOTA_DEPLETED_BIT, &priv->flags)) in nft_quota_obj_eval() 69 unsigned long flags = 0; in nft_quota_do_init() local 86 flags = ntohl(nla_get_be32(tb[NFTA_QUOTA_FLAGS])); in nft_quota_do_init() 87 if (flags & ~NFT_QUOTA_F_INV) in nft_quota_do_init() 89 if (flags & NFT_QUOTA_F_DEPLETED) in nft_quota_do_init() 94 priv->flags = flags; in nft_quota_do_init() 118 priv->flags = newpriv->flags; in nft_quota_obj_update() 125 u32 flags = priv->flags; in nft_quota_do_dump() local [all …]
|
D | nft_fib.c | 40 if (priv->flags & NFTA_FIB_F_IIF) in nft_fib_validate() 44 else if (priv->flags & NFTA_FIB_F_OIF) in nft_fib_validate() 74 priv->flags = ntohl(nla_get_be32(tb[NFTA_FIB_FLAGS])); in nft_fib_init() 76 if (priv->flags == 0 || (priv->flags & ~NFTA_FIB_F_ALL)) in nft_fib_init() 79 if ((priv->flags & (NFTA_FIB_F_SADDR | NFTA_FIB_F_DADDR)) == in nft_fib_init() 82 if ((priv->flags & (NFTA_FIB_F_IIF | NFTA_FIB_F_OIF)) == in nft_fib_init() 85 if ((priv->flags & (NFTA_FIB_F_SADDR | NFTA_FIB_F_DADDR)) == 0) in nft_fib_init() 93 if (priv->flags & NFTA_FIB_F_OIF) in nft_fib_init() 98 if (priv->flags & NFTA_FIB_F_OIF) in nft_fib_init() 128 if (nla_put_be32(skb, NFTA_FIB_FLAGS, htonl(priv->flags))) in nft_fib_dump() [all …]
|
D | xt_l2tp.c | 51 if ((info->flags & XT_L2TP_TYPE) && (info->type != data->type)) in l2tp_match() 54 if ((info->flags & XT_L2TP_VERSION) && (info->version != data->version)) in l2tp_match() 58 if ((info->flags & XT_L2TP_TID) && in l2tp_match() 64 if ((info->flags & XT_L2TP_SID) && (data->type == XT_L2TP_TYPE_DATA) && in l2tp_match() 86 u16 flags; in l2tp_udp_mt() local 99 flags = ntohs(lh->val16[0]); in l2tp_udp_mt() 100 if (flags & L2TP_HDR_T_BIT) in l2tp_udp_mt() 104 data.version = (u8) flags & L2TP_HDR_VER; in l2tp_udp_mt() 121 if (flags & L2TP_HDR_L_BIT) in l2tp_udp_mt() 214 if (info->flags & ~(XT_L2TP_TID | XT_L2TP_SID | XT_L2TP_VERSION | in l2tp_mt_check() [all …]
|
D | xt_rateest.c | 24 if (info->flags & XT_RATEEST_MATCH_DELTA) { in xt_rateest_mt() 32 if (info->flags & XT_RATEEST_MATCH_ABS) { in xt_rateest_mt() 38 if (info->flags & XT_RATEEST_MATCH_DELTA) { in xt_rateest_mt() 49 if (info->flags & XT_RATEEST_MATCH_BPS) in xt_rateest_mt() 51 if (info->flags & XT_RATEEST_MATCH_PPS) in xt_rateest_mt() 55 if (info->flags & XT_RATEEST_MATCH_BPS) in xt_rateest_mt() 57 if (info->flags & XT_RATEEST_MATCH_PPS) in xt_rateest_mt() 61 if (info->flags & XT_RATEEST_MATCH_BPS) in xt_rateest_mt() 63 if (info->flags & XT_RATEEST_MATCH_PPS) in xt_rateest_mt() 68 ret ^= info->flags & XT_RATEEST_MATCH_INVERT ? true : false; in xt_rateest_mt() [all …]
|
/net/ |
D | socket.c | 129 unsigned int flags); 244 ei->socket.wq.flags = 0; in sock_alloc_inode() 247 ei->socket.flags = 0; in sock_alloc_inode() 304 int flags) in sockfs_xattr_get() argument 326 size_t size, int flags) in sockfs_security_xattr_set() argument 391 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file() argument 399 O_RDWR | (flags & O_NONBLOCK), in sock_alloc_file() 412 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd() argument 415 int fd = get_unused_fd_flags(flags); in sock_map_fd() 421 newfile = sock_alloc_file(sock, flags, NULL); in sock_map_fd() [all …]
|