Server IP : 173.249.157.85 / Your IP : 18.190.207.149 Web Server : Apache System : Linux server.frogzhost.com 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : econtech ( 1005) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/src/snapapi26-0.8.34/ |
Upload File : |
SNAPAPI_FLAGS += $(shell \ if grep -qw ''static.*kmap_atomic\(.*page.*,.*\)'\|'define\ kmap_atomic\(page,.*\)'' $(srctree)/include/linux/highmem.h; then \ echo -DHAVE_KMAP_ATOMIC_2ARGS; \ fi) SNAPAPI_FLAGS += $(shell \ if grep -qw "nr_rqs.*" $(srctree)/include/linux/blkdev.h; then \ echo -DHAVE_REQUEST_QUEUE_RQS; \ elif grep -qw "struct request_list rq" $(srctree)/include/linux/blk_types.h; then \ echo -DHAVE_REQUEST_LIST_COUNT; \ fi) SNAPAPI_FLAGS += $(shell \ grep -qw "pid_ns_for_children" $(srctree)/include/linux/nsproxy.h && \ echo -DHAVE_PID_NS_CHILDREN) SNAPAPI_FLAGS += $(shell \ grep -v '^//' $(srctree)/include/linux/fs.h | grep -qw "f_dentry" && \ echo -DHAVE_FILE_F_DENTRY) SNAPAPI_FLAGS += $(shell \ grep -qw "set_mb" $(srctree)/arch/x86/include/asm/barrier.h \ $(srctree)/arch/x86/include/asm/system.h \ $(srctree)/include/asm/system.h \ $(srctree)/include/asm-generic/system.h && \ echo -DHAVE_ASM_HAVE_SET_MB) SNAPAPI_FLAGS += $(shell \ if grep -qw "extern void bio_endio(.*bio.*,.*)" $(srctree)/include/linux/bio.h; then \ echo -DHAVE_BIO_ENDIO_2ARGS; \ fi) SNAPAPI_FLAGS += $(shell \ if grep -qw "BIO_UPTODATE" $(srctree)/include/linux/blk_types.h \ $(srctree)/include/linux/bio.h ; then \ echo -DHAVE_BIO_UPTODATE; \ elif grep -qw "bi_error" $(srctree)/include/linux/blk_types.h; then \ echo -DHAVE_BIO_BI_ERROR; \ fi) SNAPAPI_FLAGS += $(shell \ if grep -qw "page_cache_release" $(srctree)/include/linux/pagemap.h; then \ echo -DHAVE_PAGE_CACHE_RELEASE; \ fi) SNAPAPI_FLAGS += $(shell \ grep -qw "submit_bio(struct bio \*)\|submit_bio(struct bio \*bio)" $(srctree)/include/linux/fs.h \ $(srctree)/include/linux/bio.h && \ echo -DHAVE_SUBMIT_BIO_ONEARG) SNAPAPI_FLAGS += $(shell \ grep -qw "op_is_write" $(srctree)/include/linux/fs.h \ $(srctree)/include/linux/blk_types.h && \ echo -DHAVE_OP_IS_WRITE) SNAPAPI_FLAGS += $(shell \ grep -qw "bi_opf" $(srctree)/include/linux/fs.h \ $(srctree)/include/linux/blk_types.h && \ echo -DHAVE_BIO_OPF) SNAPAPI_FLAGS += $(shell \ grep -qw "virtual_address;" $(srctree)/include/linux/mm.h && \ echo -DHAVE_VMFAULT_VIRTUAL_ADDRESS) SNAPAPI_FLAGS += $(shell \ grep -qw "fault.(.*,.*)" $(srctree)/include/linux/mm.h && \ echo -DHAVE_VM_FAULT_2ARGS) SNAPAPI_FLAGS += $(shell \ if grep -qw "bio_set_dev" $(srctree)/include/linux/bio.h; then \ echo -DHAVE_BIO_SET_DEV; \ fi) SNAPAPI_FLAGS += $(shell \ if grep -qw "init_timer" $(srctree)/include/linux/timer.h; then \ echo -DHAVE_INIT_TIMER; \ fi) SNAPAPI_FLAGS += $(shell \ grep -qw vm_fault_t $(srctree)/include/linux/mm_types.h && \ echo -DHAVE_VMFAULT_T) SNAPAPI_FLAGS += $(shell \ test -e $(srctree)/include/linux/blk-mq.h && \ grep -qw blk_mq_make_request $(srctree)/include/linux/blk-mq.h && \ echo -DHAVE_BLK_MQ_MAKE_REQUEST) SNAPAPI_FLAGS += $(shell \ grep -qw "bi_bdev" $(srctree)/include/linux/blk_types.h \ $(srctree)/include/linux/bio.h && \ echo -DHAVE_BIO_BI_BDEV) SNAPAPI_FLAGS += $(shell \ grep -qw "bdget" $(srctree)/include/linux/fs.h && \ echo -DHAVE_BDGET) SNAPAPI_FLAGS += $(shell \ grep -qw "thaw_bdev(.*,.*)" $(srctree)/include/linux/fs.h \ $(srctree)/include/linux/buffer_head.h \ $(srctree)/include/linux/blkdev.h && \ echo -DHAVE_THAW_BDEV_2ARGS) SNAPAPI_FLAGS += $(shell \ grep -qw "bd_part" $(srctree)/include/linux/blk_types.h \ $(srctree)/include/linux/fs.h && \ echo -DHAVE_BD_PART) SNAPAPI_FLAGS += $(shell \ grep -qw "__state;" $(srctree)/include/linux/sched.h && \ echo -DHAVE_UNDERLINE_STATE) SNAPAPI_FLAGS += $(shell \ grep -qw "complete_and_exit" $(srctree)/include/linux/kernel.h && \ echo -DHAVE_COMPLETE_AND_EXIT) SNAPAPI_FLAGS += $(shell \ grep -qw "bio_alloc(.*,.*)" $(srctree)/include/linux/bio.h && \ echo -DHAVE_BIO_ALLOC_2ARGS) EXTRA_CFLAGS += $(SNAPAPI_FLAGS) $(DKMS_CFLAGS) obj-m += snapapi26.o obj-m += snumbd26.o