Home
last modified time | relevance | path

Searched refs:strlcat (Results 1 - 25 of 301) sorted by relevance

12345678910>>...13

/kernel/linux/linux-6.6/security/selinux/
H A Dima.c40 rc = strlcat(buf, selinux_initialized() ? on : off, buf_len); in selinux_ima_collect_state()
43 rc = strlcat(buf, "enforcing", buf_len); in selinux_ima_collect_state()
46 rc = strlcat(buf, enforcing_enabled() ? on : off, buf_len); in selinux_ima_collect_state()
49 rc = strlcat(buf, "checkreqprot", buf_len); in selinux_ima_collect_state()
52 rc = strlcat(buf, checkreqprot_get() ? on : off, buf_len); in selinux_ima_collect_state()
56 rc = strlcat(buf, selinux_policycap_names[i], buf_len); in selinux_ima_collect_state()
59 rc = strlcat(buf, selinux_state.policycap[i] ? on : off, in selinux_ima_collect_state()
/kernel/linux/linux-5.10/block/partitions/
H A Dacorn.c43 strlcat(state->pp_buf, " [", PAGE_SIZE); in adfs_partition()
44 strlcat(state->pp_buf, name, PAGE_SIZE); in adfs_partition()
45 strlcat(state->pp_buf, "]", PAGE_SIZE); in adfs_partition()
81 strlcat(state->pp_buf, " [RISCiX]", PAGE_SIZE); in riscix_partition()
88 strlcat(state->pp_buf, " <", PAGE_SIZE); in riscix_partition()
97 strlcat(state->pp_buf, "(", PAGE_SIZE); in riscix_partition()
98 strlcat(state->pp_buf, rr->part[part].name, PAGE_SIZE); in riscix_partition()
99 strlcat(state->pp_buf, ")", PAGE_SIZE); in riscix_partition()
103 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in riscix_partition()
133 strlcat(stat in linux_partition()
[all...]
H A Dmsdos.c269 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
276 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
289 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
297 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in parse_solaris_x86()
372 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_bsd()
393 strlcat(state->pp_buf, "bad subpartition - ignored\n", PAGE_SIZE); in parse_bsd()
402 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_bsd()
404 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in parse_bsd()
502 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_unixware()
517 strlcat(stat in parse_unixware()
[all...]
H A Datari.c73 strlcat(state->pp_buf, " AHDI", PAGE_SIZE); in atari_partition()
92 strlcat(state->pp_buf, " XGM<", PAGE_SIZE); in atari_partition()
131 strlcat(state->pp_buf, " >", PAGE_SIZE); in atari_partition()
138 strlcat(state->pp_buf, " ICD<", PAGE_SIZE); in atari_partition()
148 strlcat(state->pp_buf, " >", PAGE_SIZE); in atari_partition()
154 strlcat(state->pp_buf, "\n", PAGE_SIZE); in atari_partition()
H A Dibm.c149 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_vol1_partitions()
187 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_vol1_partitions()
209 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_lnx1_partitions()
226 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_lnx1_partitions()
238 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_lnx1_partitions()
260 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_cms1_partitions()
266 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_cms1_partitions()
282 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_cms1_partitions()
355 strlcat(state->pp_buf, "(nonl)", PAGE_SIZE); in ibm_partition()
359 strlcat(stat in ibm_partition()
[all...]
H A Dsysv68.c78 strlcat(state->pp_buf, tmp, PAGE_SIZE); in sysv68_partition()
88 strlcat(state->pp_buf, tmp, PAGE_SIZE); in sysv68_partition()
92 strlcat(state->pp_buf, "\n", PAGE_SIZE); in sysv68_partition()
H A Damiga.c90 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
195 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
199 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
203 strlcat(state->pp_buf, "\n", PAGE_SIZE); in amiga_partition()
/kernel/linux/linux-6.6/block/partitions/
H A Dacorn.c43 strlcat(state->pp_buf, " [", PAGE_SIZE); in adfs_partition()
44 strlcat(state->pp_buf, name, PAGE_SIZE); in adfs_partition()
45 strlcat(state->pp_buf, "]", PAGE_SIZE); in adfs_partition()
81 strlcat(state->pp_buf, " [RISCiX]", PAGE_SIZE); in riscix_partition()
88 strlcat(state->pp_buf, " <", PAGE_SIZE); in riscix_partition()
97 strlcat(state->pp_buf, "(", PAGE_SIZE); in riscix_partition()
98 strlcat(state->pp_buf, rr->part[part].name, PAGE_SIZE); in riscix_partition()
99 strlcat(state->pp_buf, ")", PAGE_SIZE); in riscix_partition()
103 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in riscix_partition()
133 strlcat(stat in linux_partition()
[all...]
H A Dmsdos.c270 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
277 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
290 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
298 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in parse_solaris_x86()
373 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_bsd()
394 strlcat(state->pp_buf, "bad subpartition - ignored\n", PAGE_SIZE); in parse_bsd()
403 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_bsd()
405 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in parse_bsd()
503 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_unixware()
518 strlcat(stat in parse_unixware()
[all...]
H A Datari.c73 strlcat(state->pp_buf, " AHDI", PAGE_SIZE); in atari_partition()
92 strlcat(state->pp_buf, " XGM<", PAGE_SIZE); in atari_partition()
131 strlcat(state->pp_buf, " >", PAGE_SIZE); in atari_partition()
138 strlcat(state->pp_buf, " ICD<", PAGE_SIZE); in atari_partition()
147 strlcat(state->pp_buf, " >", PAGE_SIZE); in atari_partition()
153 strlcat(state->pp_buf, "\n", PAGE_SIZE); in atari_partition()
H A Dibm.c149 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_vol1_partitions()
187 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_vol1_partitions()
209 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_lnx1_partitions()
226 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_lnx1_partitions()
238 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_lnx1_partitions()
260 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_cms1_partitions()
266 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_cms1_partitions()
282 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_cms1_partitions()
356 strlcat(state->pp_buf, "(nonl)", PAGE_SIZE); in ibm_partition()
360 strlcat(stat in ibm_partition()
[all...]
H A Dsysv68.c78 strlcat(state->pp_buf, tmp, PAGE_SIZE); in sysv68_partition()
88 strlcat(state->pp_buf, tmp, PAGE_SIZE); in sysv68_partition()
92 strlcat(state->pp_buf, "\n", PAGE_SIZE); in sysv68_partition()
H A Damiga.c89 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
194 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
198 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
202 strlcat(state->pp_buf, "\n", PAGE_SIZE); in amiga_partition()
/kernel/linux/linux-6.6/lib/
H A Dstrcat_kunit.c67 KUNIT_EXPECT_EQ(test, strlcat(dest, "", len), 0); in strlcat_test()
70 KUNIT_EXPECT_EQ(test, strlcat(dest, "four", 1 + unconst), 4); in strlcat_test()
74 KUNIT_EXPECT_EQ(test, strlcat(dest, "four", len), 4); in strlcat_test()
77 KUNIT_EXPECT_EQ(test, strlcat(dest, "AB", len), 6); in strlcat_test()
80 KUNIT_EXPECT_EQ(test, strlcat(dest, "CD", 7 + unconst), 8); in strlcat_test()
83 KUNIT_EXPECT_EQ(test, strlcat(dest, "EFG", len), 9); in strlcat_test()
86 KUNIT_EXPECT_EQ(test, strlcat(dest, "1234", len), 11); in strlcat_test()
/third_party/alsa-utils/alsactl/
H A Dinit_sysfs.c48 strlcat(sysfs_test, "/kernel/uevent_seqnum", sizeof(sysfs_test)); in sysfs_init()
51 strlcat(sysfs_test, "/kernel/uevent_helper", sizeof(sysfs_test)); in sysfs_init()
87 strlcat(path_full, devpath, sizeof(path_full)); in sysfs_attr_get_value()
88 strlcat(path_full, "/", sizeof(path_full)); in sysfs_attr_get_value()
89 strlcat(path_full, attr_name, sizeof(path_full)); in sysfs_attr_get_value()
H A Dinit_parse.c285 strlcat(res, ",", sizeof(res)); in get_ctl_value()
286 strlcat(res, snd_ctl_elem_value_get_boolean(space->ctl_value, idx) ? "on" : "off", sizeof(res)); in get_ctl_value()
292 strlcat(res, ",", sizeof(res)); in get_ctl_value()
294 strlcat(res, tmp, sizeof(res)); in get_ctl_value()
300 strlcat(res, ",", sizeof(res)); in get_ctl_value()
302 strlcat(res, tmp, sizeof(res)); in get_ctl_value()
308 strlcat(res, ",", sizeof(res)); in get_ctl_value()
310 strlcat(res, tmp, sizeof(res)); in get_ctl_value()
686 strlcat(res, snd_ctl_elem_info_get_item_name(space->ctl_info), sizeof(res)); in elemid_get()
687 strlcat(re in elemid_get()
[all...]
/kernel/linux/linux-5.10/drivers/input/serio/
H A Di8042-loongsonio.h85 strlcat(dst, " ", dst_size); in i8042_pnp_id_to_string()
86 strlcat(dst, id->id, dst_size); in i8042_pnp_id_to_string()
105 strlcat(i8042_pnp_kbd_name, ":", sizeof(i8042_pnp_kbd_name)); in i8042_pnp_kbd_probe()
106 strlcat(i8042_pnp_kbd_name, pnp_dev_name(dev), in i8042_pnp_kbd_probe()
133 strlcat(i8042_pnp_aux_name, ":", sizeof(i8042_pnp_aux_name)); in i8042_pnp_aux_probe()
134 strlcat(i8042_pnp_aux_name, pnp_dev_name(dev), in i8042_pnp_aux_probe()
/third_party/musl/libc-test/src/functional/
H A Dstring.c99 TEST(i, strlcat(b, "123", sizeof b), 6, "length %d != %d"); in main()
100 TEST_S(b, "abc123", "strlcat result"); in main()
103 TEST(i, strlcat(b, "123", 6), 6, "length %d != %d"); in main()
104 TEST_S(b, "abc12", "strlcat result"); in main()
105 TEST(i, b[6], 'x', "strlcat wrote past string %d != %d"); in main()
108 TEST(i, strlcat(b, "123", 4), 6, "length %d != %d"); in main()
109 TEST_S(b, "abc", "strlcat result"); in main()
112 TEST(i, strlcat(b, "123", 3), 6, "length %d != %d"); in main()
113 TEST_S(b, "abc", "strlcat result"); in main()
/kernel/linux/linux-5.10/fs/orangefs/
H A Dorangefs-debugfs.c603 * strlcat(dst, src, size) will append at most in orangefs_prepare_debugfs_help_string()
609 * help string and let strlcat take care of assuring that in orangefs_prepare_debugfs_help_string()
612 strlcat(new, client_title, string_size); in orangefs_prepare_debugfs_help_string()
628 strlcat(new, "\t", string_size); in orangefs_prepare_debugfs_help_string()
629 strlcat(new, cdm_array[i].keyword, string_size); in orangefs_prepare_debugfs_help_string()
630 strlcat(new, "\n", string_size); in orangefs_prepare_debugfs_help_string()
634 strlcat(new, "\n", string_size); in orangefs_prepare_debugfs_help_string()
635 strlcat(new, kernel_title, string_size); in orangefs_prepare_debugfs_help_string()
638 strlcat(new, "\t", string_size); in orangefs_prepare_debugfs_help_string()
639 strlcat(ne in orangefs_prepare_debugfs_help_string()
[all...]
/kernel/linux/linux-6.6/fs/orangefs/
H A Dorangefs-debugfs.c603 * strlcat(dst, src, size) will append at most in orangefs_prepare_debugfs_help_string()
609 * help string and let strlcat take care of assuring that in orangefs_prepare_debugfs_help_string()
612 strlcat(new, client_title, string_size); in orangefs_prepare_debugfs_help_string()
628 strlcat(new, "\t", string_size); in orangefs_prepare_debugfs_help_string()
629 strlcat(new, cdm_array[i].keyword, string_size); in orangefs_prepare_debugfs_help_string()
630 strlcat(new, "\n", string_size); in orangefs_prepare_debugfs_help_string()
634 strlcat(new, "\n", string_size); in orangefs_prepare_debugfs_help_string()
635 strlcat(new, kernel_title, string_size); in orangefs_prepare_debugfs_help_string()
638 strlcat(new, "\t", string_size); in orangefs_prepare_debugfs_help_string()
639 strlcat(ne in orangefs_prepare_debugfs_help_string()
[all...]
/third_party/python/Mac/Tools/
H A Dpythonw.c183 if (strlcat(real_path, slash, sizeof(real_path)) > sizeof(real_path)) { in main()
192 if (strlcat(real_path, "/", sizeof(real_path)) > sizeof(real_path)) { in main()
196 if (strlcat(real_path, path, sizeof(real_path)) > sizeof(real_path)) { in main()
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dsetup.c60 strlcat(p, " console=", COMMAND_LINE_SIZE); in setup_cmdline()
62 strlcat(p, "ttyS0", COMMAND_LINE_SIZE); in setup_cmdline()
64 strlcat(p, "tty0", COMMAND_LINE_SIZE); in setup_cmdline()
69 strlcat(p, " earlycon=pdc", COMMAND_LINE_SIZE); in setup_cmdline()
/kernel/linux/linux-5.10/arch/mips/ralink/
H A Dprom.c55 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); in prom_init_cmdline()
56 strlcat(arcs_cmdline, p, sizeof(arcs_cmdline)); in prom_init_cmdline()
/kernel/linux/linux-5.10/arch/mips/vr41xx/common/
H A Dinit.c56 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init()
58 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
/kernel/linux/linux-6.6/arch/mips/ralink/
H A Dprom.c52 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); in prom_init_cmdline()
53 strlcat(arcs_cmdline, p, sizeof(arcs_cmdline)); in prom_init_cmdline()

Completed in 12 milliseconds

12345678910>>...13