Home
last modified time | relevance | path

Searched refs:strcspn (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Doption.c31 int len = strcspn(optstr, ",="); in nvkm_stropt()
36 *arglen = strcspn(optstr, ",="); in nvkm_stropt()
100 int len = strcspn(optstr, ",="); in nvkm_dbgopt()
/linux/kernel/module/
H A Dversion.c101 amagic += strcspn(amagic, " "); in same_magic()
102 bmagic += strcspn(bmagic, " "); in same_magic()
/linux/drivers/android/
H A Dbinderfs.c677 for (len = strcspn(name, ","); len > 0; len = strcspn(name, ",")) { in binderfs_fill_super()
765 for (len = strcspn(name, ","); len > 0; len = strcspn(name, ",")) { in init_binderfs()
/linux/lib/
H A Ddump_stack.c64 (int)strcspn(init_utsname()->version, " "), in dump_stack_print_info()
/linux/arch/x86/kernel/
H A Dearly_printk.c180 s += strcspn(s, ","); in early_serial_init()
236 s += strcspn(s, ","); in early_mmio_serial_init()
H A Dpci-dma.c162 p += strcspn(p, ","); in iommu_setup()
/linux/arch/riscv/kernel/pi/
H A Dfdt_early.c97 single_end = strcspn(isa_str, "sSxXzZ"); in isa_string_contains()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlsm_bdev.c51 out[strcspn(out, "\n")] = '\0'; in run_cmd()
/linux/drivers/block/aoe/
H A Daoenet.c83 q = p + strcspn(p, WHITESPACE); in is_aoe_netif()
/linux/drivers/xen/xenbus/
H A Dxenbus_probe_backend.c69 typelen = strcspn(type, "/"); in backend_bus_id()
/linux/arch/sh/drivers/
H A Dplatform_early.c96 n += strcspn(&buf[n + 1], ",") + 1; in sh_early_platform_driver_register()
/linux/tools/testing/selftests/mm/
H A Dvm_util.c551 flaglen = strcspn(flags, " "); in write_sysfs()
747 value_pos = strcspn(substr_ksm_zero, "0123456789"); in get_hardware_corrupted_size()
/linux/drivers/nvme/target/
H A Dconfigfs.c544 len = strcspn(page, "\n"); in nvmet_ns_device_path_store()
923 len = strcspn(page, "\n"); in nvmet_passthru_device_path_store()
1330 int pos, len = strcspn(page, "\n"); in nvmet_subsys_attr_serial_store_locked()
1495 len = strcspn(page, "\n"); in nvmet_subsys_attr_model_store_locked()
1602 len = strcspn(page, "\n"); in nvmet_subsys_attr_firmware_store_locked()
2316 len = strcspn(page, "\n"); in nvmet_root_discovery_nqn_store()
/linux/tools/perf/ui/browsers/
H A Dscripts.c126 len = strcspn(p, " \t"); in check_ev_match()
/linux/scripts/kconfig/
H A Dconfdata.c648 p += strcspn(p, "\"\\"); in escape_string_value()
664 len = strcspn(p, "\"\\"); in escape_string_value()
/linux/kernel/
H A Dcrash_dump_dm_crypt.c209 len = strcspn(page, "\n"); in config_key_description_store()
/linux/security/apparmor/
H A Dlib.c73 size_t n = strcspn(str, "\r\n,"); in aa_parse_debug_params()
/linux/drivers/usb/host/
H A Dxhci-dbgcap.c1329 len = strcspn(buf, "\n"); in dbc_manufacturer_store()
1363 len = strcspn(buf, "\n"); in dbc_product_store()
1397 len = strcspn(buf, "\n"); in dbc_serial_store()
/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py72 def strcspn(str1, str2): function
312 pos = strcspn(actstr, ",)")
321 actstr = actstr[strcspn(actstr, ",)"):]
867 pos = strcspn(actstr, ",)")
/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c881 buf[strcspn(buf, "\n")] = '\0'; in write_sysfs()
901 n = strcspn(buf, "\n"); in sysfs_read_string()
/linux/fs/orangefs/
H A Dorangefs-debugfs.c573 keyword_len = strcspn(cds_head, " "); in orangefs_prepare_cdm_array()
/linux/tools/perf/
H A Dbuiltin-list.c98 int wlen = strcspn(s, " ,\t\n"); in wordwrap()
/linux/net/sunrpc/
H A Dsysfs.c396 buf_len = strcspn(buf, "\n"); in rpc_sysfs_xprt_dstaddr_store()
/linux/lib/tests/
H A Dstring_kunit.c285 KUNIT_ASSERT_EQ_MSG(test, s->r, strcspn(s->str, s->reject), in string_test_strspn()
/linux/scripts/mod/
H A Dmodpost.c1479 size_t n = strcspn(s, "."); in remove_dot()

12