Home
last modified time | relevance | path

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

12

/linux/lib/tests/
H A Dstring_kunit.c139 result = strnchr(test_string, j, test_string[i]); in string_test_strnchr()
150 result = strnchr(empty_string, 0, '\0'); in string_test_strnchr()
153 result = strnchr(empty_string, 1, '\0'); in string_test_strnchr()
156 result = strnchr(empty_string, 1, 'a'); in string_test_strnchr()
159 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/base/
H A Ddriver.c83 cp = strnchr(s, len, '\n'); in driver_set_override()
H A Ddd.c406 cp = strnchr(s, len, '\n'); in __device_set_driver_override()
/linux/drivers/crypto/ccp/
H A Dsfs.c64 if (!strnchr(payload_name, PAYLOAD_NAME_SIZE, '\0')) in send_sfs_update_package()
/linux/arch/powerpc/kernel/
H A Dkprobes.c83 if ((c = strnchr(name, MODULE_NAME_LEN, ':')) != NULL) { in kprobe_lookup_name()
/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/include/linux/
H A Dstring.h180 extern char * strnchr(const char *, size_t, int);
/linux/kernel/module/
H A Dkallsyms.c419 colon = strnchr(name, MODULE_NAME_LEN, ':'); in __module_kallsyms_lookup_name()
/linux/drivers/s390/char/
H A Dvmlogrdr.c224 tail=strnchr(cp_response,len,'='); in vmlogrdr_get_recording_class_AB()
/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/net/netfilter/
H A Dxt_recent.c599 if (strnchr(c, size, ':') != NULL) { in recent_mt_proc_write()
/linux/drivers/s390/net/
H A Dqeth_l3_sys.c402 sep = strnchr(buf, INET6_ADDRSTRLEN, '/'); in qeth_l3_parse_ipatoe()
/linux/drivers/tty/hvc/
H A Dhvc_iucv.c756 wildcard = strnchr(filter_entry, 8, FILTER_WILDCARD_CHAR); in hvc_iucv_filter_connreq()
/linux/drivers/misc/eeprom/
H A Didt_89hpesx.c916 colon_ch = strnchr(buf, count, ':'); in idt_dbgfs_csr_write()
/linux/init/
H A Dmain.c575 if (strnchr(param, len, '.')) in unknown_bootoption()
/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c2383 next = strnchr(ptr, got, '\n'); in intel_klog_error_capture()
/linux/fs/nfs/
H A Ddir.c746 if (strnchr(filename.name, filename.len, '/')) in nfs_prime_dcache()
/linux/kernel/bpf/
H A Dhelpers.c829 fmt_end = strnchr(fmt, fmt_size, 0); in bpf_bprintf_prepare()
/linux/drivers/spi/
H A Dspi.c491 of_name = strnchr(of_id->compatible, in __spi_register_driver()
/linux/fs/smb/client/
H A Dconnect.c2242 delim = strnchr(payload, upayload->datalen, ':'); in cifs_set_cifscreds()

12