| /linux-6.15/net/netfilter/ |
| H A D | nf_nat_helper.c | 30 unsigned int rep_len) in mangle_contents() argument 38 memmove(data + match_offset + rep_len, in mangle_contents() 47 if (rep_len > match_len) { in mangle_contents() 50 skb_put(skb, rep_len - match_len); in mangle_contents() 93 unsigned int rep_len, bool adjust) in __nf_nat_mangle_tcp_packet() argument 101 if (rep_len > match_len && in __nf_nat_mangle_tcp_packet() 103 !enlarge_skb(skb, rep_len - match_len)) in __nf_nat_mangle_tcp_packet() 117 if (adjust && rep_len != match_len) in __nf_nat_mangle_tcp_packet() 119 (int)rep_len - (int)match_len); in __nf_nat_mangle_tcp_packet() 143 unsigned int rep_len) in nf_nat_mangle_udp_packet() argument [all …]
|
| /linux-6.15/tools/accounting/ |
| H A D | procacct.c | 179 int rep_len; in get_family_id() local 188 rep_len = recv(sd, &ans, sizeof(ans), 0); in get_family_id() 190 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id() 264 int c, rc, rep_len; in main() local 350 rep_len = recv(nl_sd, &msg, sizeof(msg), 0); in main() 351 PRINTF("received %d bytes\n", rep_len); in main() 353 if (rep_len < 0) { in main() 359 !NLMSG_OK((&msg.n), rep_len)) { in main() 368 sizeof(struct nlmsghdr), msg.n.nlmsg_len, rep_len); in main() 371 rep_len = GENLMSG_PAYLOAD(&msg.n); in main() [all …]
|
| H A D | getdelays.c | 172 int rep_len; in get_family_id() local 181 rep_len = recv(sd, &ans, sizeof(ans), 0); in get_family_id() 183 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id() 298 int c, rc, rep_len, aggr_len, len2; in main() local 485 rep_len = recv(nl_sd, &msg, sizeof(msg), 0); in main() 486 PRINTF("received %d bytes\n", rep_len); in main() 488 if (rep_len < 0) { in main() 494 !NLMSG_OK((&msg.n), rep_len)) { in main() 502 sizeof(struct nlmsghdr), msg.n.nlmsg_len, rep_len); in main() 505 rep_len = GENLMSG_PAYLOAD(&msg.n); in main() [all …]
|
| /linux-6.15/include/net/netfilter/ |
| H A D | nf_nat_helper.h | 15 unsigned int rep_len, bool adjust); 24 unsigned int rep_len) in nf_nat_mangle_tcp_packet() argument 28 rep_buffer, rep_len, true); in nf_nat_mangle_tcp_packet() 35 unsigned int rep_len);
|
| /linux-6.15/drivers/virt/coco/sev-guest/ |
| H A D | sev-guest.c | 348 unsigned int rep_len, man_len, certs_len; in sev_svsm_report_new() local 368 rep_len = SZ_4K; in sev_svsm_report_new() 386 size = rep_len + man_len + certs_len; in sev_svsm_report_new() 393 ac.report_buf.len = rep_len; in sev_svsm_report_new() 395 man = rep + rep_len; in sev_svsm_report_new() 414 if (ac.report_buf.len > rep_len) { in sev_svsm_report_new() 415 rep_len = PAGE_ALIGN(ac.report_buf.len); in sev_svsm_report_new() 448 rep_len = ac.report_buf.len; in sev_svsm_report_new() 449 void *rbuf __free(kvfree) = kvzalloc(rep_len, GFP_KERNEL); in sev_svsm_report_new() 462 memcpy(rbuf, rep, rep_len); in sev_svsm_report_new() [all …]
|
| /linux-6.15/drivers/scsi/ |
| H A D | sd_zbc.c | 122 unsigned int rep_len; in sd_zbc_do_report_zones() local 144 rep_len = get_unaligned_be32(&buf[0]); in sd_zbc_do_report_zones() 145 if (rep_len < 64) { in sd_zbc_do_report_zones() 148 rep_len); in sd_zbc_do_report_zones()
|
| H A D | scsi_debug.c | 5832 u32 alloc_len, rep_opts, rep_len; in resp_report_zones() local 5959 rep_len = (unsigned long)desc - (unsigned long)arr; in resp_report_zones() 5960 ret = fill_from_dev_buffer(scp, arr, min_t(u32, alloc_len, rep_len)); in resp_report_zones()
|
| /linux-6.15/drivers/s390/crypto/ |
| H A D | zcrypt_ep11misc.c | 490 struct ep11_cprb *rep, size_t rep_len) in prep_urb() argument 497 u->resp_len = rep_len; in prep_urb()
|