| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_guc_ct.c | 38 static void receive_g2h(struct xe_guc_ct *ct); 41 static void ct_exit_safe_mode(struct xe_guc_ct *ct); 42 static void guc_ct_change_state(struct xe_guc_ct *ct, 45 static struct xe_guc *ct_to_guc(struct xe_guc_ct *ct) in ct_to_guc() argument 47 return container_of(ct, struct xe_guc, ct); in ct_to_guc() 50 static struct xe_gt *ct_to_gt(struct xe_guc_ct *ct) in ct_to_gt() argument 52 return container_of(ct, struct xe_gt, uc.guc.ct); in ct_to_gt() 55 static struct xe_device *ct_to_xe(struct xe_guc_ct *ct) in ct_to_xe() argument 57 return gt_to_xe(ct_to_gt(ct)); in ct_to_xe() 84 static void ct_dead_capture(struct xe_guc_ct *ct, struct guc_ctb *ctb, u32 reason_code); [all …]
|
| /linux/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_guc_ct.c | 30 #define CT_DEAD(ct, reason) \ argument 32 if (!(ct)->dead_ct_reported) { \ 33 (ct)->dead_ct_reason |= 1 << CT_DEAD_##reason; \ 34 queue_work(system_unbound_wq, &(ct)->dead_ct_worker); \ 38 #define CT_DEAD(ct, reason) do { } while (0) argument 41 static inline struct intel_guc *ct_to_guc(struct intel_guc_ct *ct) in ct_to_guc() argument 43 return container_of(ct, struct intel_guc, ct); in ct_to_guc() 55 guc_probe_error(ct_to_guc(ct), "CT: " _fmt, ##__VA_ARGS__) 141 void intel_guc_ct_init_early(struct intel_guc_ct *ct) in intel_guc_ct_init_early() argument 143 spin_lock_init(&ct->ctbs.send.lock); in intel_guc_ct_init_early() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_bpf_nf_fail.c | 38 struct nf_conn *ct; in alloc_release() 40 ct = bpf_skb_ct_alloc(ctx, &tup, sizeof(tup.ipv4), &opts, sizeof(opts)); in alloc_release() 41 if (!ct) 43 bpf_ct_release(ct); in insert_insert() 52 struct nf_conn *ct; in insert_insert() 54 ct = bpf_skb_ct_alloc(ctx, &tup, sizeof(tup.ipv4), &opts, sizeof(opts)); in insert_insert() 55 if (!ct) in insert_insert() 57 ct = bpf_ct_insert_entry(ct); in insert_insert() 58 if (!ct) 33 struct nf_conn *ct; alloc_release() local 47 struct nf_conn *ct; insert_insert() local 64 struct nf_conn *ct; lookup_insert() local 78 struct nf_conn *ct; write_not_allowlisted_field() local 92 struct nf_conn *ct; set_timeout_after_insert() local 109 struct nf_conn *ct; set_status_after_insert() local 126 struct nf_conn *ct; change_timeout_after_alloc() local 140 struct nf_conn *ct; change_status_after_alloc() local [all...] |
| H A D | test_bpf_nf.c | 97 struct nf_conn *ct; in nf_ct_test() 102 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test() 106 if (ct) in nf_ct_test() 107 bpf_ct_release(ct); in nf_ct_test() 112 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test() 115 if (ct) in nf_ct_test() 116 bpf_ct_release(ct); in nf_ct_test() 120 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test() 122 if (ct) in nf_ct_test() 123 bpf_ct_release(ct); in nf_ct_test() 98 struct nf_conn *ct; nf_ct_test() local 253 struct nf_conn *ct; nf_ct_opts_new_test() local [all...] |
| /linux/drivers/video/fbdev/aty/ |
| H A D | mach64_ct.c | 254 if ((err = aty_valid_pll_ct(info, vclk_per, &pll->ct))) in aty_var_to_pll_ct() 256 if (M64_HAS(GTB_DSP) && (err = aty_dsp_gt(info, bpp, &pll->ct))) in aty_var_to_pll_ct() 266 …ret = par->ref_clk_per * pll->ct.pll_ref_div * pll->ct.vclk_post_div_real / pll->ct.vclk_fb_div / … in aty_pll_to_var_ct() 268 if(pll->ct.xres > 0) { in aty_pll_to_var_ct() 270 ret /= pll->ct.xres; in aty_pll_to_var_ct() 293 pll->ct.pll_ext_cntl, pll->ct.pll_gen_cntl, pll->ct.pll_vclk_cntl); in aty_set_pll_ct() 297 par->clk_wr_offset, pll->ct.vclk_fb_div, in aty_set_pll_ct() 298 pll->ct.pll_ref_div, pll->ct.vclk_post_div, pll->ct.vclk_post_div_real); in aty_set_pll_ct() 315 aty_st_pll_ct(PLL_VCLK_CNTL, pll->ct.pll_vclk_cntl, par); in aty_set_pll_ct() 321 tmp |= ((pll->ct.vclk_post_div & 0x03U) << tmp2); in aty_set_pll_ct() [all …]
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_proto_tcp.c | 266 static void tcp_print_conntrack(struct seq_file *s, struct nf_conn *ct) in tcp_print_conntrack() argument 268 if (test_bit(IPS_OFFLOAD_BIT, &ct->status)) in tcp_print_conntrack() 271 seq_printf(s, "%s ", tcp_conntrack_names[ct->proto.tcp.state]); in tcp_print_conntrack() 485 const struct nf_conn *ct, in nf_tcp_log_invalid() argument 491 const struct nf_tcp_net *tn = nf_tcp_pernet(nf_ct_net(ct)); in nf_tcp_log_invalid() 503 nf_ct_l4proto_log_invalid(skb, ct, state, "%pV", &vaf); in nf_tcp_log_invalid() 510 tcp_in_window(struct nf_conn *ct, enum ip_conntrack_dir dir, in tcp_in_window() argument 515 struct ip_ct_tcp *state = &ct->proto.tcp; in tcp_in_window() 536 receiver_offset = nf_ct_seq_offset(ct, !dir, ack - 1); in tcp_in_window() 643 return nf_tcp_log_invalid(skb, ct, hook_state, sender, NFCT_TCP_IGNORE, in tcp_in_window() [all …]
|
| H A D | nf_conntrack_h323_main.c | 66 struct nf_conn *ct, enum ip_conntrack_info ctinfo, in get_tpkt_data() argument 69 struct nf_ct_h323_master *info = nfct_help_data(ct); in get_tpkt_data() 172 static int get_h245_addr(struct nf_conn *ct, const unsigned char *data, in get_h245_addr() argument 184 if (nf_ct_l3num(ct) != AF_INET) in get_h245_addr() 190 if (nf_ct_l3num(ct) != AF_INET6) in get_h245_addr() 206 static int expect_rtp_rtcp(struct sk_buff *skb, struct nf_conn *ct, in expect_rtp_rtcp() argument 222 if (!get_h245_addr(ct, *data, taddr, &addr, &port) || in expect_rtp_rtcp() 223 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_rtp_rtcp() 232 if ((rtp_exp = nf_ct_expect_alloc(ct)) == NULL) in expect_rtp_rtcp() 234 nf_ct_expect_init(rtp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp() [all …]
|
| H A D | nf_conntrack_core.c | 484 u32 nf_ct_get_id(const struct nf_conn *ct) in nf_ct_get_id() argument 491 a = (unsigned long)ct; in nf_ct_get_id() 492 b = (unsigned long)ct->master; in nf_ct_get_id() 493 c = (unsigned long)nf_ct_net(ct); in nf_ct_get_id() 494 d = (unsigned long)siphash(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple, in nf_ct_get_id() 495 sizeof(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple), in nf_ct_get_id() 511 clean_from_lists(struct nf_conn *ct) in clean_from_lists() argument 513 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode); in clean_from_lists() 514 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode); in clean_from_lists() 517 nf_ct_remove_expectations(ct); in clean_from_lists() [all …]
|
| H A D | nf_nat_sip.c | 41 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in mangle_packet() local 45 if (nf_ct_protonum(ct) == IPPROTO_TCP) { in mangle_packet() 50 if (!__nf_nat_mangle_tcp_packet(skb, ct, ctinfo, in mangle_packet() 58 if (!nf_nat_mangle_udp_packet(skb, ct, ctinfo, in mangle_packet() 70 static int sip_sprintf_addr(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr() argument 73 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in sip_sprintf_addr() 83 static int sip_sprintf_addr_port(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr_port() argument 86 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in sip_sprintf_addr_port() 99 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in map_addr() local 101 struct nf_ct_sip_master *ct_sip_info = nfct_help_data(ct); in map_addr() [all …]
|
| H A D | nf_conntrack_proto_sctp.c | 134 static void sctp_print_conntrack(struct seq_file *s, struct nf_conn *ct) in sctp_print_conntrack() argument 136 seq_printf(s, "%s ", sctp_conntrack_names[ct->proto.sctp.state]); in sctp_print_conntrack() 148 static int do_basic_checks(struct nf_conn *ct, in do_basic_checks() argument 175 nf_ct_l4proto_log_invalid(skb, ct, state, in do_basic_checks() 240 sctp_new(struct nf_conn *ct, const struct sk_buff *skb, in sctp_new() argument 248 memset(&ct->proto.sctp, 0, sizeof(ct->proto.sctp)); in sctp_new() 276 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new() 280 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = sh->vtag; in sctp_new() 286 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; in sctp_new() 289 ct->proto.sctp.state = SCTP_CONNTRACK_NONE; in sctp_new() [all …]
|
| H A D | xt_CT.c | 21 static inline int xt_ct_target(struct sk_buff *skb, struct nf_conn *ct) in xt_ct_target() argument 27 if (ct) { in xt_ct_target() 28 refcount_inc(&ct->ct_general.use); in xt_ct_target() 29 nf_ct_set(skb, ct, IP_CT_NEW); in xt_ct_target() 31 nf_ct_set(skb, ct, IP_CT_UNTRACKED); in xt_ct_target() 41 struct nf_conn *ct = info->ct; in xt_ct_target_v0() local 43 return xt_ct_target(skb, ct); in xt_ct_target_v0() 50 struct nf_conn *ct = info->ct; in xt_ct_target_v1() local 52 return xt_ct_target(skb, ct); in xt_ct_target_v1() 74 xt_ct_set_helper(struct nf_conn *ct, const char *helper_name, in xt_ct_set_helper() argument [all …]
|
| H A D | nf_conntrack_netlink.c | 168 static int ctnetlink_dump_status(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_status() argument 170 if (nla_put_be32(skb, CTA_STATUS, htonl(ct->status))) in ctnetlink_dump_status() 178 static int ctnetlink_dump_timeout(struct sk_buff *skb, const struct nf_conn *ct, in ctnetlink_dump_timeout() argument 183 if (nf_ct_is_confirmed(ct)) in ctnetlink_dump_timeout() 184 timeout = nf_ct_expires(ct) / HZ; in ctnetlink_dump_timeout() 186 timeout = ct->timeout / HZ; in ctnetlink_dump_timeout() 199 static int ctnetlink_dump_protoinfo(struct sk_buff *skb, struct nf_conn *ct, in ctnetlink_dump_protoinfo() argument 206 l4proto = nf_ct_l4proto_find(nf_ct_protonum(ct)); in ctnetlink_dump_protoinfo() 214 ret = l4proto->to_nlattr(skb, nest_proto, ct, destroy); in ctnetlink_dump_protoinfo() 225 const struct nf_conn *ct) in ctnetlink_dump_helpinfo() argument [all …]
|
| H A D | nf_nat_core.c | 59 const struct nf_conn *ct, in nf_nat_ipv4_decode_session() argument 64 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv4_decode_session() 67 if (ct->status & statusbit) { in nf_nat_ipv4_decode_session() 78 if (ct->status & statusbit) { in nf_nat_ipv4_decode_session() 89 const struct nf_conn *ct, in nf_nat_ipv6_decode_session() argument 95 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv6_decode_session() 98 if (ct->status & statusbit) { in nf_nat_ipv6_decode_session() 109 if (ct->status & statusbit) { in nf_nat_ipv6_decode_session() 122 const struct nf_conn *ct; in __nf_nat_decode_session() local 128 ct = nf_ct_get(skb, &ctinfo); in __nf_nat_decode_session() [all …]
|
| H A D | nf_conntrack_sip.c | 66 static int string_len(const struct nf_conn *ct, const char *dptr, in string_len() argument 78 static int digits_len(const struct nf_conn *ct, const char *dptr, in digits_len() argument 110 static int callid_len(const struct nf_conn *ct, const char *dptr, in callid_len() argument 129 static int media_len(const struct nf_conn *ct, const char *dptr, in media_len() argument 132 int len = string_len(ct, dptr, limit, shift); in media_len() 140 return len + digits_len(ct, dptr, limit, shift); in media_len() 143 static int sip_parse_addr(const struct nf_conn *ct, const char *cp, in sip_parse_addr() argument 150 if (!ct) in sip_parse_addr() 154 switch (nf_ct_l3num(ct)) { in sip_parse_addr() 185 static int epaddr_len(const struct nf_conn *ct, const char *dptr, in epaddr_len() argument [all …]
|
| H A D | nf_conntrack_ecache.c | 67 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(h); in ecache_work_evict_list() local 72 if (nf_conntrack_event(IPCT_DESTROY, ct)) { in ecache_work_evict_list() 77 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode); in ecache_work_evict_list() 78 hlist_nulls_add_head(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode, &evicted_list); in ecache_work_evict_list() 95 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(h); in ecache_work_evict_list() local 97 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode); in ecache_work_evict_list() 98 nf_ct_put(ct); in ecache_work_evict_list() 132 struct net *net = nf_ct_net(item->ct); in __nf_conntrack_eventmask_report() 142 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in __nf_conntrack_eventmask_report() 173 int nf_conntrack_eventmask_report(unsigned int events, struct nf_conn *ct, in nf_conntrack_eventmask_report() argument [all …]
|
| H A D | nf_conntrack_pptp.c | 89 static void pptp_expectfn(struct nf_conn *ct, in pptp_expectfn() argument 93 struct net *net = nf_ct_net(ct); in pptp_expectfn() 97 ct->proto.gre.timeout = PPTP_GRE_TIMEOUT; in pptp_expectfn() 98 ct->proto.gre.stream_timeout = PPTP_GRE_STREAM_TIMEOUT; in pptp_expectfn() 104 if (hook && ct->master->status & IPS_NAT_MASK) in pptp_expectfn() 105 hook->expectfn(ct, exp); in pptp_expectfn() 115 exp_other = nf_ct_expect_find_get(net, nf_ct_zone(ct), &inv_t); in pptp_expectfn() 127 static int destroy_sibling_or_exp(struct net *net, struct nf_conn *ct, in destroy_sibling_or_exp() argument 138 zone = nf_ct_zone(ct); in destroy_sibling_or_exp() 161 static void pptp_destroy_siblings(struct nf_conn *ct) in pptp_destroy_siblings() argument [all …]
|
| H A D | nft_ct.c | 59 const struct nf_conn *ct; in nft_ct_get_eval() local 65 ct = nf_ct_get(pkt->skb, &ctinfo); in nft_ct_get_eval() 69 if (ct) in nft_ct_get_eval() 81 if (ct == NULL) in nft_ct_get_eval() 89 *dest = ct->status; in nft_ct_get_eval() 93 *dest = READ_ONCE(ct->mark); in nft_ct_get_eval() 98 *dest = ct->secmark; in nft_ct_get_eval() 102 *dest = jiffies_to_msecs(nf_ct_expires(ct)); in nft_ct_get_eval() 105 if (ct->master == NULL) in nft_ct_get_eval() 107 help = nfct_help(ct->master); in nft_ct_get_eval() [all …]
|
| H A D | xt_conntrack.c | 40 conntrack_mt_origsrc(const struct nf_conn *ct, in conntrack_mt_origsrc() argument 44 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3, in conntrack_mt_origsrc() 49 conntrack_mt_origdst(const struct nf_conn *ct, in conntrack_mt_origdst() argument 53 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3, in conntrack_mt_origdst() 58 conntrack_mt_replsrc(const struct nf_conn *ct, in conntrack_mt_replsrc() argument 62 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3, in conntrack_mt_replsrc() 67 conntrack_mt_repldst(const struct nf_conn *ct, in conntrack_mt_repldst() argument 71 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3, in conntrack_mt_repldst() 77 const struct nf_conn *ct) in ct_proto_port_check() argument 81 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ct_proto_port_check() [all …]
|
| /linux/drivers/macintosh/ |
| H A D | windfarm.h | 28 int (*set_value)(struct wf_control *ct, s32 val); 29 int (*get_value)(struct wf_control *ct, s32 *val); 30 s32 (*get_min)(struct wf_control *ct); 31 s32 (*get_max)(struct wf_control *ct); 32 void (*release)(struct wf_control *ct); 56 extern int wf_register_control(struct wf_control *ct); 57 extern void wf_unregister_control(struct wf_control *ct); 58 extern int wf_get_control(struct wf_control *ct); 59 extern void wf_put_control(struct wf_control *ct); 61 static inline int wf_control_set_max(struct wf_control *ct) in wf_control_set_max() argument [all …]
|
| /linux/include/net/netfilter/ |
| H A D | nf_conntrack.h | 88 /* jiffies32 when this ct is considered dead */ 140 static inline u_int16_t nf_ct_l3num(const struct nf_conn *ct) in nf_ct_l3num() 142 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num; in nf_ct_l3num() 145 static inline u_int8_t nf_ct_protonum(const struct nf_conn *ct) in nf_ct_protonum() 147 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum; in nf_ct_protonum() 150 #define nf_ct_tuple(ct, dir) (&(ct)->tuplehash[dir].tuple) 157 static inline struct net *nf_ct_net(const struct nf_conn *ct) in nf_ct_net() 159 return read_pnet(&ct->ct_net); in nf_ct_net() 179 void nf_conntrack_tcp_set_closing(struct nf_conn *ct); 139 nf_ct_l3num(const struct nf_conn * ct) nf_ct_l3num() argument 144 nf_ct_protonum(const struct nf_conn * ct) nf_ct_protonum() argument 149 nf_ct_tuple(ct,dir) global() argument 156 nf_ct_net(const struct nf_conn * ct) nf_ct_net() argument 181 nf_ct_put(struct nf_conn * ct) nf_ct_put() argument 208 nf_ct_refresh_acct(struct nf_conn * ct,enum ip_conntrack_info ctinfo,const struct sk_buff * skb,u32 extra_jiffies) nf_ct_refresh_acct() argument 217 nf_ct_refresh(struct nf_conn * ct,u32 extra_jiffies) nf_ct_refresh() argument 228 nf_ct_kill(struct nf_conn * ct) nf_ct_kill() argument 257 nf_ct_is_template(const struct nf_conn * ct) nf_ct_is_template() argument 263 nf_ct_is_confirmed(const struct nf_conn * ct) nf_ct_is_confirmed() argument 268 nf_ct_is_dying(const struct nf_conn * ct) nf_ct_is_dying() argument 279 nf_conntrack_alter_reply(struct nf_conn * ct,const struct nf_conntrack_tuple * newreply) nf_conntrack_alter_reply() argument 292 nf_ct_expires(const struct nf_conn * ct) nf_ct_expires() argument 299 nf_ct_is_expired(const struct nf_conn * ct) nf_ct_is_expired() argument 305 nf_ct_should_gc(const struct nf_conn * ct) nf_ct_should_gc() argument 360 nf_ct_set(struct sk_buff * skb,struct nf_conn * ct,enum ip_conntrack_info info) nf_ct_set() argument [all...] |
| H A D | nf_conntrack_l4proto.h | 31 bool (*can_early_drop)(const struct nf_conn *ct); 35 struct nf_conn *ct, bool destroy); 38 int (*from_nlattr)(struct nlattr *tb[], struct nf_conn *ct); 95 int nf_conntrack_icmp_packet(struct nf_conn *ct, 100 int nf_conntrack_icmpv6_packet(struct nf_conn *ct, 105 int nf_conntrack_udp_packet(struct nf_conn *ct, 110 int nf_conntrack_udplite_packet(struct nf_conn *ct, 115 int nf_conntrack_tcp_packet(struct nf_conn *ct, 120 int nf_conntrack_sctp_packet(struct nf_conn *ct, 125 int nf_conntrack_gre_packet(struct nf_conn *ct, 174 nf_ct_l4proto_log_invalid(const struct sk_buff * skb,const struct nf_conn * ct,const struct nf_hook_state * state,const char * fmt,...) nf_ct_l4proto_log_invalid() argument 206 nf_ct_set_tcp_be_liberal(struct nf_conn * ct) nf_ct_set_tcp_be_liberal() argument 213 nf_conntrack_tcp_established(const struct nf_conn * ct) nf_conntrack_tcp_established() argument [all...] |
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_nfct.c | 73 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in ip_vs_update_conntrack() 76 if (ct == NULL || nf_ct_is_confirmed(ct) || in ip_vs_update_conntrack() 77 nf_ct_is_dying(ct)) in ip_vs_update_conntrack() 93 if (cp->app && nf_ct_protonum(ct) == IPPROTO_TCP && in ip_vs_update_conntrack() 94 !nfct_seqadj(ct) && !nfct_seqadj_ext_add(ct)) in ip_vs_update_conntrack() 103 new_tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_update_conntrack() 118 IP_VS_DBG_BUF(7, "%s: Updating conntrack ct=%p, status=0x%lX, " in ip_vs_update_conntrack() 120 __func__, ct, c in ip_vs_update_conntrack() 74 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); ip_vs_update_conntrack() local 140 ip_vs_nfct_expect_callback(struct nf_conn * ct,struct nf_conntrack_expect * exp) ip_vs_nfct_expect_callback() argument 211 ip_vs_nfct_expect_related(struct sk_buff * skb,struct nf_conn * ct,struct ip_vs_conn * cp,u_int8_t proto,const __be16 port,int from_rs) ip_vs_nfct_expect_related() argument 245 struct nf_conn *ct; ip_vs_conn_drop_conntrack() local [all...] |
| /linux/net/openvswitch/ |
| H A D | conntrack.c | 64 struct nf_conn *ct; member 154 static u32 ovs_ct_get_mark(const struct nf_conn *ct) in ovs_ct_get_mark() argument 157 return ct ? READ_ONCE(ct->mark) : 0; in ovs_ct_get_mark() 168 static void ovs_ct_get_labels(const struct nf_conn *ct, in ovs_ct_get_labels() argument 173 if (ct) { in ovs_ct_get_labels() 174 if (ct->master && !nf_ct_is_confirmed(ct)) in ovs_ct_get_labels() 175 ct = ct->master; in ovs_ct_get_labels() 176 cl = nf_ct_labels_find(ct); in ovs_ct_get_labels() 190 key->ct.orig_tp.src = htons(orig->dst.u.icmp.type); in __ovs_ct_update_key_orig_tp() 191 key->ct.orig_tp.dst = htons(orig->dst.u.icmp.code); in __ovs_ct_update_key_orig_tp() [all …]
|
| /linux/kernel/irq/ |
| H A D | generic-chip.c | 40 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_disable_reg() local 44 irq_reg_writel(gc, mask, ct->regs.disable); in irq_gc_mask_disable_reg() 45 *ct->mask_cache &= ~mask; in irq_gc_mask_disable_reg() 59 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_set_bit() local 63 *ct->mask_cache |= mask; in irq_gc_mask_set_bit() 64 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_set_bit() 78 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_clr_bit() local 82 *ct->mask_cache &= ~mask; in irq_gc_mask_clr_bit() 83 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_clr_bit() 97 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_unmask_enable_reg() local [all …]
|
| /linux/include/linux/ |
| H A D | alloc_tag.h | 29 struct codetag ct; member 54 return ref->ct == CODETAG_EMPTY; in is_codetag_empty() 60 ref->ct = CODETAG_EMPTY; in set_codetag_empty() 70 ref->ct = NULL; in set_codetag_empty() 80 struct codetag *ct; member 86 static inline struct alloc_tag *ct_to_alloc_tag(struct codetag *ct) in ct_to_alloc_tag() argument 88 return container_of(ct, struct alloc_tag, ct); in ct_to_alloc_tag() 102 .ct = CODE_TAG_INIT, \ 112 .ct = CODE_TAG_INIT, \ 121 .ct = CODE_TAG_INIT, \ [all …]
|