!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-4.15.0-213/include/linux/   drwxr-xr-x
Free 9.87 GB of 61.93 GB (15.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

#include <linux/rcupdate.h>

/*
 * rcuwait provides a way of blocking and waking up a single
 * task in an rcu-safe manner; where it is forbidden to use
 * after exit_notify(). task_struct is not properly rcu protected,
 * unless dealing with rcu-aware lists, ie: find_task_by_*().
 *
 * Alternatively we have task_rcu_dereference(), but the return
 * semantics have different implications which would break the
 * wakeup side. The only time @task is non-nil is when a user is
 * blocked (or checking if it needs to) on a condition, and reset
 * as soon as we know that the condition has succeeded and are
 * awoken.
 */
struct rcuwait {
    struct task_struct *task;
};

#define __RCUWAIT_INITIALIZER(name)        \
    { .task = NULL, }

static inline void rcuwait_init(struct rcuwait *w)
{
    w->task = NULL;
}

extern void rcuwait_wake_up(struct rcuwait *w);

/*
 * The caller is responsible for locking around rcuwait_wait_event(),
 * such that writes to @task are properly serialized.
 */
#define rcuwait_wait_event(w, condition)                \
({                                    \
    /*                                \
     * Complain if we are called after do_exit()/exit_notify(),     \
     * as we cannot rely on the rcu critical region for the        \
     * wakeup side.                            \
     */                                                             \
    WARN_ON(current->exit_state);                                   \
                                    \
    rcu_assign_pointer((w)->task, current);                \
    for (;;) {                            \
        /*                            \
         * Implicit barrier (A) pairs with (B) in        \
         * rcuwait_wake_up().                    \
         */                            \
        set_current_state(TASK_UNINTERRUPTIBLE);        \
        if (condition)                        \
            break;                        \
                                    \
        schedule();                        \
    }                                \
                                    \
    WRITE_ONCE((w)->task, NULL);                    \
    __set_current_state(TASK_RUNNING);                \
})

#endif /* _LINUX_RCUWAIT_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.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.2937 ]--