!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.4.0-216/arch/s390/include/asm/   drwxr-xr-x
Free 13.22 GB of 57.97 GB (22.8%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     irqflags.h (1.76 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
/*
 *    Copyright IBM Corp. 2006, 2010
 *    Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>
 */

#ifndef __ASM_IRQFLAGS_H
#define __ASM_IRQFLAGS_H

#include <linux/types.h>

#define ARCH_IRQ_ENABLED    (3UL << (BITS_PER_LONG - 8))

/* store then OR system mask. */
#define __arch_local_irq_stosm(__or)                    \
({                                    \
    unsigned long __mask;                        \
    asm volatile(                            \
        "    stosm    %0,%1"                    \
        : "=Q" (__mask) : "i" (__or) : "memory");        \
    __mask;                                \
})

/* store then AND system mask. */
#define __arch_local_irq_stnsm(__and)                    \
({                                    \
    unsigned long __mask;                        \
    asm volatile(                            \
        "    stnsm    %0,%1"                    \
        : "=Q" (__mask) : "i" (__and) : "memory");        \
    __mask;                                \
})

/* set system mask. */
static inline notrace void __arch_local_irq_ssm(unsigned long flags)
{
    asm volatile("ssm   %0" : : "Q" (flags) : "memory");
}

static inline notrace unsigned long arch_local_save_flags(void)
{
    return __arch_local_irq_stnsm(0xff);
}

static inline notrace unsigned long arch_local_irq_save(void)
{
    return __arch_local_irq_stnsm(0xfc);
}

static inline notrace void arch_local_irq_disable(void)
{
    arch_local_irq_save();
}

static inline notrace void arch_local_irq_enable(void)
{
    __arch_local_irq_stosm(0x03);
}

/* This only restores external and I/O interrupt state */
static inline notrace void arch_local_irq_restore(unsigned long flags)
{
    /* only disabled->disabled and disabled->enabled is valid */
    if (flags & ARCH_IRQ_ENABLED)
        arch_local_irq_enable();
}

static inline notrace bool arch_irqs_disabled_flags(unsigned long flags)
{
    return !(flags & ARCH_IRQ_ENABLED);
}

static inline notrace bool arch_irqs_disabled(void)
{
    return arch_irqs_disabled_flags(arch_local_save_flags());
}

#endif /* __ASM_IRQFLAGS_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0655 ]--