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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.15.0-151/include/linux/   drwxr-xr-x
Free 28.48 GB of 117.98 GB (24.14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     jump_label_ratelimit.h (2.77 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_JUMP_LABEL_RATELIMIT_H
#define _LINUX_JUMP_LABEL_RATELIMIT_H

#include <linux/jump_label.h>
#include <linux/workqueue.h>

#if defined(CONFIG_JUMP_LABEL)
struct static_key_deferred {
    struct static_key key;
    unsigned long timeout;
    struct delayed_work work;
};

struct static_key_true_deferred {
    struct static_key_true key;
    unsigned long timeout;
    struct delayed_work work;
};

struct static_key_false_deferred {
    struct static_key_false key;
    unsigned long timeout;
    struct delayed_work work;
};

#define static_key_slow_dec_deferred(x)                    \
    __static_key_slow_dec_deferred(&(x)->key, &(x)->work, (x)->timeout)
#define static_branch_slow_dec_deferred(x)                \
    __static_key_slow_dec_deferred(&(x)->key.key, &(x)->work, (x)->timeout)

#define static_key_deferred_flush(x)                    \
    __static_key_deferred_flush((x), &(x)->work)

extern void
__static_key_slow_dec_deferred(struct static_key *key,
                   struct delayed_work *work,
                   unsigned long timeout);
extern void __static_key_deferred_flush(void *key, struct delayed_work *work);
extern void
jump_label_rate_limit(struct static_key_deferred *key, unsigned long rl);

extern void jump_label_update_timeout(struct work_struct *work);

#define DEFINE_STATIC_KEY_DEFERRED_TRUE(name, rl)            \
    struct static_key_true_deferred name = {            \
        .key =        { STATIC_KEY_INIT_TRUE },        \
        .timeout =    (rl),                    \
        .work =    __DELAYED_WORK_INITIALIZER((name).work,        \
                           jump_label_update_timeout, \
                           0),            \
    }

#define DEFINE_STATIC_KEY_DEFERRED_FALSE(name, rl)            \
    struct static_key_false_deferred name = {            \
        .key =        { STATIC_KEY_INIT_FALSE },        \
        .timeout =    (rl),                    \
        .work =    __DELAYED_WORK_INITIALIZER((name).work,        \
                           jump_label_update_timeout, \
                           0),            \
    }

#else    /* !CONFIG_JUMP_LABEL */
struct static_key_deferred {
    struct static_key  key;
};
struct static_key_true_deferred {
    struct static_key_true key;
};
struct static_key_false_deferred {
    struct static_key_false key;
};
#define DEFINE_STATIC_KEY_DEFERRED_TRUE(name, rl)    \
    struct static_key_true_deferred name = { STATIC_KEY_TRUE_INIT }
#define DEFINE_STATIC_KEY_DEFERRED_FALSE(name, rl)    \
    struct static_key_false_deferred name = { STATIC_KEY_FALSE_INIT }

#define static_branch_slow_dec_deferred(x)    static_branch_dec(&(x)->key)

static inline void static_key_slow_dec_deferred(struct static_key_deferred *key)
{
    STATIC_KEY_CHECK_USE(key);
    static_key_slow_dec(&key->key);
}
static inline void static_key_deferred_flush(void *key)
{
    STATIC_KEY_CHECK_USE(key);
}
static inline void
jump_label_rate_limit(struct static_key_deferred *key,
        unsigned long rl)
{
    STATIC_KEY_CHECK_USE(key);
}
#endif    /* CONFIG_JUMP_LABEL */

#define static_branch_deferred_inc(x)    static_branch_inc(&(x)->key)

#endif    /* _LINUX_JUMP_LABEL_RATELIMIT_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.0035 ]--