Home
last modified time | relevance | path

Searched refs:strlen (Results 5701 - 5725 of 8295) sorted by relevance

1...<<221222223224225226227228229230>>...332

/kernel/linux/linux-5.10/drivers/scsi/
H A D3w-9xxx.c405 error_str = &(header->err_specific_desc[strlen(header->err_specific_desc)+1]); in twa_aen_queue_event()
408 event->parameter_len = strlen(header->err_specific_desc); in twa_aen_queue_event()
409 memcpy(event->parameter_data, header->err_specific_desc, event->parameter_len + (error_str[0] == '\0' ? 0 : (1 + strlen(error_str)))); in twa_aen_queue_event()
995 error_str = &(full_command_packet->header.err_specific_desc[strlen(full_command_packet->header.err_specific_desc) + 1]); in twa_fill_sense()
H A Dwd33c93.c1778 strncpy(p1, str, SETUP_BUFFER_SIZE - strlen(setup_buffer)); in wd33c93_setup()
1814 if (!strncmp(setup_args[x], key, strlen(key))) in check_setup_args()
1816 if (!strncmp(setup_args[x], "next", strlen("next"))) in check_setup_args()
1822 cp = setup_args[x] + strlen(key); in check_setup_args()
H A Dscsi_sysfs.c206 const int len = strlen(shost_states[i].name); in store_shost_state()
326 return snprintf(buf, strlen("off") + 2, "off\n"); in show_shost_eh_deadline()
343 if (!strncmp(buf, "off", strlen("off"))) in store_shost_eh_deadline()
802 const int len = strlen(sdev_states[i].name); in store_state_field()
/kernel/linux/linux-5.10/drivers/vhost/
H A Dscsi.c2237 if (strlen(page) >= VHOST_SCSI_NAMELEN) { in vhost_scsi_tpg_nexus_store()
2284 if (i_port[strlen(i_port)-1] == '\n') in vhost_scsi_tpg_nexus_store()
2285 i_port[strlen(i_port)-1] = '\0'; in vhost_scsi_tpg_nexus_store()
2404 if (strlen(name) >= VHOST_SCSI_NAMELEN) { in vhost_scsi_make_tport()
/kernel/linux/linux-5.10/scripts/kconfig/
H A Dexpr.c1232 xfwrite(str, strlen(str), 1, data); in expr_print_file_helper()
1249 unsigned extra_length = strlen(str); in expr_print_gstr_helper()
1254 extra_length += 4 + strlen(sym_str); in expr_print_gstr_helper()
1259 last_line_length = strlen(gs->s) - (last_cr - gs->s); in expr_print_gstr_helper()
/kernel/linux/linux-5.10/security/apparmor/
H A Dapparmorfs.c283 dentry = lookup_one_len(name, parent, strlen(name)); in aafs_create()
1579 int size = depth * 6 + strlen(dirname) + strlen(fname) + 11; in gen_symlink_name()
2515 dentry = lookup_one_len(NULL_FILE_NAME, parent, strlen(NULL_FILE_NAME)); in aa_mk_null_file()
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-kmem.c688 new = realloc(new_flags, len + strlen(cpt) + 2); in compact_gfp_flags()
705 len += strlen(cpt); in compact_gfp_flags()
1052 int gfp_len = max(strlen("GFP flags"), max_gfp_len); in __print_page_alloc_result()
1100 int gfp_len = max(strlen("GFP flags"), max_gfp_len); in __print_page_caller_result()
/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-core.c1539 len = strlen(dst); in append_dmi_string()
2241 if (sscanf(&found[strlen(dev->driver->name)], ".%d", id) == 1) { in fmt_single_name()
2245 found[strlen(dev->driver->name)] = '\0'; in fmt_single_name()
2674 strlen(simple_widgets[j].name))) { in snd_soc_of_parse_audio_simple_widgets()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dheader.c169 (PERF_ALIGN((strlen(str) + 1), NAME_ALIGN) + sizeof(u32))
177 olen = strlen(str) + 1; in do_write_string()
257 * thus the actual strlen of buf in do_read_string()
392 ret = strncmp(buf, search, strlen(search)); in __write_cpudesc()
841 if (match_len == strlen(cpuid)) in strcmp_cpuid_str()
1536 str += strlen(str) + 1; in print_cpu_topology()
1545 str += strlen(str) + 1; in print_cpu_topology()
1554 str += strlen(str) + 1; in print_cpu_topology()
1936 str += strlen(str) + 1; in print_cpu_pmu_caps()
1966 str += strlen(st in print_pmu_mappings()
[all...]
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_server.c136 path_len = strlen(root_name) + strlen(path) + 2; in hmdfs_open_link()
284 if (!strncmp(sl_value, datasl_str[i], strlen(datasl_str[i]))) in parse_data_sec_level()
648 dentry = lookup_one_len(filename, path_parent.dentry, strlen(filename)); in hmdfs_lookup_create()
/kernel/linux/linux-5.10/fs/jffs2/
H A Dxattr.c66 int name_len = strlen(xname); in xattr_datum_hashkey()
361 name_len = strlen(xname); in create_xattr_datum()
1010 prefix_len = strlen(prefix); in jffs2_listxattr()
1113 request = PAD(sizeof(struct jffs2_raw_xattr) + strlen(xname) + 1 + size); in do_jffs2_setxattr()
/kernel/linux/linux-5.10/fs/ecryptfs/
H A Dcrypto.c81 int cipher_name_len = strlen(cipher_name); in ecryptfs_crypto_api_algify_cipher_name()
82 int chaining_modifier_len = strlen(chaining_modifier); in ecryptfs_crypto_api_algify_cipher_name()
562 "Initializing cipher [%s]; strlen = [%d]; " in ecryptfs_init_crypt_ctx()
564 crypt_stat->cipher, (int)strlen(crypt_stat->cipher), in ecryptfs_init_crypt_ctx()
792 strlen(mount_crypt_stat->global_default_cipher_name); in ecryptfs_new_file_context()
/kernel/linux/linux-5.10/fs/
H A Dbinfmt_elf.c209 size_t len = strlen(k_platform) + 1; in create_elf_tables()
222 size_t len = strlen(k_base_platform) + 1; in create_elf_tables()
1471 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1480 en.n_namesz = strlen(men->name) + 1; in writenote()
1691 /* n = strlen(filename) + 1: */ in fill_files_note()
H A Dbinfmt_elf_fdpic.c536 platform_len = strlen(k_platform) + 1; in create_elf_fdpic_tables()
551 platform_len = strlen(k_base_platform) + 1; in create_elf_fdpic_tables()
1232 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1243 en.n_namesz = strlen(men->name) + 1; in writenote()
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dsuper.c762 strlen(OCFS1_VOLUME_SIGNATURE)) == 0) { in ocfs2_sb_probe()
1933 ocfs2_cluster_hangup(osb->uuid_str, strlen(osb->uuid_str)); in ocfs2_dismount_volume()
2176 if (strlen(osb->osb_cluster_stack) != OCFS2_STACK_LABEL_LEN) { in ocfs2_initialize_super()
2334 strlen(OCFS2_SUPER_BLOCK_SIGNATURE)) == 0) { in ocfs2_verify_volume()
/kernel/linux/linux-6.6/fs/
H A Dbinfmt_elf_fdpic.c537 platform_len = strlen(k_platform) + 1; in create_elf_fdpic_tables()
552 platform_len = strlen(k_base_platform) + 1; in create_elf_fdpic_tables()
1213 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1224 en.n_namesz = strlen(men->name) + 1; in writenote()
H A Dbinfmt_elf.c213 size_t len = strlen(k_platform) + 1; in create_elf_tables()
226 size_t len = strlen(k_base_platform) + 1; in create_elf_tables()
1472 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1481 en.n_namesz = strlen(men->name) + 1; in writenote()
1694 /* n = strlen(filename) + 1: */ in fill_files_note()
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dhmdfs_server.c136 path_len = strlen(root_name) + strlen(path) + 2; in hmdfs_open_link()
284 if (!strncmp(sl_value, datasl_str[i], strlen(datasl_str[i]))) in parse_data_sec_level()
648 dentry = lookup_one_len(filename, path_parent.dentry, strlen(filename)); in hmdfs_lookup_create()
/kernel/linux/linux-6.6/fs/ecryptfs/
H A Dcrypto.c81 int cipher_name_len = strlen(cipher_name); in ecryptfs_crypto_api_algify_cipher_name()
82 int chaining_modifier_len = strlen(chaining_modifier); in ecryptfs_crypto_api_algify_cipher_name()
536 "Initializing cipher [%s]; strlen = [%d]; " in ecryptfs_init_crypt_ctx()
538 crypt_stat->cipher, (int)strlen(crypt_stat->cipher), in ecryptfs_init_crypt_ctx()
765 strlen(mount_crypt_stat->global_default_cipher_name); in ecryptfs_new_file_context()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dsuper.c759 strlen(OCFS1_VOLUME_SIGNATURE)) == 0) { in ocfs2_sb_probe()
1925 ocfs2_cluster_hangup(osb->uuid_str, strlen(osb->uuid_str)); in ocfs2_dismount_volume()
2163 if (strlen(osb->osb_cluster_stack) != OCFS2_STACK_LABEL_LEN) { in ocfs2_initialize_super()
2325 strlen(OCFS2_SUPER_BLOCK_SIGNATURE)) == 0) { in ocfs2_verify_volume()
/kernel/linux/linux-6.6/fs/jffs2/
H A Dxattr.c66 int name_len = strlen(xname); in xattr_datum_hashkey()
361 name_len = strlen(xname); in create_xattr_datum()
1009 prefix_len = strlen(prefix); in jffs2_listxattr()
1112 request = PAD(sizeof(struct jffs2_raw_xattr) + strlen(xname) + 1 + size); in do_jffs2_setxattr()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dwd33c93.c1724 strncpy(p1, str, SETUP_BUFFER_SIZE - strlen(setup_buffer)); in wd33c93_setup()
1760 if (!strncmp(setup_args[x], key, strlen(key))) in check_setup_args()
1762 if (!strncmp(setup_args[x], "next", strlen("next"))) in check_setup_args()
1768 cp = setup_args[x] + strlen(key); in check_setup_args()
H A Dscsi_sysfs.c207 const int len = strlen(shost_states[i].name); in store_shost_state()
327 return snprintf(buf, strlen("off") + 2, "off\n"); in show_shost_eh_deadline()
344 if (!strncmp(buf, "off", strlen("off"))) in store_shost_eh_deadline()
800 const int len = strlen(sdev_states[i].name); in store_state_field()
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_tcm.c1299 len = strlen(n); in usbg_check_wwn()
1610 if (strlen(page) >= USBG_NAMELEN) { in tcm_usbg_tpg_nexus_store()
1625 if (i_port[strlen(i_port) - 1] == '\n') in tcm_usbg_tpg_nexus_store()
1626 i_port[strlen(i_port) - 1] = '\0'; in tcm_usbg_tpg_nexus_store()
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dhci_qca.c1002 skb_put_data(skb, buf, strlen(buf)); in qca_dmp_hdr()
1006 skb_put_data(skb, buf, strlen(buf)); in qca_dmp_hdr()
1009 skb_put_data(skb, buf, strlen(buf)); in qca_dmp_hdr()
1013 skb_put_data(skb, buf, strlen(buf)); in qca_dmp_hdr()

Completed in 66 milliseconds

1...<<221222223224225226227228229230>>...332