Searched refs:CTL_FLAG_REG_ID_UNIT (Results 1 - 2 of 2) sorted by relevance

/xnu-2782.1.97/bsd/sys/
H A Dkern_control.h217 @defined CTL_FLAG_REG_ID_UNIT
218 @discussion The CTL_FLAG_REG_ID_UNIT flag is passed to indicate that
225 #define CTL_FLAG_REG_ID_UNIT 0x2 macro
288 connecting to. If CTL_FLAG_REG_ID_UNIT was set when the kernel control
290 If CTL_FLAG_REG_ID_UNIT was not set when the kernel control was
424 For a DTS assigned creator code the CTL_FLAG_REG_ID_UNIT flag must be set.
425 For a dynamically assigned control ID, do not set the CTL_FLAG_REG_ID_UNIT flag.
430 the CTL_FLAG_REG_ID_UNIT flag is set.
432 @field ctl_flags CTL_FLAG_PRIVILEGED and/or CTL_FLAG_REG_ID_UNIT.
/xnu-2782.1.97/bsd/kern/
H A Dkern_control.c355 if ((kctl->flags & CTL_FLAG_REG_ID_UNIT) || sa.sc_unit != 0) {
1142 * CTL_FLAG_REG_ID_UNIT indicates the control ID and unit number are
1150 if ((userkctl->ctl_flags & CTL_FLAG_REG_ID_UNIT) == 0) {
1364 if (kctl->id == id && (kctl->flags & CTL_FLAG_REG_ID_UNIT) == 0)

Completed in 13 milliseconds