Searched refs:ct (Results 151 - 175 of 349) sorted by relevance

1234567891011>>

/linux-master/drivers/macintosh/
H A Dwindfarm_smu_controls.c109 static void smu_fan_release(struct wf_control *ct) argument
111 struct smu_fan_control *fct = to_smu_fan(ct);
116 static int smu_fan_set(struct wf_control *ct, s32 value) argument
118 struct smu_fan_control *fct = to_smu_fan(ct);
129 static int smu_fan_get(struct wf_control *ct, s32 *value) argument
131 struct smu_fan_control *fct = to_smu_fan(ct);
136 static s32 smu_fan_min(struct wf_control *ct) argument
138 struct smu_fan_control *fct = to_smu_fan(ct);
142 static s32 smu_fan_max(struct wf_control *ct) argument
144 struct smu_fan_control *fct = to_smu_fan(ct);
[all...]
H A Dwindfarm_rm31.c567 static void rm31_new_control(struct wf_control *ct) argument
571 if (!strcmp(ct->name, "cpu-fan-a-0"))
572 cpu_fans[0][0] = ct;
573 else if (!strcmp(ct->name, "cpu-fan-b-0"))
574 cpu_fans[0][1] = ct;
575 else if (!strcmp(ct->name, "cpu-fan-c-0"))
576 cpu_fans[0][2] = ct;
577 else if (!strcmp(ct->name, "cpu-fan-a-1"))
578 cpu_fans[1][0] = ct;
579 else if (!strcmp(ct
[all...]
H A Dwindfarm_fcu_controls.c78 static void wf_fcu_fan_release(struct wf_control *ct) argument
80 struct wf_fcu_fan *fan = ct->priv;
144 static int wf_fcu_fan_set_rpm(struct wf_control *ct, s32 value) argument
146 struct wf_fcu_fan *fan = ct->priv;
166 static int wf_fcu_fan_get_rpm(struct wf_control *ct, s32 *value) argument
168 struct wf_fcu_fan *fan = ct->priv;
201 static int wf_fcu_fan_set_pwm(struct wf_control *ct, s32 value) argument
203 struct wf_fcu_fan *fan = ct->priv;
223 static int wf_fcu_fan_get_pwm(struct wf_control *ct, s32 *value) argument
225 struct wf_fcu_fan *fan = ct
252 wf_fcu_fan_min(struct wf_control *ct) argument
259 wf_fcu_fan_max(struct wf_control *ct) argument
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_gt_tlb_invalidation.c104 mutex_lock(&gt->uc.guc.ct.lock);
119 wake_up_all(&guc->ct.wq);
125 mutex_unlock(&gt->uc.guc.ct.lock);
155 mutex_lock(&guc->ct.lock);
162 ret = xe_guc_ct_send_locked(&guc->ct, action, len,
195 mutex_unlock(&guc->ct.lock);
239 if (xe_guc_ct_enabled(&gt->uc.guc.ct) &&
375 ret = wait_event_timeout(guc->ct.wq,
383 xe_guc_ct_print(&guc->ct, &p, true);
437 wake_up_all(&guc->ct
[all...]
H A Dxe_guc_types.h59 /** @ct: GuC ct */
60 struct xe_guc_ct ct; member in struct:xe_guc
/linux-master/net/netfilter/
H A Dnf_conntrack_ftp.c344 static void update_nl_seq(struct nf_conn *ct, u32 nl_seq, argument
371 struct nf_conn *ct,
382 struct nf_ct_ftp_master *ct_ftp_info = nfct_help_data(ct);
413 /* seqadj (nat) uses ct->lock internally, nf_nat_ftp would cause deadlock */
441 cmd.l3num = nf_ct_l3num(ct);
442 memcpy(cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all,
461 nf_ct_helper_log(skb, ct, "partial matching of `%s'",
474 exp = nf_ct_expect_alloc(ct);
476 nf_ct_helper_log(skb, ct, "cannot alloc expectation");
484 daddr = &ct
369 help(struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo) argument
547 nf_ct_ftp_from_nlattr(struct nlattr *attr, struct nf_conn *ct) argument
[all...]
H A Dnf_nat_redirect.c34 struct nf_conn *ct; local
36 ct = nf_ct_get(skb, &ctinfo);
46 return nf_nat_setup_info(ct, &newrange, NF_NAT_MANIP_DST);
H A Dnf_synproxy_core.c186 struct tcphdr *th, struct nf_conn *ct,
333 struct nf_conn *ct; local
336 ct = nf_ct_tmpl_alloc(net, &nf_ct_zone_dflt, GFP_KERNEL);
337 if (!ct)
340 if (!nfct_seqadj_ext_add(ct))
342 if (!nfct_synproxy_ext_add(ct))
345 __set_bit(IPS_CONFIRMED_BIT, &ct->status);
346 snet->tmpl = ct;
361 nf_ct_tmpl_free(ct);
645 struct nf_conn *ct; local
185 synproxy_tstamp_adjust(struct sk_buff *skb, unsigned int protoff, struct tcphdr *th, struct nf_conn *ct, enum ip_conntrack_info ctinfo, const struct nf_conn_synproxy *synproxy) argument
1062 struct nf_conn *ct; local
[all...]
H A Dxt_connbytes.c24 const struct nf_conn *ct; local
32 ct = nf_ct_get(skb, &ctinfo);
33 if (!ct)
36 acct = nf_conn_acct_find(ct);
H A Dnf_conntrack_proto_icmpv6.c89 int nf_conntrack_icmpv6_packet(struct nf_conn *ct, argument
94 unsigned int *timeout = nf_ct_timeout_lookup(ct);
103 if (!nf_ct_is_confirmed(ct)) {
104 int type = ct->tuplehash[0].tuple.dst.u.icmp.type - 128;
110 nf_ct_dump_tuple_ipv6(&ct->tuplehash[0].tuple);
116 timeout = icmpv6_get_timeouts(nf_ct_net(ct));
121 nf_ct_refresh_acct(ct, ctinfo, skb, *timeout);
201 state->net->ct.sysctl_checksum &&
H A Dxt_NETMAP.c23 struct nf_conn *ct; local
28 ct = nf_ct_get(skb, &ctinfo);
51 return nf_nat_setup_info(ct, &newrange, HOOK2MANIP(xt_hooknum(par)));
71 struct nf_conn *ct; local
81 ct = nf_ct_get(skb, &ctinfo);
101 return nf_nat_setup_info(ct, &newrange, HOOK2MANIP(xt_hooknum(par)));
H A Dnf_conntrack_bpf.c107 struct nf_conn *ct; local
133 ct = nf_conntrack_alloc(net, &nf_ct_zone_dflt, &otuple, &rtuple,
135 if (IS_ERR(ct))
138 memset(&ct->proto, 0, sizeof(ct->proto));
139 __nf_ct_set_timeout(ct, timeout * HZ);
145 return ct;
155 struct nf_conn *ct; local
183 ct = nf_ct_tuplehash_to_ctrack(hash);
186 return ct;
[all...]
/linux-master/tools/testing/selftests/net/netfilter/
H A Dconntrack_icmp_related.sh120 meta l4proto icmpv6 icmpv6 type "packet-too-big" ct state "related" counter name "related" accept
121 meta l4proto icmp icmp type "destination-unreachable" ct state "related" counter name "related" accept
122 meta l4proto { icmp, icmpv6 } ct state new,established accept
138 icmp type "redirect" ct state "related" counter name "redir4" accept
139 icmpv6 type "nd-redirect" ct state "related" counter name "redir6" accept
141 meta l4proto { icmp, icmpv6 } ct state established,untracked accept
142 meta l4proto { icmp, icmpv6 } ct state "related" counter name "related" accept
157 meta l4proto { icmp, icmpv6 } ct state established,untracked accept
159 meta l4proto { icmp, icmpv6 } ct state "new" counter name "new" accept
160 meta l4proto { icmp, icmpv6 } ct stat
[all...]
H A Dconntrack_vrf.sh97 iif veth0 counter ct zone set 1 counter return
98 iif tvrf counter ct zone set 2 counter return
106 oif veth0 counter ct zone set 1 counter return
107 oif tvrf counter ct zone set 2 counter return
150 oif tvrf ct state untracked counter
155 oif tvrf ct state untracked counter
/linux-master/lib/zstd/compress/
H A Dhuf_compress.c173 HUF_CElt const* const ct = CTable + 1; local
187 wksp->huffWeight[n] = wksp->bitsToWeight[HUF_getNbBits(ct[n])];
224 HUF_CElt* const ct = CTable + 1; local
247 HUF_setNbBits(ct + n, (BYTE)(tableLog + 1 - w) & -(w != 0));
253 { U32 n; for (n=0; n<nbSymbols; n++) nbPerRank[HUF_getNbBits(ct[n])]++; }
263 { U32 n; for (n=0; n<nbSymbols; n++) HUF_setValue(ct + n, valPerRank[HUF_getNbBits(ct[n])]++); }
272 const HUF_CElt* ct = CTable + 1; local
274 return (U32)HUF_getNbBits(ct[symbolValue]);
655 HUF_CElt* const ct local
709 HUF_CElt const* ct = CTable + 1; local
719 HUF_CElt const* ct = CTable + 1; local
898 HUF_compress1X_usingCTable_internal_body_loop(HUF_CStream_t* bitC, const BYTE* ip, size_t srcSize, const HUF_CElt* ct, int kUnroll, int kFastFlush, int kLastFast) argument
968 HUF_CElt const* ct = CTable + 1; local
[all...]
H A Dfse_compress.c67 size_t FSE_buildCTable_wksp(FSE_CTable* ct, argument
73 void* const ptr = ct;
353 void FSE_freeCTable (FSE_CTable* ct) { ZSTD_free(ct); } argument
537 size_t FSE_buildCTable_raw (FSE_CTable* ct, unsigned nbBits) argument
542 void* const ptr = ct;
570 size_t FSE_buildCTable_rle (FSE_CTable* ct, BYTE symbolValue) argument
572 void* ptr = ct;
595 const FSE_CTable* ct, const unsigned fast)
612 FSE_initCState2(&CState1, ct, *
593 FSE_compress_usingCTable_generic(void* dst, size_t dstSize, const void* src, size_t srcSize, const FSE_CTable* ct, const unsigned fast) argument
652 FSE_compress_usingCTable(void* dst, size_t dstSize, const void* src, size_t srcSize, const FSE_CTable* ct) argument
[all...]
/linux-master/lib/zstd/common/
H A Dfse.h165 FSE_PUBLIC_API void FSE_freeCTable (FSE_CTable* ct);
168 Builds `ct`, which must be already allocated, using FSE_createCTable().
170 FSE_PUBLIC_API size_t FSE_buildCTable(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog);
173 Compress `src` using `ct` into `dst` which must be already allocated.
177 FSE_PUBLIC_API size_t FSE_compress_usingCTable (void* dst, size_t dstCapacity, const void* src, size_t srcSize, const FSE_CTable* ct);
327 size_t FSE_buildCTable_raw (FSE_CTable* ct, unsigned nbBits);
330 size_t FSE_buildCTable_rle (FSE_CTable* ct, unsigned char symbolValue);
340 size_t FSE_buildCTable_wksp(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize);
381 static void FSE_initCState(FSE_CState_t* CStatePtr, const FSE_CTable* ct);
396 FSE_CTable ct; // Provide
511 FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) argument
526 FSE_initCState2(FSE_CState_t* statePtr, const FSE_CTable* ct, U32 symbol) argument
[all...]
/linux-master/lib/
H A Dstring.c258 * @ct: Another string
260 int strcmp(const char *cs, const char *ct) argument
266 c2 = *ct++;
281 * @ct: Another string
284 int strncmp(const char *cs, const char *ct, size_t count) argument
290 c2 = *ct++;
463 * @ct: The characters to search for
465 char *strpbrk(const char *cs, const char *ct) argument
470 if (strchr(ct, *sc))
482 * @ct
490 strsep(char **s, const char *ct) argument
655 memcmp(const void *cs, const void *ct, size_t count) argument
[all...]
/linux-master/net/sched/
H A Dact_ctinfo.c30 static void tcf_ctinfo_dscp_set(struct nf_conn *ct, struct tcf_ctinfo *ca, argument
36 newdscp = (((READ_ONCE(ct->mark) & cp->dscpmask) >> cp->dscpmaskshift) << 2) &
71 static void tcf_ctinfo_cpmark_set(struct nf_conn *ct, struct tcf_ctinfo *ca, argument
76 skb->mark = READ_ONCE(ct->mark) & cp->cpmarkmask;
89 struct nf_conn *ct; local
119 ct = nf_ct_get(skb, &ctinfo);
120 if (!ct) { /* look harder, usually ingress */
131 ct = nf_ct_tuplehash_to_ctrack(thash);
135 if (!cp->dscpstatemask || (READ_ONCE(ct->mark) & cp->dscpstatemask))
136 tcf_ctinfo_dscp_set(ct, c
[all...]
/linux-master/include/linux/
H A Dvt_kern.h65 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list);
66 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, struct unipair __user *list);
93 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) argument
98 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, argument
/linux-master/mm/
H A Dshow_mem.c435 struct codetag *ct = tags[i].ct; local
436 struct alloc_tag *tag = ct_to_alloc_tag(ct);
440 if (ct->modname)
442 counter.bytes, counter.calls, ct->filename,
443 ct->lineno, ct->modname, ct->function);
446 counter.bytes, counter.calls, ct->filename,
447 ct
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.h36 #define amdgpu_display_add_connector(adev, ci, sd, ct, ib, coi, h, r) (adev)->mode_info.funcs->add_connector((adev), (ci), (sd), (ct), (ib), (coi), (h), (r))
/linux-master/arch/x86/include/asm/
H A Dstring_64.h74 int memcmp(const void *cs, const void *ct, size_t count);
78 int strcmp(const char *cs, const char *ct);
/linux-master/drivers/gpio/
H A Dgpio-mvebu.c419 struct irq_chip_type *ct = irq_data_get_chip_type(d); local
423 ct->mask_cache_priv &= ~mask;
424 mvebu_gpio_write_edge_mask(mvchip, ct->mask_cache_priv);
432 struct irq_chip_type *ct = irq_data_get_chip_type(d); local
437 ct->mask_cache_priv |= mask;
438 mvebu_gpio_write_edge_mask(mvchip, ct->mask_cache_priv);
446 struct irq_chip_type *ct = irq_data_get_chip_type(d); local
450 ct->mask_cache_priv &= ~mask;
451 mvebu_gpio_write_level_mask(mvchip, ct->mask_cache_priv);
459 struct irq_chip_type *ct local
497 struct irq_chip_type *ct = irq_data_get_chip_type(d); local
1127 struct irq_chip_type *ct; local
[all...]
/linux-master/net/netfilter/ipvs/
H A Dip_vs_conn.c767 int ip_vs_check_template(struct ip_vs_conn *ct, struct ip_vs_dest *cdest) argument
769 struct ip_vs_dest *dest = ct->dest;
770 struct netns_ipvs *ipvs = ct->ipvs;
782 ip_vs_proto_name(ct->protocol),
783 IP_VS_DBG_ADDR(ct->af, &ct->caddr),
784 ntohs(ct->cport),
785 IP_VS_DBG_ADDR(ct->af, &ct->vaddr),
786 ntohs(ct
860 struct ip_vs_conn *ct = cp->control; local
[all...]

Completed in 527 milliseconds

1234567891011>>