Lines Matching refs:offset
11 __u32 *offset; in test_xdp_update_frags() local
31 offset = (__u32 *)buf; in test_xdp_update_frags()
32 *offset = 16; in test_xdp_update_frags()
33 buf[*offset] = 0xaa; /* marker at offset 16 (head) */ in test_xdp_update_frags()
34 buf[*offset + 15] = 0xaa; /* marker at offset 31 (head) */ in test_xdp_update_frags()
56 offset = (__u32 *)buf; in test_xdp_update_frags()
57 *offset = 5000; in test_xdp_update_frags()
58 buf[*offset] = 0xaa; /* marker at offset 5000 (frag0) */ in test_xdp_update_frags()
59 buf[*offset + 15] = 0xaa; /* marker at offset 5015 (frag0) */ in test_xdp_update_frags()
75 offset = (__u32 *)buf; in test_xdp_update_frags()
76 *offset = 3510; in test_xdp_update_frags()
77 buf[*offset] = 0xaa; /* marker at offset 3510 (head) */ in test_xdp_update_frags()
78 buf[*offset + 15] = 0xaa; /* marker at offset 3525 (frag0) */ in test_xdp_update_frags()
89 offset = (__u32 *)buf; in test_xdp_update_frags()
90 *offset = 7606; in test_xdp_update_frags()
91 buf[*offset] = 0xaa; /* marker at offset 7606 (frag0) */ in test_xdp_update_frags()
92 buf[*offset + 15] = 0xaa; /* marker at offset 7621 (frag1) */ in test_xdp_update_frags()
124 offset = (__u32 *)buf; in test_xdp_update_frags()
125 *offset = 16; in test_xdp_update_frags()
126 buf[*offset] = 0xaa; in test_xdp_update_frags()
127 buf[*offset + 15] = 0xaa; in test_xdp_update_frags()