| /linux/lib/tests/ |
| H A D | string_kunit.c | 241 result = strnchr(test_string, j, test_string[i]); in string_test_strnchr() 252 result = strnchr(empty_string, 0, '\0'); in string_test_strnchr() 255 result = strnchr(empty_string, 1, '\0'); in string_test_strnchr() 258 result = strnchr(empty_string, 1, 'a'); in string_test_strnchr() 261 result = strnchr(NULL, 0, '\0'); in string_test_strnchr()
|
| /linux/fs/ |
| H A D | binfmt_script.c | 59 i_end = strnchr(bprm->buf, sizeof(bprm->buf), '\n'); in load_script()
|
| /linux/lib/ |
| H A D | string.c | 402 char *strnchr(const char *s, size_t count, int c) in strnchr() function 412 EXPORT_SYMBOL(strnchr);
|
| H A D | kobject_uevent.c | 76 args_start = strnchr(buf, count, ' '); in kobject_action_type()
|
| /linux/drivers/crypto/ccp/ |
| H A D | sfs.c | 64 if (!strnchr(payload_name, PAYLOAD_NAME_SIZE, '\0')) in send_sfs_update_package()
|
| /linux/security/apparmor/ |
| H A D | lib.c | 195 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_modes.c | 2302 if (strnchr(name, name_end, '=')) in drm_mode_parse_cmdline_named_mode() 2390 bpp_ptr = strnchr(name, options_off, '-'); in drm_mode_parse_command_line_for_connector() 2392 bpp_ptr = strnchr(bpp_ptr + 1, options_off, '-'); in drm_mode_parse_command_line_for_connector() 2396 refresh_ptr = strnchr(name, options_off, '@'); in drm_mode_parse_command_line_for_connector()
|
| /linux/sound/soc/intel/catpt/ |
| H A D | dsp.c | 489 info = strnchr(info, eof - info, ' '); in catpt_coredump()
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | ucsi_ccg.c | 1245 p = strnchr(fw->data, fw->size, ':'); in do_flash() 1247 s = strnchr(p + 1, eof - p - 1, ':'); in do_flash()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_l3_sys.c | 402 sep = strnchr(buf, INET6_ADDRSTRLEN, '/'); in qeth_l3_parse_ipatoe()
|
| /linux/net/netfilter/ |
| H A D | xt_recent.c | 599 if (strnchr(c, size, ':') != NULL) { in recent_mt_proc_write()
|
| /linux/drivers/base/ |
| H A D | dd.c | 406 cp = strnchr(s, len, '\n'); in __device_set_driver_override()
|
| /linux/drivers/misc/eeprom/ |
| H A D | idt_89hpesx.c | 916 colon_ch = strnchr(buf, count, ':'); in idt_dbgfs_csr_write()
|
| /linux/drivers/spi/ |
| H A D | spi.c | 490 of_name = strnchr(of_id->compatible, in __spi_register_driver()
|
| /linux/fs/smb/client/ |
| H A D | connect.c | 2241 delim = strnchr(payload, upayload->datalen, ':'); in cifs_set_cifscreds()
|
| /linux/mm/ |
| H A D | slub.c | 1979 glob = strnchr(iter, end - iter, '*'); in kmem_cache_flags()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 8407 if (!strnchr(str_ptr + map_off, map->value_size - map_off, 0)) { in check_reg_const_str()
|