/DragonOS-0.1.2/docs/kernel/core_api/ |
D | atomic.md | 68 ### `inline void atomic_set_mask(atomic_t *ato, long mask)` 72   将原子变量的值与mask变量进行or运算 80 **mask** 84 ### `inline void atomic_clear_mask(atomic_t *ato, long mask)` argument 88   将原子变量的值与mask变量进行and运算 96 **mask**
|
/DragonOS-0.1.2/kernel/src/common/ |
D | atomic.h | 80 inline void atomic_set_mask(atomic_t *ato, long mask) in atomic_set_mask() argument 84 : "r"(mask) in atomic_set_mask() 93 inline void atomic_clear_mask(atomic_t *ato, long mask) in atomic_clear_mask() argument 97 : "r"(mask) in atomic_clear_mask()
|
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/ |
D | apic_timer.h | 49 static __always_inline void apic_timer_set_LVT(uint32_t vector, uint32_t mask, uint32_t mode) in apic_timer_set_LVT() argument 51 register uint32_t val = (mode << 17) | vector | (mask ? (APIC_LVT_INT_MASKED) : 0); in apic_timer_set_LVT()
|
D | apic.h | 111 mask : 1, // 第16位,屏蔽标志位,(0为未屏蔽, 1为已屏蔽) member 160 mask : 1, // 16 屏蔽标志位,(0为未屏蔽, 1为已屏蔽) member 331 …t deliver_status, uint8_t polarity, uint8_t irr, uint8_t trigger, uint8_t mask, uint8_t dest_apicI…
|
D | apic.c | 628 …t deliver_status, uint8_t polarity, uint8_t irr, uint8_t trigger, uint8_t mask, uint8_t dest_apicI… in apic_make_rte_entry() argument 638 entry->mask = mask; in apic_make_rte_entry()
|
/DragonOS-0.1.2/kernel/src/driver/pci/ |
D | msi.h | 47 uint32_t mask; member
|
D | msi.c | 65 cap_list.mask = in __msi_read_cap_list()
|
/DragonOS-0.1.2/kernel/src/ipc/ |
D | signal_types.rs | 532 pub fn flush_by_mask(&mut self, mask: &sigset_t) { in flush_by_mask() 535 if sig_is_member(mask, SignalNumber::from(unsafe { x._sinfo.data.si_signo })) { in flush_by_mask() 583 pub fn sigset_delmask(set: &mut sigset_t, mask: u64) { in sigset_delmask() 584 *set &= !mask; in sigset_delmask() 598 pub fn sigset_init(new_set: &mut sigset_t, mask: u64) { in sigset_init() 599 *new_set = mask; in sigset_init()
|
D | signal.rs | 717 fn setup_sigcontext(context: &mut sigcontext, mask: &sigset_t, regs: &pt_regs) -> Result<i32, i32> { in setup_sigcontext() 720 context.oldmask = *mask; in setup_sigcontext() 791 let mask: sigset_t = unsafe { (*act).sa_mask }; in sys_sigaction() localVariable 831 sigset_init(&mut new_ka.sa_mask, mask); in sys_sigaction() 946 let mut mask: sigset_t = 0; in do_sigaction() localVariable 947 sigset_clear(&mut mask); in do_sigaction() 948 sigset_add(&mut mask, sig); in do_sigaction() 951 sq.flush_by_mask(&mask); in do_sigaction()
|
/DragonOS-0.1.2/kernel/src/driver/disk/ |
D | ata.c | 62 entry.mask = MASKED; in ata_init()
|
/DragonOS-0.1.2/kernel/src/driver/keyboard/ |
D | ps2_keyboard.c | 179 entry.mask = MASKED; in ps2_keyboard_init()
|
/DragonOS-0.1.2/kernel/src/driver/mouse/ |
D | ps2_mouse.c | 219 ps2_mouse_entry.mask = MASKED; in ps2_mouse_init()
|
/DragonOS-0.1.2/kernel/src/libs/ |
D | lz4.c | 735 U64 const mask = 0x0101010101010101ULL; in LZ4_NbCommonBytes() 736 U64 const t = (((val >> 8) - mask) | val) & mask; in LZ4_NbCommonBytes()
|