/linux-6.6.21/fs/xfs/ |
D | xfs_xattr.c | 200 int prefix_len, in __xfs_xattr_put_listent() argument 213 arraytop = context->count + prefix_len + namelen + 1; in __xfs_xattr_put_listent() 220 memcpy(offset, prefix, prefix_len); in __xfs_xattr_put_listent() 221 offset += prefix_len; in __xfs_xattr_put_listent() 227 context->count += prefix_len + namelen + 1; in __xfs_xattr_put_listent() 240 int prefix_len; in xfs_xattr_put_listent() local 273 prefix_len = XATTR_TRUSTED_PREFIX_LEN; in xfs_xattr_put_listent() 276 prefix_len = XATTR_SECURITY_PREFIX_LEN; in xfs_xattr_put_listent() 279 prefix_len = XATTR_USER_PREFIX_LEN; in xfs_xattr_put_listent() 282 __xfs_xattr_put_listent(context, prefix, prefix_len, name, in xfs_xattr_put_listent()
|
/linux-6.6.21/drivers/firmware/arm_scmi/ |
D | msg.c | 85 size_t prefix_len = sizeof(*msg) + sizeof(msg->msg_payload[0]); in msg_fetch_response() local 89 len >= prefix_len ? len - prefix_len : 0); in msg_fetch_response()
|
/linux-6.6.21/tools/perf/util/ |
D | cgroup.c | 298 int prefix_len; in match_cgroups() local 305 prefix_len = strlen(mnt); in match_cgroups() 328 char *name = cn->name + prefix_len; in match_cgroups() 348 return prefix_len; in match_cgroups() 417 int prefix_len; in evlist__expand_cgroup() local 443 prefix_len = match_cgroups(str); in evlist__expand_cgroup() 445 prefix_len = list_cgroups(str); in evlist__expand_cgroup() 447 if (prefix_len < 0) in evlist__expand_cgroup() 457 name = cn->name + prefix_len; in evlist__expand_cgroup()
|
/linux-6.6.21/certs/ |
D | blacklist.c | 48 int i, prefix_len, tbs_step = 0, bin_step = 0; in blacklist_vet_description() local 52 prefix_len = sizeof(tbs_prefix) - 1; in blacklist_vet_description() 55 if (tbs_step == prefix_len) in blacklist_vet_description() 57 if (bin_step == prefix_len) in blacklist_vet_description() 61 if (i >= prefix_len) in blacklist_vet_description()
|
/linux-6.6.21/kernel/printk/ |
D | index.c | 78 u16 prefix_len = 0; in pi_show() local 91 prefix_len = printk_parse_prefix(entry->fmt, &level, &flags); in pi_show() 110 seq_escape_printf_format(s, entry->fmt + prefix_len); in pi_show()
|
D | printk.c | 1390 size_t prefix_len; in record_print_text() local 1402 prefix_len = info_print_prefix(r->info, syslog, time, prefix); in record_print_text() 1425 if (len + prefix_len + text_len + 1 + 1 > buf_size) { in record_print_text() 1427 if (len + prefix_len + line_len + 1 + 1 > buf_size) in record_print_text() 1430 text_len = buf_size - len - prefix_len - 1 - 1; in record_print_text() 1434 memmove(text + prefix_len, text, text_len); in record_print_text() 1435 memcpy(text, prefix, prefix_len); in record_print_text() 1443 len += prefix_len + line_len + 1; in record_print_text() 1449 text[prefix_len + line_len] = '\n'; in record_print_text() 1457 text += prefix_len + line_len + 1; in record_print_text() [all …]
|
/linux-6.6.21/kernel/debug/kdb/ |
D | kdb_support.c | 129 int prefix_len = strlen(prefix_name), prev_len = 0; in kallsyms_symbol_complete() local 134 if (strncmp(name, prefix_name, prefix_len) == 0) { in kallsyms_symbol_complete() 153 if (prev_len > prefix_len) in kallsyms_symbol_complete() 172 int prefix_len = strlen(prefix_name); in kallsyms_symbol_next() local 180 if (!strncmp(name, prefix_name, prefix_len)) in kallsyms_symbol_next()
|
/linux-6.6.21/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()
|
/linux-6.6.21/tools/lib/subcmd/ |
D | help.c | 183 int prefix_len; in list_commands_in_dir() local 192 prefix_len = strlen(prefix); in list_commands_in_dir() 206 entlen = strlen(de->d_name) - prefix_len; in list_commands_in_dir() 210 add_cmdname(cmds, de->d_name + prefix_len, entlen); in list_commands_in_dir()
|
/linux-6.6.21/tools/testing/selftests/pidfd/ |
D | pidfd_fdinfo_test.c | 165 size_t prefix_len, const char *expect, ...) in verify_fdinfo() argument 190 if (strncmp(line, prefix, prefix_len)) in verify_fdinfo() 195 val = line + prefix_len; in verify_fdinfo()
|
/linux-6.6.21/drivers/firmware/efi/libstub/ |
D | file.c | 99 int prefix_len = prefix_size / 2; in find_file_option() local 103 for (i = prefix_len; i < cmdline_len; i++) { in find_file_option() 104 if (!memcmp(&cmdline[i - prefix_len], prefix, prefix_size)) { in find_file_option()
|
/linux-6.6.21/fs/erofs/ |
D | xattr.c | 206 unsigned int base_index, name_total, prefix_len, infix_len = 0; in erofs_listxattr_foreach() local 231 prefix_len = strlen(prefix); in erofs_listxattr_foreach() 232 name_total = prefix_len + infix_len + entry.e_name_len + 1; in erofs_listxattr_foreach() 242 memcpy(it->buffer + it->buffer_ofs, prefix, prefix_len); in erofs_listxattr_foreach() 243 memcpy(it->buffer + it->buffer_ofs + prefix_len, infix, infix_len); in erofs_listxattr_foreach() 244 it->buffer_ofs += prefix_len + infix_len; in erofs_listxattr_foreach()
|
/linux-6.6.21/tools/testing/kunit/ |
D | kunit_parser.py | 229 prefix_len = len( 232 yield line_num, line[prefix_len:] 236 prefix_len = len(line.split('TAP version')[0]) 238 yield line_num, line[prefix_len:] 244 line = line[prefix_len:]
|
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/ |
D | prestera_router.c | 41 u32 prefix_len; member 102 key->prefix_len = fen_info->dst_len; in prestera_util_fen_info2fib_cache_key() 707 fri.dst_len = fc->key.prefix_len; in __prestera_k_arb_fib_lpm_offload_set() 737 fc_key.prefix_len = PRESTERA_IP_ADDR_PLEN(n_cache->key.addr.v); in __prestera_k_arb_n_lpm_set() 748 fib_key.prefix_len = PRESTERA_IP_ADDR_PLEN(n_cache->key.addr.v); in __prestera_k_arb_n_lpm_set() 868 fc->key.prefix_len == in __prestera_pr_k_arb_fc_lpm_info_calc() 923 fc->lpm_info.fib_key.prefix_len = fc->key.prefix_len; in __prestera_pr_k_arb_fc_lpm_info_calc() 948 &fc->key.addr.u.ipv4, fc->key.prefix_len, in __prestera_k_arb_f_lpm_set()
|
D | prestera_router_hw.h | 95 u32 prefix_len; member
|
D | prestera_router_hw.c | 585 fib_node->key.prefix_len); in __prestera_fib_node_destruct() 665 key->prefix_len, grp_id); in prestera_fib_node_create() 678 key->prefix_len); in prestera_fib_node_create()
|
/linux-6.6.21/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()
|
/linux-6.6.21/fs/f2fs/ |
D | xattr.c | 580 size_t prefix_len; in f2fs_listxattr() local 598 prefix_len = strlen(prefix); in f2fs_listxattr() 599 size = prefix_len + entry->e_name_len + 1; in f2fs_listxattr() 605 memcpy(buffer, prefix, prefix_len); in f2fs_listxattr() 606 buffer += prefix_len; in f2fs_listxattr()
|
/linux-6.6.21/drivers/net/netdevsim/ |
D | fib.c | 70 unsigned char prefix_len; member 243 size_t addr_len, unsigned int prefix_len, in nsim_fib_rt_init() argument 247 fib_rt->key.prefix_len = prefix_len; in nsim_fib_rt_init() 260 unsigned int prefix_len, in nsim_fib_rt_lookup() argument 267 key.prefix_len = prefix_len; in nsim_fib_rt_lookup() 341 int dst_len = fib4_rt->common.key.prefix_len; in nsim_fib4_rt_hw_flags_set()
|
/linux-6.6.21/net/smc/ |
D | smc_clc.c | 515 prop->prefix_len = inet_mask_len(ifa->ifa_mask); in smc_clc_prfx_set4_rcu() 540 &ifa->addr, ifa->prefix_len); in smc_clc_prfx_set6_rcu() 541 ipv6_prfx[cnt].prefix_len = ifa->prefix_len; in smc_clc_prfx_set6_rcu() 607 if (prop->prefix_len == inet_mask_len(ifa->ifa_mask) && in smc_clc_prfx_match4_rcu() 634 if (ifa->prefix_len == ipv6_prfx[i].prefix_len && in smc_clc_prfx_match6_rcu() 636 ifa->prefix_len)) in smc_clc_prfx_match6_rcu()
|
D | smc_clc.h | 102 u8 prefix_len; member 147 u8 prefix_len; /* number of significant bits in mask */ member
|
/linux-6.6.21/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()
|
/linux-6.6.21/security/keys/encrypted-keys/ |
D | encrypted.c | 144 int prefix_len; in valid_master_desc() local 147 prefix_len = KEY_TRUSTED_PREFIX_LEN; in valid_master_desc() 149 prefix_len = KEY_USER_PREFIX_LEN; in valid_master_desc() 153 if (!new_desc[prefix_len]) in valid_master_desc() 156 if (orig_desc && strncmp(new_desc, orig_desc, prefix_len)) in valid_master_desc()
|
/linux-6.6.21/net/ipv6/ |
D | addrconf.c | 1146 ifa->prefix_len = cfg->plen; in ipv6_add_addr() 1242 if (ifa->prefix_len != ifp->prefix_len || in check_cleanup_prefix_route() 1244 ifp->prefix_len)) in check_cleanup_prefix_route() 1274 ifp->prefix_len, in cleanup_prefix_route() 1416 cfg.plen = ifp->prefix_len; in ipv6_create_tempaddr() 1656 if (ret > score->ifa->prefix_len) in ipv6_get_saddr_eval() 1657 ret = score->ifa->prefix_len; in ipv6_get_saddr_eval() 1991 const unsigned int prefix_len, struct net_device *dev) in ipv6_chk_custom_prefix() argument 2001 ret = ipv6_prefix_equal(addr, &ifa->addr, prefix_len); in ipv6_chk_custom_prefix() 2024 ifa->prefix_len); in ipv6_chk_prefix() [all …]
|
/linux-6.6.21/drivers/clk/ti/ |
D | clkctrl.c | 474 const int prefix_len = 11; in clkctrl_get_name() local 494 if (!strncmp("ti,clkctrl-", compat, prefix_len)) { in clkctrl_get_name() 495 end = compat + prefix_len; in clkctrl_get_name()
|