/linux-3.3/samples/kobject/ |
D | kset-example.c | 20 * Then tree kobjects are created and assigned to this kset, "foo", "baz", 33 int foo; member 42 ssize_t (*show)(struct foo_obj *foo, struct foo_attribute *attr, char *buf); 43 ssize_t (*store)(struct foo_obj *foo, struct foo_attribute *attr, const char *buf, size_t count); 59 struct foo_obj *foo; in foo_attr_show() local 62 foo = to_foo_obj(kobj); in foo_attr_show() 67 return attribute->show(foo, attribute, buf); in foo_attr_show() 79 struct foo_obj *foo; in foo_attr_store() local 82 foo = to_foo_obj(kobj); in foo_attr_store() 87 return attribute->store(foo, attribute, buf, len); in foo_attr_store() [all …]
|
D | kobject-example.c | 19 * "foo", "baz", and "bar". If an integer is written to these files, it can be 23 static int foo; variable 28 * The "foo" file where a static variable is read from and written to. 33 return sprintf(buf, "%d\n", foo); in foo_show() 39 sscanf(buf, "%du", &foo); in foo_store() 44 __ATTR(foo, 0666, foo_show, foo_store);
|
/linux-3.3/samples/trace_events/ |
D | trace-events-sample.h | 51 * Here it is trace_foo_bar(char *foo, int bar). 54 * Here it is simply "foo, bar". 64 * __array( char, foo, 10) is the same as saying char foo[10]. 79 TP_PROTO(char *foo, int bar), 81 TP_ARGS(foo, bar), 84 __array( char, foo, 10 ) 89 strncpy(__entry->foo, foo, 10); 93 TP_printk("foo %s %d", __entry->foo, __entry->bar)
|
/linux-3.3/include/linux/mfd/ |
D | core.h | 69 * driver wants the cell "foo" to be used by a GPIO driver, an MTD driver, 73 * const char *fclones[] = { "foo-gpio", "foo-mtd" }; 74 * err = mfd_clone_cells("foo", fclones, ARRAY_SIZE(fclones)); 77 * platform_drivers for "foo-mtd", "foo-gpio", and "foo", respectively.
|
/linux-3.3/Documentation/video4linux/ |
D | v4l2-controls.txt | 54 struct foo_dev *foo; 58 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls); 76 foo->v4l2_dev.ctrl_handler = &foo->ctrl_handler; 78 Where foo->v4l2_dev is of type struct v4l2_device. 95 foo->sd.ctrl_handler = &foo->ctrl_handler; 97 Where foo->sd is of type struct v4l2_subdev. 116 v4l2_ctrl_handler_free(&foo->ctrl_handler); 135 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls); 136 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops, 138 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops, [all …]
|
/linux-3.3/Documentation/ |
D | pinctrl.txt | 72 .name = "foo", 85 pr_err("could not register foo pin driver\n"); 211 ret = pin_config_set("foo-dev", "FOO_GPIO_PIN", PLATFORM_X_PULL_UP); 786 .ctrl_dev_name = "pinctrl-foo", 788 .dev_name = "foo-spi.0", 791 .ctrl_dev_name = "pinctrl-foo", 793 .dev_name = "foo-i2c.0", 796 .ctrl_dev_name = "pinctrl-foo", 798 .dev_name = "foo-mmc.0", 818 it even more compact which assumes you want to use pinctrl-foo and position [all …]
|
D | BUG-HUNTING | 172 > Put the bytes into a "foo.s" file like this: 175 > .globl foo 176 > foo: 179 > Compile it with "gcc -c -o foo.o foo.s" then look at the output of 180 > "objdump --disassemble foo.o".
|
/linux-3.3/Documentation/kbuild/ |
D | kconfig-language.txt | 91 bool "foo" if BAR 95 bool "foo" 109 By abusing select you are able to select a symbol FOO even 110 if FOO depends on BAR that is not set. 361 depends on HAVE_GENERIC_IOMAP && FOO 387 config FOO 390 limits FOO to module (=m) or disabled (=n). 400 config FOO 401 tristate "about foo" 407 config FOO [all …]
|
D | modules.txt | 139 Example (The module foo.ko, consist of bar.o and baz.o): 142 make -C $KDIR M=$PWD foo.ko 291 file. For example, if you wanted to build two modules, foo.ko 294 obj-m := foo.o bar.o 295 foo-y := <foo_srcs> 480 If you have two modules, foo.ko and bar.ko, where 481 foo.ko needs symbols from bar.ko, you can use a 486 ./foo/ <= contains foo.ko 492 obj-y := foo/ bar/ 506 compilation of bar.ko to the directory where foo.ko is
|
/linux-3.3/drivers/block/ |
D | rbd_types.h | 19 * rbd image 'foo' consists of objects 20 * foo.rbd - image metadata 21 * foo.00000000 22 * foo.00000001
|
/linux-3.3/arch/ia64/scripts/ |
D | check-text-align.S | 1 .proc foo label 3 foo: .save rp, r2 label 6 .endp foo
|
/linux-3.3/fs/gfs2/ |
D | main.c | 38 static void gfs2_init_inode_once(void *foo) in gfs2_init_inode_once() argument 40 struct gfs2_inode *ip = foo; in gfs2_init_inode_once() 50 static void gfs2_init_glock_once(void *foo) in gfs2_init_glock_once() argument 52 struct gfs2_glock *gl = foo; in gfs2_init_glock_once() 63 static void gfs2_init_gl_aspace_once(void *foo) in gfs2_init_gl_aspace_once() argument 65 struct gfs2_glock *gl = foo; in gfs2_init_gl_aspace_once()
|
/linux-3.3/Documentation/power/ |
D | runtime_pm.txt | 822 foo_read_or_write(struct foo_priv *foo, void *data) 824 lock(&foo->private_lock); 825 add_request_to_io_queue(foo, data); 826 if (foo->num_pending_requests++ == 0) 827 pm_runtime_get(&foo->dev); 828 if (!foo->is_suspended) 829 foo_process_next_request(foo); 830 unlock(&foo->private_lock); 833 foo_io_completion(struct foo_priv *foo, void *req) 835 lock(&foo->private_lock); [all …]
|
/linux-3.3/sound/oss/ |
D | pas2_pcm.c | 53 int foo, tmp; in pcm_set_speed() local 66 foo = ((PIT_TICK_RATE / 2) + (arg / 2)) / arg; in pcm_set_speed() 67 arg = ((PIT_TICK_RATE / 2) + (foo / 2)) / foo; in pcm_set_speed() 71 foo = (PIT_TICK_RATE + (arg / 2)) / arg; in pcm_set_speed() 72 arg = (PIT_TICK_RATE + (foo / 2)) / foo; in pcm_set_speed() 112 pas_write(foo & 0xff, 0x1388); in pcm_set_speed() 113 pas_write((foo >> 8) & 0xff, 0x1388); in pcm_set_speed()
|
D | pas2_mixer.c | 208 int foo; in pas_mixer_reset() local 212 for (foo = 0; foo < SOUND_MIXER_NRDEVICES; foo++) in pas_mixer_reset() 213 pas_mixer_set(foo, levels[foo]); in pas_mixer_reset()
|
/linux-3.3/drivers/net/wireless/ath/ |
D | ath.h | 262 #define ATH_DBG_WARN(foo, arg...) WARN(foo, arg) argument 263 #define ATH_DBG_WARN_ON_ONCE(foo) WARN_ON_ONCE(foo) argument 275 #define ATH_DBG_WARN(foo, arg...) do {} while (0) argument 276 #define ATH_DBG_WARN_ON_ONCE(foo) ({ \ argument 277 int __ret_warn_once = !!(foo); \
|
/linux-3.3/drivers/scsi/ |
D | t128.c | 372 void __iomem *foo = base + T_CONTROL_REG_OFFSET; local 373 tmp = readb(foo); 374 writeb(tmp | T_CR_CT, foo); 375 writeb(tmp, foo); 418 void __iomem *foo = base + T_CONTROL_REG_OFFSET; local 419 tmp = readb(foo); 420 writeb(tmp | T_CR_CT, foo); 421 writeb(tmp, foo);
|
/linux-3.3/arch/powerpc/xmon/ |
D | ansidecl.h | 64 static int foo PARAMS ((int, char)); 66 This produces: `static int foo();' or `static int foo (int, char);' 70 static int EXFUN (foo, (int, char));
|
/linux-3.3/arch/x86/um/ |
D | bugs_32.c | 37 unsigned long foo = 0; in arch_check_bugs() local 38 __asm__ __volatile__("cmovz %0, %1" : "=r" (foo) : "0" (foo)); in arch_check_bugs()
|
/linux-3.3/include/asm-generic/ |
D | mm_hooks.h | 3 * be included in asm-FOO/mmu_context.h for any arch FOO which doesn't
|
/linux-3.3/Documentation/target/ |
D | tcm_mod_builder.txt | 97 target:/mnt/sdb/lio-core-2.6.git# mkdir -p /sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun… 98 target:/mnt/sdb/lio-core-2.6.git# cd /sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun_0/ 99 target:/sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun_0# ln -s /sys/kernel/config/target/… 101 target:/sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun_0# cd - 105 |-- iqn.foo
|
/linux-3.3/Documentation/filesystems/ |
D | befs.txt | 50 Assuming that your kernel source is in /foo/bar/linux and the patchfile 53 cd /foo/bar/linux 68 cd /foo/bar/linux
|
D | ceph.txt | 56 .snap/foo' and 'rmdir .snap/foo'. 59 files and bytes. That is, a 'getfattr -d foo' on any directory in the
|
/linux-3.3/Documentation/zh_CN/ |
D | CodingStyle | 233 。称一个全局函数为“foo”是一个难以饶恕的错误。 530 #define FOO(x) \ 541 #define FOO(val) bar(index, val) 546 3) 作为左值的带参数的宏: FOO(x) = y;如果有人把FOO变成一个内联函数的话,这种用 669 compile-command: "gcc -DMAGIC_DEBUG_FLAG foo.c"
|
/linux-3.3/tools/perf/Documentation/ |
D | perf-probe.txt | 158 With --filter "foo* | bar*", perf probe -V shows variables which start with "foo" or "bar". 159 …With --filter "!foo* & *bar", perf probe -V shows variables which don't start with "foo" and end w…
|