!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 

uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-2.6.24-28/include/asm-powerpc/   drwxr-xr-x
Free 1.06 GB of 97.11 GB (1.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     topology.h (2.32 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#ifndef _ASM_POWERPC_TOPOLOGY_H
#define _ASM_POWERPC_TOPOLOGY_H
#ifdef __KERNEL__


struct sys_device;
struct device_node;

#ifdef CONFIG_NUMA

#include <asm/mmzone.h>

static inline int cpu_to_node(int cpu)
{
    return numa_cpu_lookup_table[cpu];
}

#define parent_node(node)    (node)

static inline cpumask_t node_to_cpumask(int node)
{
    return numa_cpumask_lookup_table[node];
}

static inline int node_to_first_cpu(int node)
{
    cpumask_t tmp;
    tmp = node_to_cpumask(node);
    return first_cpu(tmp);
}

int of_node_to_nid(struct device_node *device);

struct pci_bus;
#ifdef CONFIG_PCI
extern int pcibus_to_node(struct pci_bus *bus);
#else
static inline int pcibus_to_node(struct pci_bus *bus)
{
    return -1;
}
#endif

#define pcibus_to_cpumask(bus)    (pcibus_to_node(bus) == -1 ? \
                    CPU_MASK_ALL : \
                    node_to_cpumask(pcibus_to_node(bus)) \
                )

/* sched_domains SD_NODE_INIT for PPC64 machines */
#define SD_NODE_INIT (struct sched_domain) {        \
    .span            = CPU_MASK_NONE,    \
    .parent            = NULL,            \
    .child            = NULL,            \
    .groups            = NULL,            \
    .min_interval        = 8,            \
    .max_interval        = 32,            \
    .busy_factor        = 32,            \
    .imbalance_pct        = 125,            \
    .cache_nice_tries    = 1,            \
    .busy_idx        = 3,            \
    .idle_idx        = 1,            \
    .newidle_idx        = 2,            \
    .wake_idx        = 1,            \
    .flags            = SD_LOAD_BALANCE    \
                | SD_BALANCE_EXEC    \
                | SD_BALANCE_NEWIDLE    \
                | SD_WAKE_IDLE        \
                | SD_SERIALIZE        \
                | SD_WAKE_BALANCE,    \
    .last_balance        = jiffies,        \
    .balance_interval    = 1,            \
    .nr_balance_failed    = 0,            \
}

extern void __init dump_numa_cpu_topology(void);

extern int sysfs_add_device_to_node(struct sys_device *dev, int nid);
extern void sysfs_remove_device_from_node(struct sys_device *dev, int nid);

#else

static inline int of_node_to_nid(struct device_node *device)
{
    return 0;
}

static inline void dump_numa_cpu_topology(void) {}

static inline int sysfs_add_device_to_node(struct sys_device *dev, int nid)
{
    return 0;
}

static inline void sysfs_remove_device_from_node(struct sys_device *dev,
                        int nid)
{
}


#include <asm-generic/topology.h>

#endif /* CONFIG_NUMA */

#ifdef CONFIG_SMP
#include <asm/cputable.h>
#define smt_capable()        (cpu_has_feature(CPU_FTR_SMT))

#ifdef CONFIG_PPC64
#include <asm/smp.h>

#define topology_thread_siblings(cpu)    (per_cpu(cpu_sibling_map, cpu))
#endif
#endif

#endif /* __KERNEL__ */
#endif    /* _ASM_POWERPC_TOPOLOGY_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 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.005 ]--