Home
last modified time | relevance | path

Searched refs:strnchr (Results 1 – 17 of 17) sorted by relevance

/linux/lib/tests/
H A Dstring_kunit.c241 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 Dbinfmt_script.c59 i_end = strnchr(bprm->buf, sizeof(bprm->buf), '\n'); in load_script()
/linux/lib/
H A Dstring.c402 char *strnchr(const char *s, size_t count, int c) in strnchr() function
412 EXPORT_SYMBOL(strnchr);
H A Dkobject_uevent.c76 args_start = strnchr(buf, count, ' '); in kobject_action_type()
/linux/drivers/crypto/ccp/
H A Dsfs.c64 if (!strnchr(payload_name, PAYLOAD_NAME_SIZE, '\0')) in send_sfs_update_package()
/linux/security/apparmor/
H A Dlib.c195 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname()
/linux/drivers/gpu/drm/
H A Ddrm_modes.c2302 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 Ddsp.c489 info = strnchr(info, eof - info, ' '); in catpt_coredump()
/linux/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c1245 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 Dqeth_l3_sys.c402 sep = strnchr(buf, INET6_ADDRSTRLEN, '/'); in qeth_l3_parse_ipatoe()
/linux/net/netfilter/
H A Dxt_recent.c599 if (strnchr(c, size, ':') != NULL) { in recent_mt_proc_write()
/linux/drivers/base/
H A Ddd.c406 cp = strnchr(s, len, '\n'); in __device_set_driver_override()
/linux/drivers/misc/eeprom/
H A Didt_89hpesx.c916 colon_ch = strnchr(buf, count, ':'); in idt_dbgfs_csr_write()
/linux/drivers/spi/
H A Dspi.c490 of_name = strnchr(of_id->compatible, in __spi_register_driver()
/linux/fs/smb/client/
H A Dconnect.c2241 delim = strnchr(payload, upayload->datalen, ':'); in cifs_set_cifscreds()
/linux/mm/
H A Dslub.c1979 glob = strnchr(iter, end - iter, '*'); in kmem_cache_flags()
/linux/kernel/bpf/
H A Dverifier.c8407 if (!strnchr(str_ptr + map_off, map->value_size - map_off, 0)) { in check_reg_const_str()