Searched refs:vbuf (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/udev/ |
D | udev-event.c | 347 char vbuf[UDEV_NAME_SIZE]; in udev_event_subst_format() local 355 if (udev_resolve_subsys_kernel(attr, vbuf, sizeof(vbuf), true) == 0) in udev_event_subst_format() 356 val = vbuf; in udev_event_subst_format() 370 if (val != vbuf) in udev_event_subst_format() 371 strscpy_full(vbuf, sizeof(vbuf), val, &truncated); in udev_event_subst_format() 372 delete_trailing_chars(vbuf, NULL); in udev_event_subst_format() 373 count = udev_replace_chars(vbuf, UDEV_ALLOWED_CHARS_INPUT); in udev_event_subst_format() 376 strpcpy_full(&s, l, vbuf, &t); in udev_event_subst_format()
|
D | udev-rules.c | 1376 char nbuf[UDEV_NAME_SIZE], vbuf[UDEV_NAME_SIZE]; in token_match_attr() local 1406 if (udev_resolve_subsys_kernel(name, vbuf, sizeof(vbuf), true) < 0) in token_match_attr() 1408 value = vbuf; in token_match_attr() 1416 if (value != vbuf) { in token_match_attr() 1417 strscpy(vbuf, sizeof(vbuf), value); in token_match_attr() 1418 value = vbuf; in token_match_attr() 1421 delete_trailing_chars(vbuf, NULL); in token_match_attr()
|