!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/linux/mtd/   drwxr-xr-x
Free 318.3 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:     flashchip.h (1.67 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

/* 
 * struct flchip definition
 * 
 * Contains information about the location and state of a given flash device 
 *
 * (C) 2000 Red Hat. GPLd.
 *
 * $Id: flashchip.h,v 1.7 2001/01/18 03:52:36 nico Exp $
 *
 */

#ifndef __MTD_FLASHCHIP_H__
#define __MTD_FLASHCHIP_H__

/* For spinlocks. sched.h includes spinlock.h from whichever directory it
 * happens to be in - so we don't have to care whether we're on 2.2, which
 * has asm/spinlock.h, or 2.4, which has linux/spinlock.h 
 */
#include <linux/sched.h>

typedef enum { 
    FL_READY,
    FL_STATUS,
    FL_CFI_QUERY,
    FL_JEDEC_QUERY,
    FL_ERASING,
    FL_ERASE_SUSPENDING,
    FL_ERASE_SUSPENDED,
    FL_WRITING,
    FL_WRITING_TO_BUFFER,
    FL_WRITE_SUSPENDING,
    FL_WRITE_SUSPENDED,
    FL_PM_SUSPENDED,
    FL_SYNCING,
    FL_UNLOADING,
    FL_LOCKING,
    FL_UNLOCKING,
    FL_UNKNOWN
} flstate_t;



/* NOTE: confusingly, this can be used to refer to more than one chip at a time, 
   if they're interleaved. */

struct flchip {
    unsigned long start; /* Offset within the map */
    //    unsigned long len;
    /* We omit len for now, because when we group them together
       we insist that they're all of the same size, and the chip size
       is held in the next level up. If we get more versatile later,
       it'll make it a damn sight harder to find which chip we want from
       a given offset, and we'll want to add the per-chip length field
       back in.
    */
    flstate_t state;
    flstate_t oldstate;
    spinlock_t *mutex;
    spinlock_t _spinlock; /* We do it like this because sometimes they'll be shared. */
    wait_queue_head_t wq; /* Wait on here when we're waiting for the chip
                 to be ready */
    int word_write_time;
    int buffer_write_time;
    int erase_time;
};



#endif /* __MTD_FLASHCHIP_H__ */

:: 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.0046 ]--