Home
last modified time | relevance | path

Searched refs:maj (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/core/
Dbpf-devices.c334 const unsigned *maj, in allow_list_device_pattern() argument
344 if (maj && min) in allow_list_device_pattern()
345 return bpf_prog_allow_list_device(prog, type, *maj, *min, acc); in allow_list_device_pattern()
346 else if (maj) in allow_list_device_pattern()
347 return bpf_prog_allow_list_major(prog, type, *maj, acc); in allow_list_device_pattern()
355 if (maj && min) in allow_list_device_pattern()
356 xsprintf(buf, "%c %u:%u %s", type, *maj, *min, acc); in allow_list_device_pattern()
357 else if (maj) in allow_list_device_pattern()
358 xsprintf(buf, "%c %u:* %s", type, *maj, acc); in allow_list_device_pattern()
409 unsigned maj = major(rdev), min = minor(rdev); in bpf_devices_allow_list_device() local
[all …]
/systemd-251/test/
Dsd-script.py56 maj, min = dev.split(":")
57 maj = self.sd_major.index(int(maj, 10))
60 self._num = 16*maj + num%16 + 256*int(num/16)
88 maj = SD._get_major(n)
90 return (maj << 20) + min
/systemd-251/src/basic/linux/
Dpkt_sched.h72 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) argument
/systemd-251/src/libsystemd/sd-device/
Dsd-device.c604 unsigned maj, min = 0; in device_set_devnum() local
610 r = safe_atou(major, &maj); in device_set_devnum()
613 if (maj == 0) in device_set_devnum()
615 if (!DEVICE_MAJOR_VALID(maj)) in device_set_devnum()
636 device->devnum = makedev(maj, min); in device_set_devnum()
/systemd-251/catalog/
Dsystemd.pl.catalog.in498 zwłaszcza na komputerach używających NFS lub mających kontenery. Należy