ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:21.61 GB of 70.42 GB (30.69%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ usr/ src/ linux-headers-3.0.0-14/ arch/ mn10300/ include/ asm/ - drwxr-xr-x

Directory:
Viewing file:     rwlock.h (2.98 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * Helpers used by both rw spinlocks and rw semaphores.
 *
 * Based in part on code from semaphore.h and
 * spinlock.h Copyright 1996 Linus Torvalds.
 *
 * Copyright 1999 Red Hat, Inc.
 *
 * Written by Benjamin LaHaise.
 *
 * Modified by Matsushita Electric Industrial Co., Ltd.
 * Modifications:
 * 13-Nov-2006 MEI Temporarily delete lock functions for SMP support.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option)
 * any later version.
 */
#ifndef _ASM_RWLOCK_H
#define _ASM_RWLOCK_H

#define RW_LOCK_BIAS         0x01000000

#ifndef CONFIG_SMP

typedef struct { unsigned long a[100]; } __dummy_lock_t;
#define __dummy_lock(lock) (*(__dummy_lock_t *)(lock))

#define RW_LOCK_BIAS_STR    "0x01000000"

#define __build_read_lock_ptr(rw, helper)                \
    do {                                \
        asm volatile(                        \
            "    mov    (%0),d3            \n"    \
            "    sub    1,d3            \n"    \
            "    mov    d3,(%0)            \n"    \
            "    blt    1f            \n"    \
            "    bra    2f            \n"    \
            "1:    jmp    3f            \n"    \
            "2:                    \n"    \
            "    .section .text.lock,\"ax\"    \n"    \
            "3:    call    "helper"[],0        \n"    \
            "    jmp    2b            \n"    \
            "    .previous"                \
            :                        \
            : "d" (rw)                    \
            : "memory", "d3", "cc");            \
    } while (0)

#define __build_read_lock_const(rw, helper)                \
    do {                                \
        asm volatile(                        \
            "    mov    (%0),d3            \n"    \
            "    sub    1,d3            \n"    \
            "    mov    d3,(%0)            \n"    \
            "    blt    1f            \n"    \
            "    bra    2f            \n"    \
            "1:    jmp    3f            \n"    \
            "2:                    \n"    \
            "    .section .text.lock,\"ax\"    \n"    \
            "3:    call    "helper"[],0        \n"    \
            "    jmp    2b            \n"    \
            "    .previous"                \
            :                        \
            : "d" (rw)                    \
            : "memory", "d3", "cc");            \
    } while (0)

#define __build_read_lock(rw, helper) \
    do {                                \
        if (__builtin_constant_p(rw))                \
            __build_read_lock_const(rw, helper);        \
        else                            \
            __build_read_lock_ptr(rw, helper);        \
    } while (0)

#define __build_write_lock_ptr(rw, helper)                \
    do {                                \
        asm volatile(                        \
            "    mov    (%0),d3            \n"    \
            "    sub    1,d3            \n"    \
            "    mov    d3,(%0)            \n"    \
            "    blt    1f            \n"    \
            "    bra    2f            \n"    \
            "1:    jmp    3f            \n"    \
            "2:                    \n"    \
            "    .section .text.lock,\"ax\"    \n"    \
            "3:    call    "helper"[],0        \n"    \
            "    jmp    2b            \n"    \
            "    .previous"                \
            :                        \
            : "d" (rw)                    \
            : "memory", "d3", "cc");            \
    } while (0)

#define __build_write_lock_const(rw, helper)                \
    do {                                \
        asm volatile(                        \
            "    mov    (%0),d3            \n"    \
            "    sub    1,d3            \n"    \
            "    mov    d3,(%0)            \n"    \
            "    blt    1f            \n"    \
            "    bra    2f            \n"    \
            "1:    jmp    3f            \n"    \
            "2:                    \n"    \
            "    .section .text.lock,\"ax\"    \n"    \
            "3:    call    "helper"[],0        \n"    \
            "    jmp    2b            \n"    \
            "    .previous"                \
            :                        \
            : "d" (rw)                    \
            : "memory", "d3", "cc");            \
    } while (0)

#define __build_write_lock(rw, helper)                    \
    do {                                \
        if (__builtin_constant_p(rw))                \
            __build_write_lock_const(rw, helper);        \
        else                            \
            __build_write_lock_ptr(rw, helper);        \
    } while (0)

#endif /* CONFIG_SMP */
#endif /* _ASM_RWLOCK_H */
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.4818 seconds