Searched refs:capabilities (Results 1 - 6 of 6) sorted by relevance

/systemd/src/udev/v4l_id/
H A Dv4l_id.c70 if ((v2cap.capabilities & V4L2_CAP_VIDEO_CAPTURE) > 0)
72 if ((v2cap.capabilities & V4L2_CAP_VIDEO_OUTPUT) > 0)
74 if ((v2cap.capabilities & V4L2_CAP_VIDEO_OVERLAY) > 0)
76 if ((v2cap.capabilities & V4L2_CAP_AUDIO) > 0)
78 if ((v2cap.capabilities & V4L2_CAP_TUNER) > 0)
80 if ((v2cap.capabilities & V4L2_CAP_RADIO) > 0)
/systemd/src/shared/
H A Dcondition.c255 unsigned long long capabilities = -1; local
277 (void) sscanf(line+7, "%llx", &capabilities);
282 return !!(capabilities & (1ULL << value));
/systemd/src/core/
H A Dexecute.c751 * capabilities while doing so. */
753 if (context->capabilities || context->capability_ambient_set != 0) {
755 /* First step: If we need to keep capabilities but
766 /* Second step: set the capabilities. This will reduce
767 * the capabilities to the minimum we need. */
769 if (context->capabilities) {
776 d = cap_dup(context->capabilities);
793 /* At this point we should have all necessary capabilities but
1896 if (context->capabilities) {
1898 /* The capabilities i
[all...]
H A Dexecute.h162 cap_t capabilities; member in struct:ExecContext
H A Ddbus-execute.c332 if (c->capabilities)
333 s = t = cap_to_text(c->capabilities, NULL);
H A Dload-fragment.c975 log_syntax(unit, LOG_ERR, filename, line, errno, "Failed to parse capabilities, ignoring: %s", rvalue);
979 if (c->capabilities)
980 cap_free(c->capabilities);
981 c->capabilities = cap;

Completed in 284 milliseconds