Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 90) sorted by relevance

1234

/linux-4.19.296/include/net/
Ddsfield.h31 __u32 check = ntohs((__force __be16)iph->check); in ipv4_change_dsfield() local
35 check += iph->tos; in ipv4_change_dsfield()
36 if ((check+1) >> 16) check = (check+1) & 0xffff; in ipv4_change_dsfield()
37 check -= dsfield; in ipv4_change_dsfield()
38 check += check >> 16; /* adjust carry */ in ipv4_change_dsfield()
39 iph->check = (__force __sum16)htons(check); in ipv4_change_dsfield()
Dinet_ecn.h78 u32 check = (__force u32)iph->check; in IP_ECN_set_ce() local
96 check += (__force u16)htons(0xFFFB) + (__force u16)htons(ecn); in IP_ECN_set_ce()
98 iph->check = (__force __sum16)(check + (check>=0xFFFF)); in IP_ECN_set_ce()
Dip6_checksum.h73 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
75 skb->csum_offset = offsetof(struct tcphdr, check); in __tcp_v6_send_check()
77 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check()
Dvxlan.h356 offsetof(struct udphdr, check) : in vxlan_rco_offset()
357 offsetof(struct tcphdr, check); in vxlan_rco_offset()
364 if (offset == offsetof(struct udphdr, check)) in vxlan_compute_rco()
Dip.h361 u32 check = (__force u32)iph->check; in ip_decrease_ttl() local
362 check += (__force u32)htons(0x0100); in ip_decrease_ttl()
363 iph->check = (__force __sum16)(check + (check>=0xFFFF)); in ip_decrease_ttl()
/linux-4.19.296/lib/
Dtest_user_copy.c92 #define test_legit(size, check) \ in test_user_copy_init() argument
94 val_##size = check; \ in test_user_copy_init()
100 ret |= test(val_##size != check, \ in test_user_copy_init()
102 if (val_##size != check) { \ in test_user_copy_init()
105 (unsigned long long)check); \ in test_user_copy_init()
152 #define test_illegal(size, check) \ in test_user_copy_init() argument
154 val_##size = (check); \ in test_user_copy_init()
Dtest_list_sort.c31 static int __init check(struct debug_el *ela, struct debug_el *elb) in check() function
65 check(ela, elb); in cmp()
122 if (check(el, el1)) { in list_sort_test()
Drbtree_test.c206 static void check(int nr_nodes) in check() function
237 check(nr_nodes); in check_augmented()
338 check(j); in rbtree_test_init()
342 check(nnodes - j); in rbtree_test_init()
345 check(0); in rbtree_test_init()
DKconfig.kasan29 it only includes the address-use-after-scope check that can lead
44 __asan_load*/__asan_store*. These functions performs check
/linux-4.19.296/lib/zlib_inflate/
Dinflate.c163 #define UPDATE(check, buf, len) zlib_adler32(check, buf, len) argument
376 strm->adler = state->check = zlib_adler32(0L, NULL, 0); in zlib_inflate()
382 strm->adler = state->check = REVERSE(hold); in zlib_inflate()
390 strm->adler = state->check = zlib_adler32(0L, NULL, 0); in zlib_inflate()
685 strm->adler = state->check = in zlib_inflate()
686 UPDATE(state->check, put - out, out); in zlib_inflate()
689 REVERSE(hold)) != state->check) { in zlib_inflate()
726 strm->adler = state->check = in zlib_inflate()
727 UPDATE(state->check, strm->next_out - out, out); in zlib_inflate()
776 z->adler = state->check = in zlib_inflateIncomp()
[all …]
Dinflate.h79 unsigned long check; /* protected copy of check value */ member
/linux-4.19.296/drivers/misc/
Dds1682.c62 unsigned long long val, check; in ds1682_show() local
87 check = val; in ds1682_show()
90 } while (val != check && val != (check + 1)); in ds1682_show()
/linux-4.19.296/drivers/pci/
Dsetup-res.c30 u32 new, check, mask; in pci_std_update_resource() local
99 pci_read_config_dword(dev, reg, &check); in pci_std_update_resource()
101 if ((new ^ check) & mask) { in pci_std_update_resource()
103 resno, new, check); in pci_std_update_resource()
109 pci_read_config_dword(dev, reg + 4, &check); in pci_std_update_resource()
110 if (check != new) { in pci_std_update_resource()
112 resno, new, check); in pci_std_update_resource()
/linux-4.19.296/include/net/netfilter/
Dnf_nat_l3proto.h21 __sum16 *check,
26 void *data, __sum16 *check,
/linux-4.19.296/include/trace/events/
Dlock.h16 int trylock, int read, int check,
19 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
/linux-4.19.296/drivers/edac/
Damd8111_edac.h116 void (*check)(struct edac_device_ctl_info *edac_dev); member
127 void (*check)(struct edac_pci_ctl_info *edac_dev); member
Damd8131_edac.h115 void (*check)(struct edac_pci_ctl_info *edac_dev); member
/linux-4.19.296/drivers/dma-buf/
Dreservation.c178 struct dma_fence *check; in reservation_object_add_shared_replace() local
180 check = rcu_dereference_protected(old->shared[i], in reservation_object_add_shared_replace()
183 if (check->context == fence->context || in reservation_object_add_shared_replace()
184 dma_fence_is_signaled(check)) in reservation_object_add_shared_replace()
185 RCU_INIT_POINTER(fobj->shared[--k], check); in reservation_object_add_shared_replace()
187 RCU_INIT_POINTER(fobj->shared[j++], check); in reservation_object_add_shared_replace()
/linux-4.19.296/include/linux/mtd/
Dubi.h251 int len, int check);
253 int offset, int len, int check);
/linux-4.19.296/include/linux/
Dhw_breakpoint.h58 bool check);
105 bool check) { return -ENOSYS; } in modify_user_hw_breakpoint_check() argument
/linux-4.19.296/include/uapi/linux/
Dudp.h27 __sum16 check; member
/linux-4.19.296/fs/jffs2/
Ddebug.c266 #define check(sz) \ in __jffs2_dbg_superblock_counts() macro
275 check(free); in __jffs2_dbg_superblock_counts()
276 check(dirty); in __jffs2_dbg_superblock_counts()
277 check(used); in __jffs2_dbg_superblock_counts()
278 check(wasted); in __jffs2_dbg_superblock_counts()
279 check(unchecked); in __jffs2_dbg_superblock_counts()
280 check(bad); in __jffs2_dbg_superblock_counts()
281 check(erasing); in __jffs2_dbg_superblock_counts()
283 #undef check in __jffs2_dbg_superblock_counts()
DTODO20 - use bad block check instead of the hardwired byte check
/linux-4.19.296/block/partitions/
DMakefile6 obj-$(CONFIG_BLOCK) := check.o
/linux-4.19.296/include/drm/
Ddrm_simple_kms_helper.h95 int (*check)(struct drm_simple_display_pipe *pipe, member

1234