search for: param_get_int

Displaying 8 results from an estimated 8 matches for "param_get_int".

2006 Mar 04
2
Problem compiling ztdummy on centos 4, 2.6 kernel
...imer.h:87: undefined reference to `__mod_timer' ztdummy.o(.text+0x2b0): In function `cleanup_module': /usr/src/zaptel-1.2.4/ztdummy.c:310: undefined reference to `printk' ztdummy.o(__param+0x10): undefined reference to `param_set_int' ztdummy.o(__param+0x18): undefined reference to `param_get_int' collect2: ld returned 1 exit status make: *** [ztdummy] Error 1 Any ideas? I know I posted things in some wrong order here, but when I actually did them as a part of the install progress: I followed the order layed out in chapter 3 of the book. Thanks for any assistance. Take care, Sina
2013 Oct 08
1
OT: errors compiling kernel module as a rpm package
...estroy) = 0xd83791bc kernel(nla_find) = 0x444779c4 kernel(nla_memcpy) = 0xf1db1704 kernel(nla_parse) = 0xa58b6804 kernel(nla_put) = 0x37587aff kernel(nla_reserve) = 0x9c3fb1a2 kernel(nlmsg_notify) = 0x888d0b57 kernel(nr_cpu_ids) = 0xfe7c4287 kernel(openvswitch_handle_frame_hook) = 0xbe03eb4d kernel(param_get_int) = 0x6980fe91 kernel(param_set_int) = 0xff964b25 kernel(per_cpu__current_task) = 0x4f1939c7 kernel(per_cpu__kernel_stack) = 0x6dcaeb88 kernel(per_cpu__this_cpu_off) = 0x57adf756 kernel(prepare_to_wait) = 0x33d92f9a kernel(printk) = 0xea147363 kernel(pskb_expand_head) = 0xf5f5d2d9 kernel(pv_irq_ops)...
2006 Mar 06
1
Extension 's' in Realtime
Hi All, I was able to insert some extensions in Mysql DB and use them successfully. In Mysql extensions table the priority column is of type tinyint and when I give 's' value for it, it is not accepting that value as it takes only tinyints. Please tell how can I make that column accept values like t,s,i and make it work with asterisk in realtime without any problem? If I change the type
2018 May 23
3
[PATCH] block drivers/block: Use octal not symbolic permissions
...-module_param_string(requeue, g_requeue_str, sizeof(g_requeue_str), S_IRUGO); +module_param_string(requeue, g_requeue_str, sizeof(g_requeue_str), 0444); #endif static int g_queue_mode = NULL_Q_MQ; @@ -203,27 +203,27 @@ static const struct kernel_param_ops null_queue_mode_param_ops = { .get = param_get_int, }; -device_param_cb(queue_mode, &null_queue_mode_param_ops, &g_queue_mode, S_IRUGO); +device_param_cb(queue_mode, &null_queue_mode_param_ops, &g_queue_mode, 0444); MODULE_PARM_DESC(queue_mode, "Block interface to use (0=bio,1=rq,2=multiqueue)"); static int g_gb = 2...
2018 May 23
3
[PATCH] block drivers/block: Use octal not symbolic permissions
...-module_param_string(requeue, g_requeue_str, sizeof(g_requeue_str), S_IRUGO); +module_param_string(requeue, g_requeue_str, sizeof(g_requeue_str), 0444); #endif static int g_queue_mode = NULL_Q_MQ; @@ -203,27 +203,27 @@ static const struct kernel_param_ops null_queue_mode_param_ops = { .get = param_get_int, }; -device_param_cb(queue_mode, &null_queue_mode_param_ops, &g_queue_mode, S_IRUGO); +device_param_cb(queue_mode, &null_queue_mode_param_ops, &g_queue_mode, 0444); MODULE_PARM_DESC(queue_mode, "Block interface to use (0=bio,1=rq,2=multiqueue)"); static int g_gb = 2...
2012 Mar 05
11
[PATCH 0001/001] xen: multi page ring support for block devices
...%s.reqs to >= %ld.", + xen_blkif_reqs, order, KBUILD_MODNAME, + roundup_pow_of_two(BLK_RING_SIZE(order))); + + xen_blkif_max_ring_order = order; + + return 0; +} + +module_param_call(max_ring_order, + set_max_ring_order, param_get_int, + &xen_blkif_max_ring_order, 0644); +MODULE_PARM_DESC(max_ring_order, "log2 of maximum ring size, in pages."); + /* Run-time switchable: /sys/module/blkback/parameters/ */ static unsigned int log_stats; module_param(log_stats, int, 0644); diff --git a/drivers/block...
2012 Mar 05
11
[PATCH 0001/001] xen: multi page ring support for block devices
...%s.reqs to >= %ld.", + xen_blkif_reqs, order, KBUILD_MODNAME, + roundup_pow_of_two(BLK_RING_SIZE(order))); + + xen_blkif_max_ring_order = order; + + return 0; +} + +module_param_call(max_ring_order, + set_max_ring_order, param_get_int, + &xen_blkif_max_ring_order, 0644); +MODULE_PARM_DESC(max_ring_order, "log2 of maximum ring size, in pages."); + /* Run-time switchable: /sys/module/blkback/parameters/ */ static unsigned int log_stats; module_param(log_stats, int, 0644); diff --git a/drivers/block...
2012 Mar 05
11
[PATCH 0001/001] xen: multi page ring support for block devices
...%s.reqs to >= %ld.", + xen_blkif_reqs, order, KBUILD_MODNAME, + roundup_pow_of_two(BLK_RING_SIZE(order))); + + xen_blkif_max_ring_order = order; + + return 0; +} + +module_param_call(max_ring_order, + set_max_ring_order, param_get_int, + &xen_blkif_max_ring_order, 0644); +MODULE_PARM_DESC(max_ring_order, "log2 of maximum ring size, in pages."); + /* Run-time switchable: /sys/module/blkback/parameters/ */ static unsigned int log_stats; module_param(log_stats, int, 0644); diff --git a/drivers/block...