Home
last modified time | relevance | path

Searched +full:4 +full:th (Results 1 – 25 of 729) sorted by relevance

12345678910>>...30

/Linux-v5.10/drivers/gpu/drm/exynos/
Dregs-fimc.h30 /* Y 4th frame start address for output DMA */
38 /* Cb 4th frame start address for output DMA */
46 /* Cr 4th frame start address for output DMA */
120 /* Y 5th frame start address for output DMA */
122 /* Y 6th frame start address for output DMA */
124 /* Y 7th frame start address for output DMA */
126 /* Y 8th frame start address for output DMA */
128 /* Y 9th frame start address for output DMA */
130 /* Y 10th frame start address for output DMA */
132 /* Y 11th frame start address for output DMA */
[all …]
/Linux-v5.10/net/netfilter/
Dnf_synproxy_core.c29 const struct tcphdr *th, struct synproxy_options *opts) in synproxy_parse_options() argument
31 int length = (th->doff * 4) - sizeof(*th); in synproxy_parse_options()
34 ptr = skb_header_pointer(skb, doff + sizeof(*th), length, buf); in synproxy_parse_options()
74 opts->tsecr = get_unaligned_be32(ptr + 4); in synproxy_parse_options()
110 synproxy_build_options(struct tcphdr *th, const struct synproxy_options *opts) in synproxy_build_options() argument
112 __be32 *ptr = (__be32 *)(th + 1); in synproxy_build_options()
160 opts->tsval |= 1 << 4; in synproxy_init_timestamp_cookie()
174 opts->options |= opts->tsecr & (1 << 4) ? NF_SYNPROXY_OPT_SACK_PERM : 0; in synproxy_check_timestamp_cookie()
181 struct tcphdr *th, struct nf_conn *ct, in synproxy_tstamp_adjust() argument
192 optend = protoff + th->doff * 4; in synproxy_tstamp_adjust()
[all …]
Dxt_tcpmss.c28 const struct tcphdr *th; in tcpmss_mt() local
30 /* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */ in tcpmss_mt()
32 u8 _opt[15 * 4 - sizeof(_tcph)]; in tcpmss_mt()
36 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in tcpmss_mt()
37 if (th == NULL) in tcpmss_mt()
41 if (th->doff*4 < sizeof(*th)) in tcpmss_mt()
44 optlen = th->doff*4 - sizeof(*th); in tcpmss_mt()
49 op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt); in tcpmss_mt()
Dnf_log_common.c58 const struct tcphdr *th; in nf_log_dump_tcp_header() local
67 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in nf_log_dump_tcp_header()
68 if (th == NULL) { in nf_log_dump_tcp_header()
75 ntohs(th->source), ntohs(th->dest)); in nf_log_dump_tcp_header()
79 ntohl(th->seq), ntohl(th->ack_seq)); in nf_log_dump_tcp_header()
83 nf_log_buf_add(m, "WINDOW=%u ", ntohs(th->window)); in nf_log_dump_tcp_header()
85 nf_log_buf_add(m, "RES=0x%02x ", (u_int8_t)(ntohl(tcp_flag_word(th) & in nf_log_dump_tcp_header()
88 if (th->cwr) in nf_log_dump_tcp_header()
90 if (th->ece) in nf_log_dump_tcp_header()
92 if (th->urg) in nf_log_dump_tcp_header()
[all …]
Dxt_tcpudp.c39 /* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */ in tcp_find_option()
68 const struct tcphdr *th; in tcp_mt() local
87 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in tcp_mt()
88 if (th == NULL) { in tcp_mt()
97 ntohs(th->source), in tcp_mt()
101 ntohs(th->dest), in tcp_mt()
105 (((unsigned char *)th)[13] & tcpinfo->flg_mask) == tcpinfo->flg_cmp)) in tcp_mt()
108 if (th->doff * 4 < sizeof(_tcph)) { in tcp_mt()
113 th->doff*4 - sizeof(_tcph), in tcp_mt()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_misc_tcp_hdr_options.c35 struct tcphdr th; in __check_active_hdr_in() member
47 /* The option is 4 bytes long instead of 2 bytes */ in __check_active_hdr_in()
53 hdr.reg_opt.len = 4; in __check_active_hdr_in()
62 if (ret != 4 || hdr.reg_opt.len != 4 || hdr.reg_opt.kind != 0xB9 || in __check_active_hdr_in()
76 hdr.exprm_opt.len = 4; in __check_active_hdr_in()
85 if (ret != 4 || hdr.exprm_opt.len != 4 || in __check_active_hdr_in()
118 if (hdr.th.dest != passive_lport_n || hdr.th.source != active_lport_n) in __check_active_hdr_in()
131 struct tcphdr *th; in check_active_hdr_in() local
136 th = skops->skb_data; in check_active_hdr_in()
137 if (th + 1 > skops->skb_data_end) in check_active_hdr_in()
[all …]
Dtest_btf_skc_cls_ingress.c27 static void test_syncookie_helper(struct ipv6hdr *ip6h, struct tcphdr *th, in test_syncookie_helper() argument
31 if (th->syn) { in test_syncookie_helper()
37 if (th->doff * 4 != 40) { in test_syncookie_helper()
42 if ((void *)th + 40 > data_end) { in test_syncookie_helper()
48 th, 40); in test_syncookie_helper()
58 th, sizeof(*th)); in test_syncookie_helper()
64 recv_cookie = bpf_ntohl(th->ack_seq) - 1; in test_syncookie_helper()
74 struct tcphdr *th; in handle_ip6_tcp() local
79 th = (struct tcphdr *)(ip6h + 1); in handle_ip6_tcp()
80 if (th + 1 > data_end) in handle_ip6_tcp()
[all …]
/Linux-v5.10/net/ipv4/
Dtcp_offload.c40 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment() local
46 th->check = 0; in tcp4_gso_segment()
59 struct tcphdr *th; in tcp_gso_segment() local
69 th = tcp_hdr(skb); in tcp_gso_segment()
70 thlen = th->doff * 4; in tcp_gso_segment()
71 if (thlen < sizeof(*th)) in tcp_gso_segment()
115 th = tcp_hdr(skb); in tcp_gso_segment()
116 seq = ntohl(th->seq); in tcp_gso_segment()
121 newcheck = ~csum_fold((__force __wsum)((__force u32)th->check + in tcp_gso_segment()
125 th->fin = th->psh = 0; in tcp_gso_segment()
[all …]
Dtcp_ipv4.c88 __be32 daddr, __be32 saddr, const struct tcphdr *th);
466 struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); in tcp_v4_err() local
478 th->dest, iph->saddr, ntohs(th->source), in tcp_v4_err()
488 seq = ntohl(th->seq); in tcp_v4_err()
583 ip_icmp_error(sk, skb, err, th->dest, info, (u8 *)th); in tcp_v4_err()
629 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check() local
631 th->check = ~tcp_v4_check(skb->len, saddr, daddr, 0); in __tcp_v4_send_check()
660 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset() local
662 struct tcphdr th; in tcp_v4_send_reset() member
680 if (th->rst) in tcp_v4_send_reset()
[all …]
/Linux-v5.10/arch/x86/include/asm/
Dsysfb.h19 M_I24_8_1, /* 24-Inch iMac, 8,1th gen */
20 M_I24_10_1, /* 24-Inch iMac, 10,1th gen */
21 M_I27_11_1, /* 27-Inch iMac, 11,1th gen */
23 M_MINI_3_1, /* Mac Mini, 3,1th gen */
24 M_MINI_4_1, /* Mac Mini, 4,1th gen */
28 M_MB_5_1, /* MacBook, 5th rev. */
29 M_MB_6_1, /* MacBook, 6th rev. */
30 M_MB_7_1, /* MacBook, 7th rev. */
38 M_MBP_4, /* MacBook Pro, 4th gen */
39 M_MBP_5_1, /* MacBook Pro, 5,1th gen */
[all …]
/Linux-v5.10/drivers/net/slip/
Dslhc.c239 struct tcphdr *th, *oth; in slhc_compress() local
251 if (ip->version != 4 || ip->ihl < 5) in slhc_compress()
263 nlen = ip->ihl * 4; in slhc_compress()
264 if (isize < nlen + sizeof(*th)) in slhc_compress()
267 th = (struct tcphdr *)(icp + nlen); in slhc_compress()
268 if (th->doff < sizeof(struct tcphdr) / 4) in slhc_compress()
270 hlen = nlen + th->doff * 4; in slhc_compress()
276 if(hlen > isize || th->syn || th->fin || th->rst || in slhc_compress()
277 ! (th->ack)){ in slhc_compress()
299 && th->source == cs->cs_tcp.source in slhc_compress()
[all …]
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/
Dsharedbuffer_configuration.py36 def _get_static_size(self, th): argument
39 return th * 8000 * self._cell_size()
49 th = random.randint(3, 16)
51 return th
53 return self._get_static_size(th)
71 if objid["pool"] in [4, 8, 9, 10]:
72 # The threshold type of pools 4, 8, 9 and 10 cannot be changed
82 th = self._get_th(pool)
84 return (pool_n, th)
89 th = self._get_th(pool)
[all …]
/Linux-v5.10/fs/reiserfs/
Dbitmap.c26 #define _ALLOC_new_hashed_relocation 4
143 static int scan_bitmap_block(struct reiserfs_transaction_handle *th, in scan_bitmap_block() argument
147 struct super_block *s = th->t_super; in scan_bitmap_block()
153 BUG_ON(!th->t_trans_id); in scan_bitmap_block()
258 journal_mark_dirty(th, bh); in scan_bitmap_block()
265 journal_mark_dirty(th, SB_BUFFER_WITH_SB(s)); in scan_bitmap_block()
284 hash = keyed_hash(hash_in, 4); in bmap_hash_id()
347 static int scan_bitmap(struct reiserfs_transaction_handle *th, in scan_bitmap() argument
352 struct super_block *s = th->t_super; in scan_bitmap()
357 BUG_ON(!th->t_trans_id); in scan_bitmap()
[all …]
Dnamei.c197 /* take bits from 7-th to 30-th including both bounds */ in get_third_component()
432 static int reiserfs_add_entry(struct reiserfs_transaction_handle *th, in reiserfs_add_entry() argument
453 BUG_ON(!th->t_trans_id); in reiserfs_add_entry()
497 /* padd by 0s to the 4 byte boundary */ in reiserfs_add_entry()
547 PROC_INFO_MAX(th->t_super, max_hash_collisions, gen_number); in reiserfs_add_entry()
566 reiserfs_paste_into_item(th, &path, &entry_key, dir, buffer, in reiserfs_add_entry()
579 reiserfs_update_sd(th, dir); in reiserfs_add_entry()
635 struct reiserfs_transaction_handle th; in reiserfs_create() local
660 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_create()
667 reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry, in reiserfs_create()
[all …]
Dinode.c36 struct reiserfs_transaction_handle th; in reiserfs_evict_inode() local
57 if (journal_begin(&th, inode->i_sb, jbegin_count)) in reiserfs_evict_inode()
61 reiserfs_discard_prealloc(&th, inode); in reiserfs_evict_inode()
63 err = reiserfs_delete_object(&th, inode); in reiserfs_evict_inode()
76 if (journal_end(&th)) in reiserfs_evict_inode()
252 static int restart_transaction(struct reiserfs_transaction_handle *th, in restart_transaction() argument
255 struct super_block *s = th->t_super; in restart_transaction()
258 BUG_ON(!th->t_trans_id); in restart_transaction()
259 BUG_ON(!th->t_refcount); in restart_transaction()
264 if (th->t_refcount > 1) { in restart_transaction()
[all …]
/Linux-v5.10/arch/x86/events/intel/
Duncore_snb.c93 #define SNB_UNC_GLOBAL_CTL_CORE_ALL ((1 << 4) - 1)
213 .num_boxes = 4,
262 /* The 8th CBOX has different MSR space */ in skl_uncore_msr_init_box()
290 .num_counters = 4,
510 pci_read_config_dword(pdev, where + 4, &pci_dword); in snb_uncore_imc_init_box()
973 IMC_DEV(HSW_IMC, &hsw_uncore_pci_driver), /* 4th Gen Core Processor */
974 IMC_DEV(HSW_U_IMC, &hsw_uncore_pci_driver), /* 4th Gen Core ULT Mobile Processor */
975 IMC_DEV(BDW_IMC, &bdw_uncore_pci_driver), /* 5th Gen Core U */
976 IMC_DEV(SKL_Y_IMC, &skl_uncore_pci_driver), /* 6th Gen Core Y */
977 IMC_DEV(SKL_U_IMC, &skl_uncore_pci_driver), /* 6th Gen Core U */
[all …]
/Linux-v5.10/drivers/gpu/drm/bridge/
Dsil-sii8620.h38 #define BIT_SYS_CTRL1_BLOCK_DDC_BY_HPD BIT(4)
49 #define BIT_DPD_OSC_EN BIT(4)
59 #define BIT_DCTL_EXT_DDC_SEL BIT(4)
70 #define BIT_PWD_SRST_MHLFIFO_RST BIT(4)
91 #define BIT_VID_OVRRD_3DCONV_EN_FRAME_PACK BIT(4)
125 #define BIT_CTRL1_GPIO_OEN_8 BIT(4)
172 #define BIT_HPD_CTRL_HPD_OUT_OVR_EN BIT(4)
183 #define BIT_CTRL_GPIO_OEN_4 BIT(4)
205 #define BIT_TMDS_CCTRL_TMDS_OE BIT(4)
207 /* TMDS Control #4, default value: 0x02 */
[all …]
/Linux-v5.10/Documentation/admin-guide/
Ddevices.txt9 4 = /dev/port I/O port access
35 255 = /dev/ptyef 256th PTY master
40 the 1st through 16th series of 16 pseudo-ttys each, and
61 4 = /dev/fd?d360 5.25" 360K in a 360K drive(1)
110 255 = /dev/ttyef 256th PTY slave
126 For Linux/i386, partitions 1-4 are the primary
131 4 char TTY devices
147 4 block Aliases for dynamically allocated major devices to be used
255 4 = /dev/jbm J-mouse
256 4 = /dev/amigamouse Amiga mouse (68k/Amiga)
[all …]
/Linux-v5.10/crypto/
Dvmac.c150 int i; u64 th, tl; \
153 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
155 ADD128(rh, rl, th, tl); \
161 int i; u64 th, tl; \
164 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
166 ADD128(rh, rl, th, tl); \
167 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i+2], \
169 ADD128(rh1, rl1, th, tl); \
176 int i; u64 th, tl; \
179 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
[all …]
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-bus-intel_th-devices-pti6 are 4, 8, 12, 16.
21 - 0: Intel TH clock rate,
22 - 1: 1/2 Intel TH clock rate,
23 - 2: 1/4 Intel TH clock rate,
24 - 3: 1/8 Intel TH clock rate.
/Linux-v5.10/Documentation/virt/kvm/
Dppc-pv.rst35 'hypercall-instructions'. This property contains at most 4 opcodes that make
47 r6 4th parameter 3rd output value
48 r7 5th parameter 4th output value
49 r8 6th parameter 5th output value
50 r9 7th parameter 6th output value
51 r10 8th parameter 7th output value
52 r11 hypercall number 8th output value
142 respectively on 32 bit systems with an added offset of 4 to accommodate for big
194 3) patch that code to return to the original pc + 4
195 4) patch the original instruction to branch to the new code
/Linux-v5.10/drivers/thermal/samsung/
Dexynos_tmu.c123 #define EXYNOS_NOISE_CANCEL_MODE 4
377 writeb(temp, data->base + EXYNOS4210_TMU_REG_TRIG_LEVEL0 + trip * 4); in exynos4210_tmu_set_trip_temp()
396 u32 th, con; in exynos4412_tmu_set_trip_temp() local
398 th = readl(data->base + EXYNOS_THD_TEMP_RISE); in exynos4412_tmu_set_trip_temp()
399 th &= ~(0xff << 8 * trip); in exynos4412_tmu_set_trip_temp()
400 th |= temp_to_code(data, temp) << 8 * trip; in exynos4412_tmu_set_trip_temp()
401 writel(th, data->base + EXYNOS_THD_TEMP_RISE); in exynos4412_tmu_set_trip_temp()
413 u32 th; in exynos4412_tmu_set_trip_hyst() local
415 th = readl(data->base + EXYNOS_THD_TEMP_FALL); in exynos4412_tmu_set_trip_hyst()
416 th &= ~(0xff << 8 * trip); in exynos4412_tmu_set_trip_hyst()
[all …]
/Linux-v5.10/net/ceph/
Dauth_x.c119 struct ceph_x_ticket_handler *th; in get_ticket_handler() local
125 th = rb_entry(parent, struct ceph_x_ticket_handler, node); in get_ticket_handler()
126 if (service < th->service) in get_ticket_handler()
128 else if (service > th->service) in get_ticket_handler()
131 return th; in get_ticket_handler()
135 th = kzalloc(sizeof(*th), GFP_NOFS); in get_ticket_handler()
136 if (!th) in get_ticket_handler()
138 th->service = service; in get_ticket_handler()
139 rb_link_node(&th->node, parent, p); in get_ticket_handler()
140 rb_insert_color(&th->node, &xi->ticket_handlers); in get_ticket_handler()
[all …]
/Linux-v5.10/net/ipv6/
Dtcp_ipv6.c369 const struct tcphdr *th = (struct tcphdr *)(skb->data+offset); in tcp_v6_err() local
380 &hdr->daddr, th->dest, in tcp_v6_err()
381 &hdr->saddr, ntohs(th->source), in tcp_v6_err()
394 seq = ntohl(th->seq); in tcp_v6_err()
466 ipv6_icmp_error(sk, skb, err, th->dest, ntohl(info), (u8 *)th); in tcp_v6_err()
650 const struct tcphdr *th, int nbytes) in tcp_v6_md5_hash_headers() argument
664 memcpy(_th, th, sizeof(*th)); in tcp_v6_md5_hash_headers()
667 sg_init_one(&sg, bp, sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
669 sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
675 const struct tcphdr *th) in tcp_v6_md5_hash_hdr() argument
[all …]
/Linux-v5.10/lib/
Dbitmap.c179 * Set the n-th bit of @dst iff the n-th bit of @src is set and
180 * n is less than @first, or the m-th bit of @src is set for any
489 * Region 9-38:4/10 describes the following bitmap structure:
703 for (i = 0; i < 32; i += 4) { in bitmap_get_x32_reverse()
788 * If for example, just bits 4 through 7 are set in @buf, then @pos
789 * values 4 through 7 will get mapped to 0 through 3, respectively,
792 * that bit 7 is the 3rd (starting with 0th) set bit in @buf.
805 * bitmap_ord_to_pos - find position of n-th set bit in bitmap
807 * @ord: ordinal bit position (n-th set bit, n >= 0)
814 * If for example, just bits 4 through 7 are set in @buf, then @ord
[all …]

12345678910>>...30