Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
systemtap /
runtime /
[ HOME SHELL ]
Name
Size
Permission
Action
linux
[ DIR ]
drwxr-xr-x
transport
[ DIR ]
drwxr-xr-x
unwind
[ DIR ]
drwxr-xr-x
addr-map.c
498
B
-rw-r--r--
alloc.c
498
B
-rw-r--r--
arith.c
483
B
-rw-r--r--
common_probe_context.h
5.2
KB
-rw-r--r--
common_session_state.h
378
B
-rw-r--r--
compatdefs.h
2.72
KB
-rw-r--r--
copy.c
585
B
-rw-r--r--
debug.h
485
B
-rw-r--r--
io.c
508
B
-rw-r--r--
k_syms.h
182
B
-rw-r--r--
loc2c-runtime.h
8.69
KB
-rw-r--r--
map-gen.c
20.59
KB
-rw-r--r--
map-stat.c
3.58
KB
-rw-r--r--
map.c
13.2
KB
-rw-r--r--
map.h
5.45
KB
-rw-r--r--
mempool.c
2.55
KB
-rw-r--r--
namespaces.h
487
B
-rw-r--r--
pmap-gen.c
7.17
KB
-rw-r--r--
print.c
486
B
-rw-r--r--
print.h
680
B
-rw-r--r--
print_flush.c
4.3
KB
-rw-r--r--
probe_lock.h
498
B
-rw-r--r--
proc_fs_compatibility.h
2.22
KB
-rw-r--r--
procfs-probes.c
3.88
KB
-rw-r--r--
procfs.c
7.51
KB
-rw-r--r--
ptrace_compatibility.h
1.48
KB
-rw-r--r--
regs.c
3.78
KB
-rw-r--r--
regs.h
2
KB
-rw-r--r--
runtime.h
905
B
-rw-r--r--
runtime_context.h
669
B
-rw-r--r--
runtime_defines.h
3.5
KB
-rw-r--r--
stack-arm.c
1.65
KB
-rw-r--r--
stack-ia64.c
1.06
KB
-rw-r--r--
stack-s390.c
1.92
KB
-rw-r--r--
stack.c
17.69
KB
-rw-r--r--
stat-common.c
7.55
KB
-rw-r--r--
stat.c
5.27
KB
-rw-r--r--
stat.h
1.44
KB
-rw-r--r--
stp_helper_lock.h
3.16
KB
-rw-r--r--
stp_string.c
5
KB
-rw-r--r--
stp_string.h
2.17
KB
-rw-r--r--
stp_task_work.c
2.75
KB
-rw-r--r--
stp_utrace.c
76.06
KB
-rw-r--r--
stp_utrace.h
13.68
KB
-rw-r--r--
sym.c
34.44
KB
-rw-r--r--
sym.h
5.83
KB
-rw-r--r--
syscall.h
13.06
KB
-rw-r--r--
task_finder_vma.c
11.4
KB
-rw-r--r--
time.c
12.19
KB
-rw-r--r--
timer.c
481
B
-rw-r--r--
timer.h
482
B
-rw-r--r--
uidgid_compatibility.h
603
B
-rw-r--r--
unwind.c
46.04
KB
-rw-r--r--
utrace_compatibility.h
3.07
KB
-rw-r--r--
vma.c
8.76
KB
-rw-r--r--
vsprintf.c
22.66
KB
-rw-r--r--
vsprintf.h
1.47
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mempool.c
/* -*- linux-c -*- * Preallocated memory pools * Copyright (C) 2008-2009 Red Hat Inc. * * This file is part of systemtap, and is free software. You can * redistribute it and/or modify it under the terms of the GNU General * Public License (GPL); either version 2, or (at your option) any * later version. */ #ifndef _STP_MEMPOOL_C_ #define _STP_MEMPOOL_C_ /* An opaque struct identifying the memory pool. */ typedef struct { struct list_head free_list; unsigned num; unsigned size; spinlock_t lock; } _stp_mempool_t; /* for internal use only */ struct _stp_mem_buffer { struct list_head list; _stp_mempool_t *pool; void *buf; }; /* Delete a memory pool */ static void _stp_mempool_destroy(_stp_mempool_t *pool) { struct list_head *p, *tmp; if (pool) { list_for_each_safe(p, tmp, &pool->free_list) { list_del(p); _stp_kfree(p); } _stp_kfree(pool); } } /* Create a new memory pool */ static _stp_mempool_t *_stp_mempool_init(size_t size, size_t num) { int i, alloc_size; struct _stp_mem_buffer *m; _stp_mempool_t *pool = (_stp_mempool_t *)_stp_kmalloc(sizeof(_stp_mempool_t)); if (unlikely(pool == NULL)) { errk("Memory allocation failed.\n"); return NULL; } INIT_LIST_HEAD(&pool->free_list); spin_lock_init(&pool->lock); alloc_size = size + sizeof(struct _stp_mem_buffer) - sizeof(void *); for (i = 0; i < num; i++) { m = (struct _stp_mem_buffer *)_stp_kmalloc(alloc_size); if (unlikely(m == NULL)) goto err; m->pool = pool; list_add((struct list_head *)m, &pool->free_list); } pool->num = num; pool->size = alloc_size; return pool; err: _stp_mempool_destroy(pool); return NULL; } /* allocate a buffer from a memory pool */ static void *_stp_mempool_alloc(_stp_mempool_t *pool) { unsigned long flags; struct _stp_mem_buffer *ptr = NULL; /* PR14804: tolerate accidental early call, before pool is actually initialized. */ if (pool == NULL) return NULL; spin_lock_irqsave(&pool->lock, flags); if (likely(!list_empty(&pool->free_list))) { ptr = (struct _stp_mem_buffer *)pool->free_list.next; list_del_init(&ptr->list); spin_unlock_irqrestore(&pool->lock, flags); return &ptr->buf; } spin_unlock_irqrestore(&pool->lock, flags); return NULL; } /* return a buffer to its memory pool */ static void _stp_mempool_free(void *buf) { unsigned long flags; struct _stp_mem_buffer *m = container_of(buf, struct _stp_mem_buffer, buf); spin_lock_irqsave(&m->pool->lock, flags); list_add(&m->list, &m->pool->free_list); spin_unlock_irqrestore(&m->pool->lock, flags); } #endif /* _STP_MEMPOOL_C_ */
Close