!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/include/asm-s390/   drwxr-xr-x
Free 318.33 GB of 458.09 GB (69.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     idals.h (1.59 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* 
   * File...........: linux/include/asm-s390x/idals.h
   * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com>
   * Bugreports.to..: <Linux390@de.ibm.com>
   * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 2000a
   
   * History of changes
   * 07/24/00 new file
 */
#include <linux/config.h>
#include <asm/irq.h>

#define IDA_SIZE_LOG 11 /* 11 for 2k , 12 for 4k */
#define IDA_BLOCK_SIZE (1L<<IDA_SIZE_LOG)

static inline addr_t *
idal_alloc ( int nridaws )
{
    if ( nridaws > 33 )
        BUG();
    return kmalloc(nridaws * sizeof(addr_t), GFP_ATOMIC | GFP_DMA );
}

static inline void 
idal_free ( addr_t *idal )
{
    kfree (idal);
}

#if defined(CONFIG_ARCH_S390X)
extern unsigned long __create_idal(unsigned long address, int count);
#endif

/*
 * Function: set_normalized_cda
 * sets the address of the data in CCW
 * if necessary it allocates an IDAL and sets sthe appropriate flags
 */
static inline int
set_normalized_cda(ccw1_t * ccw, unsigned long address)
{
    int ret = 0;

#if defined (CONFIG_ARCH_S390X)
    if (((address + ccw->count) >> 31) != 0) {
        if (ccw->flags & CCW_FLAG_IDA)
            BUG();
        address = __create_idal(address, ccw->count);
        if (address)
            ccw->flags |= CCW_FLAG_IDA;
        else
            ret = -ENOMEM;
    }
#endif
    ccw->cda = (__u32) address;
    return ret;
}

/*
 * Function: clear_normalized_cda
 * releases any allocated IDAL related to the CCW
 */
static inline void
clear_normalized_cda ( ccw1_t * ccw ) 
{
#if defined(CONFIG_ARCH_S390X)
    if ( ccw -> flags & CCW_FLAG_IDA ) {
        idal_free ( (addr_t *)(unsigned long) (ccw -> cda ));
        ccw -> flags &= ~CCW_FLAG_IDA;
    }
#endif
    ccw -> cda = 0;
}


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0255 ]--