/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_xattr.c | 98 int prefix_len, in __xfs_xattr_put_listent() argument 111 arraytop = context->count + prefix_len + namelen + 1; in __xfs_xattr_put_listent() 118 strncpy(offset, prefix, prefix_len); in __xfs_xattr_put_listent() 119 offset += prefix_len; in __xfs_xattr_put_listent() 125 context->count += prefix_len + namelen + 1; in __xfs_xattr_put_listent() 138 int prefix_len; in xfs_xattr_put_listent() local 171 prefix_len = XATTR_TRUSTED_PREFIX_LEN; in xfs_xattr_put_listent() 174 prefix_len = XATTR_SECURITY_PREFIX_LEN; in xfs_xattr_put_listent() 177 prefix_len = XATTR_USER_PREFIX_LEN; in xfs_xattr_put_listent() 180 __xfs_xattr_put_listent(context, prefix, prefix_len, name, in xfs_xattr_put_listent()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_tag.c | 93 const int prefix_len = sizeof("prog_tag:\t") - 1; in tag_from_fdinfo() local 104 if (strncmp(buff, "prog_tag:\t", prefix_len)) in tag_from_fdinfo() 106 ret = hex2bin(tag, buff + prefix_len, len); in tag_from_fdinfo()
|
/kernel/linux/linux-5.10/tools/lib/subcmd/ |
D | help.c | 161 int prefix_len; in list_commands_in_dir() local 170 prefix_len = strlen(prefix); in list_commands_in_dir() 184 entlen = strlen(de->d_name) - prefix_len; in list_commands_in_dir() 188 add_cmdname(cmds, de->d_name + prefix_len, entlen); in list_commands_in_dir()
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
D | file.c | 91 int prefix_len = prefix_size / 2; in find_file_option() local 95 for (i = prefix_len; i < cmdline_len; i++) { in find_file_option() 96 if (!memcmp(&cmdline[i - prefix_len], prefix, prefix_size)) { in find_file_option()
|
/kernel/linux/linux-5.10/tools/testing/kunit/ |
D | kunit_parser.py | 59 prefix_len = len(line.split('TAP version')[0]) 61 yield line[prefix_len:] if prefix_len > 0 else line 65 yield line[prefix_len:] if prefix_len > 0 else line
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | fib.c | 53 unsigned char prefix_len; member 197 size_t addr_len, unsigned int prefix_len, in nsim_fib_rt_init() argument 201 fib_rt->key.prefix_len = prefix_len; in nsim_fib_rt_init() 214 unsigned int prefix_len, in nsim_fib_rt_lookup() argument 221 key.prefix_len = prefix_len; in nsim_fib_rt_lookup() 276 int dst_len = fib4_rt->common.key.prefix_len; in nsim_fib4_rt_hw_flags_set()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
D | pidfd_fdinfo_test.c | 164 size_t prefix_len, const char *expect, ...) in verify_fdinfo() argument 189 if (strncmp(line, prefix, prefix_len)) in verify_fdinfo() 194 val = line + prefix_len; in verify_fdinfo()
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_clc.c | 175 prop->prefix_len = inet_mask_len(ifa->ifa_mask); in smc_clc_prfx_set4_rcu() 200 &ifa->addr, ifa->prefix_len); in smc_clc_prfx_set6_rcu() 201 ipv6_prfx[cnt].prefix_len = ifa->prefix_len; in smc_clc_prfx_set6_rcu() 267 if (prop->prefix_len == inet_mask_len(ifa->ifa_mask) && in smc_clc_prfx_match4_rcu() 294 if (ifa->prefix_len == ipv6_prfx[i].prefix_len && in smc_clc_prfx_match6_rcu() 296 ifa->prefix_len)) in smc_clc_prfx_match6_rcu()
|
D | smc_clc.h | 89 u8 prefix_len; member 132 u8 prefix_len; /* number of significant bits in mask */ member
|
/kernel/linux/linux-5.10/fs/erofs/ |
D | xattr.c | 542 unsigned int prefix_len; in xattr_entrylist() local 552 prefix_len = strlen(prefix); in xattr_entrylist() 555 it->buffer_ofs += prefix_len + entry->e_name_len + 1; in xattr_entrylist() 559 if (it->buffer_ofs + prefix_len in xattr_entrylist() 563 memcpy(it->buffer + it->buffer_ofs, prefix, prefix_len); in xattr_entrylist() 564 it->buffer_ofs += prefix_len; in xattr_entrylist()
|
/kernel/linux/linux-5.10/kernel/debug/kdb/ |
D | kdb_support.c | 189 int prefix_len = strlen(prefix_name), prev_len = 0; in kallsyms_symbol_complete() local 194 if (strncmp(name, prefix_name, prefix_len) == 0) { in kallsyms_symbol_complete() 213 if (prev_len > prefix_len) in kallsyms_symbol_complete() 232 int prefix_len = strlen(prefix_name); in kallsyms_symbol_next() local 240 if (!strncmp(name, prefix_name, prefix_len)) in kallsyms_symbol_next()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_tx.c | 321 int prefix_len, postfix_len, hdr_len, res; in hostap_tx_encrypt() local 347 prefix_len = crypt->ops->extra_mpdu_prefix_len + in hostap_tx_encrypt() 351 if ((skb_headroom(skb) < prefix_len || in hostap_tx_encrypt() 353 pskb_expand_head(skb, prefix_len, postfix_len, GFP_ATOMIC)) { in hostap_tx_encrypt()
|
/kernel/linux/linux-5.10/kernel/printk/ |
D | printk.c | 1363 size_t prefix_len; in record_print_text() local 1375 prefix_len = info_print_prefix(r->info, syslog, time, prefix); in record_print_text() 1398 if (len + prefix_len + text_len + 1 + 1 > buf_size) { in record_print_text() 1400 if (len + prefix_len + line_len + 1 + 1 > buf_size) in record_print_text() 1403 text_len = buf_size - len - prefix_len - 1 - 1; in record_print_text() 1407 memmove(text + prefix_len, text, text_len); in record_print_text() 1408 memcpy(text, prefix, prefix_len); in record_print_text() 1416 len += prefix_len + line_len + 1; in record_print_text() 1422 text[prefix_len + line_len] = '\n'; in record_print_text() 1430 text += prefix_len + line_len + 1; in record_print_text() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/ti/ |
D | clkctrl.c | 476 const int prefix_len = 11; in clkctrl_get_name() local 481 if (!strncmp("ti,clkctrl-", compat, prefix_len)) { in clkctrl_get_name() 483 if (strnlen(compat + prefix_len, 16) < 2) in clkctrl_get_name() 485 name = kasprintf(GFP_KERNEL, "%s", compat + prefix_len); in clkctrl_get_name()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | xattr.c | 580 size_t prefix_len; in f2fs_listxattr() local 596 prefix_len = strlen(prefix); in f2fs_listxattr() 597 size = prefix_len + entry->e_name_len + 1; in f2fs_listxattr() 603 memcpy(buffer, prefix, prefix_len); in f2fs_listxattr() 604 buffer += prefix_len; in f2fs_listxattr()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 174 int prefix_len; in ioc3eth_nvmem_match() local 176 prefix_len = strlen(prefix); in ioc3eth_nvmem_match() 177 if (strlen(name) < (prefix_len + 3)) in ioc3eth_nvmem_match() 180 if (memcmp(prefix, name, prefix_len) != 0) in ioc3eth_nvmem_match() 186 if (memcmp(name + prefix_len, "09-", 3) == 0) in ioc3eth_nvmem_match() 188 if (memcmp(name + prefix_len, "89-", 3) == 0) in ioc3eth_nvmem_match() 190 if (memcmp(name + prefix_len, "91-", 3) == 0) in ioc3eth_nvmem_match()
|
/kernel/linux/linux-5.10/security/keys/encrypted-keys/ |
D | encrypted.c | 139 int prefix_len; in valid_master_desc() local 142 prefix_len = KEY_TRUSTED_PREFIX_LEN; in valid_master_desc() 144 prefix_len = KEY_USER_PREFIX_LEN; in valid_master_desc() 148 if (!new_desc[prefix_len]) in valid_master_desc() 151 if (orig_desc && strncmp(new_desc, orig_desc, prefix_len)) in valid_master_desc()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | addrconf.c | 1115 ifa->prefix_len = cfg->plen; in ipv6_add_addr() 1210 if (ifa->prefix_len != ifp->prefix_len || in check_cleanup_prefix_route() 1212 ifp->prefix_len)) in check_cleanup_prefix_route() 1242 ifp->prefix_len, in cleanup_prefix_route() 1383 cfg.plen = ifp->prefix_len; in ipv6_create_tempaddr() 1623 if (ret > score->ifa->prefix_len) in ipv6_get_saddr_eval() 1624 ret = score->ifa->prefix_len; in ipv6_get_saddr_eval() 1960 const unsigned int prefix_len, struct net_device *dev) in ipv6_chk_custom_prefix() argument 1970 ret = ipv6_prefix_equal(addr, &ifa->addr, prefix_len); in ipv6_chk_custom_prefix() 1993 ifa->prefix_len); in ipv6_chk_prefix() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | nettest.c | 84 unsigned int prefix_len; member 220 if (args->prefix_len) { in tcp_md5sig() 224 md5sig.tcpm_prefixlen = args->prefix_len; in tcp_md5sig() 1484 &args->prefix_len) != 0) { in convert_addr() 1489 args->prefix_len = pfx_len_max; in convert_addr() 1762 ((!args.has_remote_ip && !args.prefix_len) || args.type != SOCK_STREAM)) { in main() 1767 if (args.prefix_len && !args.password) { in main()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | inet_diag.h | 74 __u8 prefix_len; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ipip.c | 185 u32 dip, u8 prefix_len, u16 ul_vr_id, in mlxsw_sp_ipip_fib_entry_op_gre4_ralue() argument 192 ul_vr_id, prefix_len, dip); in mlxsw_sp_ipip_fib_entry_op_gre4_ralue()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | inet_diag.h | 90 __u8 prefix_len; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | inet_diag.h | 105 __u8 prefix_len; member
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | bpf_iter.c | 321 int prefix_len = strlen(prefix); in bpf_iter_prog_supported() local 324 if (strncmp(attach_fname, prefix, prefix_len)) in bpf_iter_prog_supported() 333 if (!strcmp(attach_fname + prefix_len, tinfo->reg_info->target)) { in bpf_iter_prog_supported()
|
/kernel/linux/linux-5.10/fs/ext2/ |
D | xattr.c | 341 size_t prefix_len = strlen(prefix); in ext2_xattr_list() local 342 size_t size = prefix_len + entry->e_name_len + 1; in ext2_xattr_list() 349 memcpy(buffer, prefix, prefix_len); in ext2_xattr_list() 350 buffer += prefix_len; in ext2_xattr_list()
|