Searched refs:ct (Results 101 - 125 of 339) sorted by relevance

1234567891011>>

/linux-master/drivers/irqchip/
H A Dirq-idt3243x.c51 struct irq_chip_type *ct; local
94 ct = gc->chip_types;
95 ct->regs.mask = IDT_PIC_IRQ_MASK;
96 ct->chip.irq_mask = irq_gc_mask_set_bit;
97 ct->chip.irq_unmask = irq_gc_mask_clr_bit;
H A Dirq-bcm7120-l2.c87 struct irq_chip_type *ct = gc->chip_types; local
92 ct->regs.mask);
98 struct irq_chip_type *ct = gc->chip_types; local
102 irq_reg_writel(gc, gc->mask_cache, ct->regs.mask);
225 struct irq_chip_type *ct; local
295 ct = gc->chip_types;
298 ct->regs.mask = data->en_offset[idx];
304 ct->chip.irq_mask = irq_gc_mask_clr_bit;
305 ct->chip.irq_unmask = irq_gc_mask_set_bit;
306 ct
[all...]
/linux-master/arch/sh/boards/mach-se/7343/
H A Dirq.c70 struct irq_chip_type *ct; local
80 ct = gc->chip_types;
81 ct->chip.irq_mask = irq_gc_mask_set_bit;
82 ct->chip.irq_unmask = irq_gc_mask_clr_bit;
84 ct->regs.mask = PA_CPLD_IMSK_REG;
/linux-master/net/ipv4/netfilter/
H A Dnf_nat_snmp_basic_main.c126 static int snmp_translate(struct nf_conn *ct, int dir, struct sk_buff *skb) argument
136 ctx.from = ct->tuplehash[dir].tuple.src.u3.ip;
137 ctx.to = ct->tuplehash[!dir].tuple.dst.u3.ip;
139 ctx.from = ct->tuplehash[!dir].tuple.src.u3.ip;
140 ctx.to = ct->tuplehash[dir].tuple.dst.u3.ip;
150 nf_ct_helper_log(skb, ct, "parser failed\n");
161 struct nf_conn *ct,
176 if (!(ct->status & IPS_NAT_MASK))
185 nf_ct_helper_log(skb, ct, "dropping malformed packet\n");
190 nf_ct_helper_log(skb, ct, "canno
160 help(struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo) argument
[all...]
H A Dnf_socket_ipv4.c94 struct nf_conn const *ct; local
131 ct = nf_ct_get(skb, &ctinfo);
132 if (ct &&
137 (ct->status & IPS_SRC_NAT_DONE)) {
139 daddr = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip;
141 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.tcp.port :
142 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port;
/linux-master/net/netfilter/
H A Dnf_nat_helper.c87 struct nf_conn *ct,
114 nf_nat_csum_recalc(skb, nf_ct_l3num(ct), IPPROTO_TCP,
118 nf_ct_seqadj_set(ct, ctinfo, tcph->seq,
137 struct nf_conn *ct,
170 nf_nat_csum_recalc(skb, nf_ct_l3num(ct), IPPROTO_UDP,
179 void nf_nat_follow_master(struct nf_conn *ct, argument
185 BUG_ON(ct->status & IPS_NAT_DONE_MASK);
190 = ct->master->tuplehash[!exp->dir].tuple.dst.u3;
191 nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC);
197 = ct
86 __nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len, bool adjust) argument
136 nf_nat_mangle_udp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) argument
[all...]
H A Dnf_conntrack_sane.c60 struct nf_conn *ct,
68 struct nf_ct_sane_master *ct_sane_info = nfct_help_data(ct);
145 exp = nf_ct_expect_alloc(ct);
147 nf_ct_helper_log(skb, ct, "cannot alloc expectation");
151 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple;
152 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct),
161 nf_ct_helper_log(skb, ct, "cannot add expectation");
58 help(struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo) argument
H A Dnf_conntrack_ovs.c2 /* Support ct functions for openvswitch and used by OVS and TC conntrack. */
12 int nf_ct_helper(struct sk_buff *skb, struct nf_conn *ct, argument
23 help = nfct_help(ct);
63 err = helper->help(skb, protoff, ct, ctinfo);
71 if (test_bit(IPS_SEQ_ADJUST_BIT, &ct->status) &&
72 !nf_ct_seq_adjust(skb, ct, ctinfo, protoff))
78 int nf_ct_add_helper(struct nf_conn *ct, const char *name, u8 family, argument
89 help = nf_ct_helper_ext_add(ct, GFP_KERNEL);
H A Dnf_conntrack_extend.c92 void *nf_ct_ext_add(struct nf_conn *ct, enum nf_ct_ext_id id, gfp_t gfp) argument
98 WARN_ON(nf_ct_is_confirmed(ct));
103 if (ct->ext) {
104 const struct nf_ct_ext *old = ct->ext;
117 new = krealloc(ct->ext, alloc, gfp);
121 if (!ct->ext) {
130 ct->ext = new;
H A Dnf_conntrack_proto_icmp.c70 int nf_conntrack_icmp_packet(struct nf_conn *ct, argument
78 unsigned int *timeout = nf_ct_timeout_lookup(ct);
89 if (ct->tuplehash[0].tuple.dst.u.icmp.type >= sizeof(valid_new) ||
90 !valid_new[ct->tuplehash[0].tuple.dst.u.icmp.type]) {
93 ct->tuplehash[0].tuple.dst.u.icmp.type);
94 nf_ct_dump_tuple_ip(&ct->tuplehash[0].tuple);
99 timeout = &nf_icmp_pernet(nf_ct_net(ct))->timeout;
101 nf_ct_refresh_acct(ct, ctinfo, skb, *timeout);
118 struct nf_conn *ct; local
168 ct
[all...]
H A Dnf_conntrack_helper.c178 nf_ct_helper_ext_add(struct nf_conn *ct, gfp_t gfp) argument
182 help = nf_ct_ext_add(ct, NF_CT_EXT_HELPER, gfp);
191 int __nf_ct_try_assign_helper(struct nf_conn *ct, struct nf_conn *tmpl, argument
198 if (test_bit(IPS_HELPER_BIT, &ct->status))
207 set_bit(IPS_HELPER_BIT, &ct->status);
210 help = nfct_help(ct);
219 help = nf_ct_helper_ext_add(ct, flags);
240 /* appropriate ct lock protecting must be taken by caller */
241 static int unhelp(struct nf_conn *ct, void *me) argument
243 struct nf_conn_help *help = nfct_help(ct);
254 nf_ct_helper_destroy(struct nf_conn *ct) argument
321 nf_ct_helper_log(struct sk_buff *skb, const struct nf_conn *ct, const char *fmt, ...) argument
427 nf_ct_helper_init(struct nf_conntrack_helper *helper, u16 l3num, u16 protonum, const char *name, u16 default_port, u16 spec_port, u32 id, const struct nf_conntrack_expect_policy *exp_pol, u32 expect_class_max, int (*help)(struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo), int (*from_nlattr)(struct nlattr *attr, struct nf_conn *ct), struct module *module) argument
[all...]
H A Dnft_flow_offload.c50 const struct nf_conn *ct,
54 const void *daddr = &ct->tuplehash[!dir].tuple.src.u3;
188 const struct nf_conn *ct,
198 if (nft_dev_fill_forward_path(route, dst, ct, dir, ha, &stack) >= 0)
222 const struct nf_conn *ct,
234 fl.u.ip4.daddr = ct->tuplehash[dir].tuple.src.u3.ip;
235 fl.u.ip4.saddr = ct->tuplehash[!dir].tuple.src.u3.ip;
243 fl.u.ip6.daddr = ct->tuplehash[dir].tuple.src.u3.in6;
244 fl.u.ip6.saddr = ct->tuplehash[!dir].tuple.src.u3.in6;
267 nft_dev_forward_path(route, ct, di
48 nft_dev_fill_forward_path(const struct nf_flow_route *route, const struct dst_entry *dst_cache, const struct nf_conn *ct, enum ip_conntrack_dir dir, u8 *ha, struct net_device_path_stack *stack) argument
187 nft_dev_forward_path(struct nf_flow_route *route, const struct nf_conn *ct, enum ip_conntrack_dir dir, struct nft_flowtable *ft) argument
221 nft_flow_route(const struct nft_pktinfo *pkt, const struct nf_conn *ct, struct nf_flow_route *route, enum ip_conntrack_dir dir, struct nft_flowtable *ft) argument
302 struct nf_conn *ct; local
[all...]
H A Dnf_flow_table_core.c25 struct nf_conntrack_tuple *ctt = &flow->ct->tuplehash[dir].tuple;
52 struct flow_offload *flow_offload_alloc(struct nf_conn *ct) argument
56 if (unlikely(nf_ct_is_dying(ct)))
63 refcount_inc(&ct->ct_general.use);
64 flow->ct = ct;
69 if (ct->status & IPS_SRC_NAT)
71 if (ct->status & IPS_DST_NAT)
174 static void flow_offload_fixup_ct(struct nf_conn *ct) argument
176 struct net *net = nf_ct_net(ct);
[all...]
/linux-master/tools/testing/selftests/timens/
H A Dtimens.c36 #define ct(clock, off_id) { clock, #clock, off_id } macro
38 ct(CLOCK_BOOTTIME, -1),
39 ct(CLOCK_BOOTTIME_ALARM, 1),
40 ct(CLOCK_MONOTONIC, -1),
41 ct(CLOCK_MONOTONIC_COARSE, 1),
42 ct(CLOCK_MONOTONIC_RAW, 1),
44 #undef ct macro
/linux-master/include/linux/netfilter/
H A Dnf_conntrack_sip.h68 int (*match_len)(const struct nf_conn *ct,
169 int ct_sip_parse_request(const struct nf_conn *ct, const char *dptr,
173 int ct_sip_get_header(const struct nf_conn *ct, const char *dptr,
177 int ct_sip_parse_header_uri(const struct nf_conn *ct, const char *dptr,
182 int ct_sip_parse_address_param(const struct nf_conn *ct, const char *dptr,
187 int ct_sip_parse_numerical_param(const struct nf_conn *ct, const char *dptr,
192 int ct_sip_get_sdp_header(const struct nf_conn *ct, const char *dptr,
/linux-master/arch/s390/kernel/
H A Dcache.c129 union cache_topology ct; local
134 ct.raw = ecag(EXTRACT_TOPOLOGY, 0, 0);
136 ctype = get_cache_type(&ct.ci[0], level);
152 union cache_topology ct; local
155 ct.raw = ecag(EXTRACT_TOPOLOGY, 0, 0);
160 pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0;
161 ctype = get_cache_type(&ct.ci[0], level);
/linux-master/drivers/macintosh/
H A Dwindfarm_pm91.c538 static void wf_smu_new_control(struct wf_control *ct) argument
543 if (fan_cpu_main == NULL && !strcmp(ct->name, "cpu-rear-fan-0")) {
544 if (wf_get_control(ct) == 0)
545 fan_cpu_main = ct;
548 if (fan_cpu_second == NULL && !strcmp(ct->name, "cpu-rear-fan-1")) {
549 if (wf_get_control(ct) == 0)
550 fan_cpu_second = ct;
553 if (fan_cpu_third == NULL && !strcmp(ct->name, "cpu-front-fan-0")) {
554 if (wf_get_control(ct) == 0)
555 fan_cpu_third = ct;
[all...]
H A Dwindfarm_pm112.c275 struct wf_control *ct; local
333 ct = cpu_fans[i];
334 if (ct == NULL)
336 err = ct->ops->set_value(ct, target * cpu_fan_scale[i] / 100);
339 "error %d\n", ct->name, err);
558 static void pm112_new_control(struct wf_control *ct) argument
562 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) {
563 if (wf_get_control(ct) == 0)
564 cpufreq_clamp = ct;
[all...]
/linux-master/arch/arm/plat-orion/
H A Dgpio.c355 struct irq_chip_type *ct = irq_data_get_chip_type(d); local
372 if (!(ct->type & type))
495 struct irq_chip_type *ct = irq_data_get_chip_type(d); local
500 reg_val = irq_reg_readl(gc, ct->regs.mask);
502 irq_reg_writel(gc, reg_val, ct->regs.mask);
509 struct irq_chip_type *ct = irq_data_get_chip_type(d); local
514 reg_val = irq_reg_readl(gc, ct->regs.mask);
516 irq_reg_writel(gc, reg_val, ct->regs.mask);
527 struct irq_chip_type *ct; local
582 ct
[all...]
/linux-master/net/bridge/netfilter/
H A Dnf_conntrack_bridge.c151 const struct nf_conn *ct; local
157 ct = nf_ct_get(skb, &ctinfo);
158 if (ct)
159 zone_id = nf_ct_zone_id(nf_ct_zone(ct), CTINFO2DIR(ctinfo));
182 const struct nf_conn *ct; local
185 ct = nf_ct_get(skb, &ctinfo);
186 if (ct)
187 zone_id = nf_ct_zone_id(nf_ct_zone(ct), CTINFO2DIR(ctinfo));
245 struct nf_conn *ct; local
249 ct
299 struct nf_conn *ct; local
[all...]
/linux-master/net/openvswitch/
H A Dconntrack.h83 key->ct.mark = 0;
84 memset(&key->ct.labels, 0, sizeof(key->ct.labels));
/linux-master/sound/soc/au1x/
H A Dpsc-i2s.c55 unsigned long ct; local
60 ct = pscdata->cfg;
62 ct &= ~(PSC_I2SCFG_XM | PSC_I2SCFG_MLJ); /* left-justified */
65 ct |= PSC_I2SCFG_XM; /* enable I2S mode */
70 ct |= PSC_I2SCFG_MLJ; /* LSB (right-) justified */
76 ct &= ~(PSC_I2SCFG_BI | PSC_I2SCFG_WI); /* IB-IF */
79 ct |= PSC_I2SCFG_BI | PSC_I2SCFG_WI;
82 ct |= PSC_I2SCFG_BI;
85 ct |= PSC_I2SCFG_WI;
95 ct |
[all...]
/linux-master/drivers/gpio/
H A Dgpio-sodaville.c128 struct irq_chip_type *ct; local
159 ct = sd->gc->chip_types;
160 ct->type = IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW;
161 ct->regs.eoi = GPSTR;
162 ct->regs.mask = GPIO_INT;
163 ct->chip.irq_mask = irq_gc_mask_clr_bit;
164 ct->chip.irq_unmask = irq_gc_mask_set_bit;
165 ct->chip.irq_eoi = irq_gc_eoi;
166 ct->chip.irq_set_type = sdv_gpio_pub_set_type;
/linux-master/arch/arm/boot/compressed/
H A Dstring.c98 int memcmp(const void *cs, const void *ct, size_t count) argument
100 const unsigned char *su1 = cs, *su2 = ct, *end = su1 + count;
111 int strcmp(const char *cs, const char *ct) argument
118 c2 = *ct++;
/linux-master/arch/arm/mach-imx/
H A Dtzic.c103 struct irq_chip_type *ct; local
110 ct = gc->chip_types;
111 ct->chip.irq_mask = irq_gc_mask_disable_reg;
112 ct->chip.irq_unmask = irq_gc_unmask_enable_reg;
113 ct->chip.irq_set_wake = irq_gc_set_wake;
114 ct->chip.irq_suspend = tzic_irq_suspend;
115 ct->chip.irq_resume = tzic_irq_resume;
116 ct->regs.disable = TZIC_ENCLEAR0(idx);
117 ct->regs.enable = TZIC_ENSET0(idx);

Completed in 375 milliseconds

1234567891011>>