Home
last modified time | relevance | path

Searched refs:match_len (Results 1 – 12 of 12) sorted by relevance

/linux/net/netfilter/
H A Dnf_nat_helper.c28 unsigned int match_len, in mangle_contents() argument
39 data + match_offset + match_len, in mangle_contents()
41 match_offset + match_len)); in mangle_contents()
47 if (rep_len > match_len) { in mangle_contents()
49 "%u from %u bytes\n", rep_len - match_len, skb->len); in mangle_contents()
50 skb_put(skb, rep_len - match_len); in mangle_contents()
53 "%u from %u bytes\n", match_len - rep_len, skb->len); in mangle_contents()
54 __skb_trim(skb, skb->len + rep_len - match_len); in mangle_contents()
91 unsigned int match_len, in __nf_nat_mangle_tcp_packet() argument
101 if (rep_len > match_len && in __nf_nat_mangle_tcp_packet()
[all …]
/linux/include/net/netfilter/
H A Dnf_nat_helper.h14 unsigned int match_len, const char *rep_buffer,
22 unsigned int match_len, in nf_nat_mangle_tcp_packet() argument
27 match_offset, match_len, in nf_nat_mangle_tcp_packet()
34 unsigned int match_len, const char *rep_buffer,
/linux/fs/ntfs3/lib/
H A Dlzx_decompress.c482 u32 match_len; in lzx_decompress_block() local
498 match_len = mainsym % LZX_NUM_LEN_HEADERS; in lzx_decompress_block()
502 if (match_len == LZX_NUM_PRIMARY_LENS) in lzx_decompress_block()
503 match_len += read_lensym(d, is); in lzx_decompress_block()
504 match_len += LZX_MIN_MATCH_LEN; in lzx_decompress_block()
553 if (match_len > (size_t)(block_end - out_next)) in lzx_decompress_block()
559 out_next = lz_copy(out_next, match_len, match_offset, in lzx_decompress_block()
/linux/drivers/nvme/common/
H A Dkeyring.c54 size_t match_len; in nvme_tls_psk_match() local
65 match_len = strlen(match_id); in nvme_tls_psk_match()
67 __func__, match_id, key->description, match_len); in nvme_tls_psk_match()
68 return !memcmp(key->description, match_id, match_len); in nvme_tls_psk_match()
/linux/tools/testing/selftests/landlock/
H A Daudit.h282 int match_len = matches[1].rm_eo - matches[1].rm_so; in audit_match_record() local
286 if (match_len > 0 && match_len < sizeof(dom_id)) { in audit_match_record()
288 match_len); in audit_match_record()
289 dom_id[match_len] = '\0'; in audit_match_record()
/linux/net/wireless/
H A Dmlme.c596 int match_len; member
662 int match_len, bool multicast_rx, in cfg80211_mlme_register_mgmt() argument
701 !(match_data && match_len >= 2)) { in cfg80211_mlme_register_mgmt()
707 nreg = kzalloc(sizeof(*reg) + match_len, GFP_KERNEL); in cfg80211_mlme_register_mgmt()
714 int mlen = min(match_len, reg->match_len); in cfg80211_mlme_register_mgmt()
737 memcpy(nreg->match, match_data, match_len); in cfg80211_mlme_register_mgmt()
738 nreg->match_len = match_len; in cfg80211_mlme_register_mgmt()
992 if (reg->match_len > data_le in cfg80211_rx_mgmt_ext()
[all...]
H A Dscan.c277 unsigned int match_len; in cfg80211_gen_new_ie() local
304 match_len = 1; in cfg80211_gen_new_ie()
307 match_len = 0; in cfg80211_gen_new_ie()
312 &ext_id, match_len, 0); in cfg80211_gen_new_ie()
346 &ext_id, match_len, 0)) in cfg80211_gen_new_ie()
362 &ext_id, match_len, 0); in cfg80211_gen_new_ie()
383 match_len = 1; in cfg80211_gen_new_ie()
389 match_len = 0; in cfg80211_gen_new_ie()
394 &ext_id, match_len, 0)) in cfg80211_gen_new_ie()
1404 const u8 *match, unsigned int match_len, in cfg80211_find_elem_match() argument
1425 int match_len = (oui_type < 0) ? 3 : sizeof(match); cfg80211_find_vendor_elem() local
[all...]
H A Dcore.h393 int match_len, bool multicast_rx,
/linux/include/linux/netfilter/
H A Dnf_conntrack_sip.h68 int (*match_len)(const struct nf_conn *ct, member
81 .match_len = (__match), \
/linux/security/apparmor/
H A Dapparmorfs.c618 const char *match_str, size_t match_len) in profile_query_cb() argument
629 match_str + 1, match_len - 1); in profile_query_cb()
649 match_str, match_len); in profile_query_cb()
775 size_t label_name_len, match_len; in query_label() local
794 match_len = query_len - label_name_len - 1; in query_label()
805 profile_query_cb(profile, &perms, match_str, match_len); in query_label()
809 profile_query_cb(profile, &perms, match_str, match_len); in query_label()
/linux/include/net/
H A Dcfg80211.h7276 const u8 *match, unsigned int match_len,
7305 const u8 *match, unsigned int match_len, in cfg80211_find_ie_match() argument
7311 if (WARN_ON((match_len && match_offset < 2) || in cfg80211_find_ie_match()
7312 (!match_len && match_offset))) in cfg80211_find_ie_match()
7316 match, match_len, in cfg80211_find_ie_match()
/linux/tools/perf/util/
H A Dheader.c868 size_t match_len = (pmatch[0].rm_eo - pmatch[0].rm_so); in strcmp_cpuid_str() local
871 if (match_len == strlen(cpuid)) in strcmp_cpuid_str()