Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Dtest_string.c152 result = strnchr(test_string, j, test_string[i]); in strnchr_selftest()
163 result = strnchr(empty_string, 0, '\0'); in strnchr_selftest()
167 result = strnchr(empty_string, 1, '\0'); in strnchr_selftest()
171 result = strnchr(empty_string, 1, 'a'); in strnchr_selftest()
175 result = strnchr(NULL, 0, '\0'); in strnchr_selftest()
Dstring.c506 char *strnchr(const char *s, size_t count, int c) in strnchr() function
516 EXPORT_SYMBOL(strnchr);
Dkobject_uevent.c77 args_start = strnchr(buf, count, ' '); in kobject_action_type()
/kernel/linux/linux-5.10/fs/
Dbinfmt_script.c59 i_end = strnchr(bprm->buf, sizeof(bprm->buf), '\n'); in load_script()
/kernel/linux/linux-5.10/drivers/net/
Dnetconsole.c485 if (strnchr(buf, count, ':')) { in local_ip_store()
521 if (strnchr(buf, count, ':')) { in remote_ip_store()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dkprobes.c81 if ((c = strnchr(name, MODULE_NAME_LEN, ':')) != NULL) { in kprobe_lookup_name()
/kernel/linux/linux-5.10/security/integrity/ima/
Dima_template_lib.c73 buf_ptr = strnchr(field_data->data, buflen, ':'); in ima_show_template_data_ascii()
/kernel/linux/linux-5.10/security/apparmor/
Dlib.c96 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname()
/kernel/linux/linux-5.10/include/linux/
Dstring.h67 extern char * strnchr(const char *, size_t, int);
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/
Ducsi_ccg.c1151 p = strnchr(fw->data, fw->size, ':'); in do_flash()
1153 s = strnchr(p + 1, eof - p - 1, ':'); in do_flash()
/kernel/linux/linux-5.10/sound/soc/intel/catpt/
Ddsp.c538 info = strnchr(info, eof - info, ' '); in catpt_coredump()
/kernel/linux/linux-5.10/drivers/s390/char/
Dvmlogrdr.c225 tail=strnchr(cp_response,len,'='); in vmlogrdr_get_recording_class_AB()
/kernel/linux/linux-5.10/net/netfilter/
Dxt_recent.c599 if (strnchr(c, size, ':') != NULL) { in recent_mt_proc_write()
/kernel/linux/linux-5.10/init/
Dmain.c547 if (strnchr(param, len, '.')) in unknown_bootoption()
/kernel/linux/linux-5.10/drivers/s390/net/
Dqeth_l3_sys.c416 sep = strnchr(buf, 40, '/'); in qeth_l3_parse_ipatoe()
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvc_iucv.c759 wildcard = strnchr(filter_entry, 8, FILTER_WILDCARD_CHAR); in hvc_iucv_filter_connreq()
/kernel/linux/linux-5.10/drivers/misc/eeprom/
Didt_89hpesx.c958 colon_ch = strnchr(buf, count, ':'); in idt_dbgfs_csr_write()
/kernel/linux/linux-5.10/fs/nfs/
Ddir.c503 if (strnchr(filename.name, filename.len, '/')) in nfs_prime_dcache()
/kernel/linux/linux-5.10/kernel/
Dmodule.c4440 if ((colon = strnchr(name, MODULE_NAME_LEN, ':')) != NULL) { in module_kallsyms_lookup_name()
/kernel/linux/linux-5.10/mm/
Dslub.c1434 glob = strnchr(iter, end - iter, '*'); in kmem_cache_flags()
/kernel/linux/linux-5.10/fs/cifs/
Dconnect.c2948 delim = strnchr(payload, upayload->datalen, ':'); in cifs_set_cifscreds()