| /linux/tools/lib/perf/Documentation/ |
| A D | libperf.txt | 38 struct perf_cpu_map; 43 struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map); 44 struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, 82 struct perf_evlist; 90 struct perf_evsel* perf_evlist__next(struct perf_evlist *evlist, 109 struct perf_mmap *perf_evlist__next_mmap(struct perf_evlist *evlist, 122 struct perf_evsel; 135 struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr); 150 struct perf_cpu_map *perf_evsel__cpus(struct perf_evsel *evsel); 152 struct perf_event_attr *perf_evsel__attr(struct perf_evsel *evsel); [all …]
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| A D | rbtree.rst | 59 struct mytype { 79 struct mytype *my_search(struct rb_root *root, char *string) 84 struct mytype *data = container_of(node, struct mytype, node); 110 int my_insert(struct rb_root *root, struct mytype *data) 140 void rb_erase(struct rb_node *victim, struct rb_root *tree); 153 void rb_replace_node(struct rb_node *old, struct rb_node *new, 165 struct rb_node *rb_first(struct rb_root *tree); 166 struct rb_node *rb_last(struct rb_root *tree); 167 struct rb_node *rb_next(struct rb_node *node); 168 struct rb_node *rb_prev(struct rb_node *node); [all …]
|
| A D | kobject.rst | 66 struct uio_map { 89 struct uio_map *u_map = container_of(kp, struct uio_map, kobj); 94 struct uio_map { 112 void kobject_init(struct kobject *kobj, struct kobj_type *ktype); 117 int kobject_add(struct kobject *kobj, struct kobject *parent, 143 int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, 172 struct kobject *kobject_get(struct kobject *kobj); 185 如果你使用struct kobject只是为了给你的结构体提供一个引用计数器,请使用struct kref 202 int sysfs_create_file(struct kobject *kobj, const struct attribute *attr); 237 struct my_object *mine = container_of(kobj, struct my_object, kobj); [all …]
|
| A D | kref.rst | 37 struct my_data 41 struct kref refcount; 53 struct my_data *data; 91 struct my_data *data = container_of(ref, struct my_data, refcount); 107 struct my_data *data; 174 struct my_data 194 struct my_data *entry = container_of(ref, struct my_data, refcount); 248 struct my_data *entry = container_of(ref, struct my_data, refcount); 272 struct my_data 276 struct kref refcount; [all …]
|
| A D | watch_queue.rst | 61 struct watch_notification { 138 struct watch { 159 * ``void init_watch(struct watch *watch, struct watch_queue *wqueue);`` 163 * ``int add_watch_to_object(struct watch *watch, struct watch_list *wlist);`` 171 struct watch_queue *wqueue, 191 struct watch_notification *n, 192 const struct cred *cred, 221 struct watch_notification_filter filter = { 228 struct watch_notification_filter { 237 struct watch_notification_type_filter { [all …]
|
| A D | assoc_array.rst | 64 struct assoc_array { 85 struct assoc_array_edit; 111 struct assoc_array_ops { 162 void assoc_array_init(struct assoc_array *array); 169 struct assoc_array_edit * 170 assoc_array_insert(struct assoc_array *array, 190 struct assoc_array_edit * 191 assoc_array_delete(struct assoc_array *array, 207 struct assoc_array_edit * 208 assoc_array_clear(struct assoc_array *array, [all …]
|
| /linux/Documentation/translations/zh_CN/filesystems/ |
| A D | sysfs.txt | 87 struct attribute { 105 ssize_t (*show)(struct device *dev, struct device_attribute *attr, 107 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 111 int device_create_file(struct device *, const struct device_attribute *); 141 struct sysfs_ops { 142 ssize_t (*show)(struct kobject *, struct attribute *, char *); 184 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 310 ssize_t (*show)(struct device *dev, struct device_attribute *attr, 312 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 342 int bus_create_file(struct bus_type *, struct bus_attribute *); [all …]
|
| A D | debugfs.rst | 41 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); 105 struct dentry *parent, 146 struct debugfs_reg32 { 151 struct debugfs_regset32 { 152 struct debugfs_reg32 *regs; 158 struct dentry *parent, 161 void debugfs_print_regs32(struct seq_file *s, struct debugfs_reg32 *regs, 170 struct dentry *parent, 178 struct dentry *debugfs_create_devm_seqfile(struct device *dev, 180 struct dentry *parent, [all …]
|
| /linux/Documentation/translations/zh_TW/filesystems/ |
| A D | sysfs.txt | 90 struct attribute { 108 ssize_t (*show)(struct device *dev, struct device_attribute *attr, 110 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 114 int device_create_file(struct device *, const struct device_attribute *); 144 struct sysfs_ops { 145 ssize_t (*show)(struct kobject *, struct attribute *, char *); 187 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 313 ssize_t (*show)(struct device *dev, struct device_attribute *attr, 315 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 345 int bus_create_file(struct bus_type *, struct bus_attribute *); [all …]
|
| A D | debugfs.rst | 42 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); 106 struct dentry *parent, 147 struct debugfs_reg32 { 152 struct debugfs_regset32 { 153 struct debugfs_reg32 *regs; 159 struct dentry *parent, 162 void debugfs_print_regs32(struct seq_file *s, struct debugfs_reg32 *regs, 171 struct dentry *parent, 179 struct dentry *debugfs_create_devm_seqfile(struct device *dev, 181 struct dentry *parent, [all …]
|
| /linux/tools/power/cpupower/bindings/python/ |
| A D | raw_pylibcpupower.swg | 50 struct cpufreq_policy { 56 struct cpufreq_available_governors { 69 struct cpufreq_affected_cpus { 75 struct cpufreq_stats { 78 struct cpufreq_stats *next; 79 struct cpufreq_stats *first; 102 struct cpufreq_available_governors 181 struct cpupower_topology { 191 struct cpuid_core_info { 210 struct powercap_zone { [all …]
|
| /linux/Documentation/filesystems/ |
| A D | locking.rst | 28 void (*d_iput)(struct dentry *, struct inode *); 59 int (*create) (struct mnt_idmap *, struct inode *,struct dentry *,umode_t, bool); 60 struct dentry * (*lookup) (struct inode *,struct dentry *, unsigned int); 61 int (*link) (struct dentry *,struct inode *,struct dentry *); 63 int (*symlink) (struct mnt_idmap *, struct inode *,struct dentry *,const char *); 64 int (*mkdir) (struct mnt_idmap *, struct inode *,struct dentry *,umode_t); 66 int (*mknod) (struct mnt_idmap *, struct inode *,struct dentry *,umode_t,dev_t); 67 int (*rename) (struct mnt_idmap *, struct inode *, struct dentry *, 70 const char *(*get_link) (struct dentry *, struct inode *, struct delayed_call *); 74 int (*setattr) (struct mnt_idmap *, struct dentry *, struct iattr *); [all …]
|
| A D | sysfs.rst | 74 struct attribute { 94 ssize_t (*show)(struct device *dev, struct device_attribute *attr, 96 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 158 struct sysfs_ops { 159 ssize_t (*show)(struct kobject *, struct attribute *, char *); 203 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 307 struct device. 354 ssize_t (*show)(struct device *dev, struct device_attribute *attr, 356 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 388 int bus_create_file(struct bus_type *, struct bus_attribute *); [all …]
|
| /linux/Documentation/translations/zh_CN/driver-api/phy/ |
| A D | phy.rst | 81 struct phy *phy_create(struct device *dev, struct device_node *node, 83 struct phy *devm_phy_create(struct device *dev, 104 struct phy *phy_get(struct device *dev, const char *string); 105 struct phy *devm_phy_get(struct device *dev, const char *string); 106 struct phy *devm_phy_optional_get(struct device *dev, 108 struct phy *devm_of_phy_get(struct device *dev, struct device_node *np, 110 struct phy *devm_of_phy_optional_get(struct device *dev, 113 struct phy *devm_of_phy_get_by_index(struct device *dev, 161 void phy_put(struct phy *phy); 162 void devm_phy_put(struct device *dev, struct phy *phy); [all …]
|
| /linux/Documentation/translations/zh_CN/video4linux/ |
| A D | v4l2-framework.txt | 102 v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev); 185 static int drv_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) 444 struct chipname_state { 445 struct v4l2_subdev sd; 459 static inline struct chipname_state *to_state(struct v4l2_subdev *sd) 747 struct video_device *video_devdata(struct file *file); 792 struct my_fh { 794 struct v4l2_fh fh; 801 struct my_fh *my_fh; 823 struct my_fh *my_fh = container_of(fh, struct my_fh, fh); [all …]
|
| /linux/Documentation/bpf/ |
| A D | drgn.rst | 124 *(struct bpf_prog_aux *)0xffff8893fad4b400 = { 137 .linked_prog = (struct bpf_prog *)0x0, 144 .tramp_hlist = (struct hlist_node){ 150 .func = (struct bpf_prog **)0x0, 154 .ksym_tnode = (struct latch_tree_node){ 155 .node = (struct rb_node [2]){ 168 .ksym_lnode = (struct list_head){ 181 .btf = (struct btf *)0xffff8890ce6d0580, 192 .work = (struct work_struct){ 196 .entry = (struct list_head){ [all …]
|
| A D | cpumasks.rst | 26 2.1 ``struct bpf_cpumask *`` 32 to a ``struct cpumask *``. 53 struct cpumask_map_value { 57 struct array_map { 124 /* struct containing the struct bpf_cpumask kptr which is stored in the map. */ 125 struct cpumasks_kfunc_map_value { 130 struct { 147 struct bpf_cpumask *kptr; 177 2.2 ``struct cpumask`` 181 being queried, mutated, etc. A ``struct bpf_cpumask`` wraps a ``struct [all …]
|
| /linux/Documentation/sound/soc/ |
| A D | platform.rst | 16 struct snd_soc_ops { 17 int (*startup)(struct snd_pcm_substream *); 19 int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *); 20 int (*hw_free)(struct snd_pcm_substream *); 21 int (*prepare)(struct snd_pcm_substream *); 29 struct snd_soc_component_driver { 33 int (*probe)(struct snd_soc_component *); 36 int (*resume)(struct snd_soc_component *); 40 void (*pcm_free)(struct snd_pcm *); 43 const struct snd_pcm_ops *ops; [all …]
|
| /linux/Documentation/translations/zh_CN/mm/ |
| A D | hmm.rst | 16 基石是此类内存的专用struct page(请参阅本文档的第 5 至 7 节)。 98 struct page。这些页面很特殊,因为 CPU 无法映射它们。然而,它们允许使用现有的迁移机 120 struct mm_struct *mm, unsigned long start, 129 int hmm_range_fault(struct hmm_range *range); 142 struct hmm_range range; 214 事实证明,这最终复制了 struct page 的大部分字段,并且还需要更新许多内核代码路径才 233 struct resource *res; 234 struct dev_pagemap pagemap; 261 设备驱动初始化了 ``struct migrate_vma`` 的字段,并将该指针传递给 313 如果源页被锁定、隔离等,源 ``struct page`` 信息现在被复制到目标 [all …]
|
| /linux/tools/testing/selftests/tpm2/ |
| A D | tpm2.py | 6 import struct 413 cmd = struct.pack(fmt, 445 cmd = struct.pack( 459 cmd = struct.pack(fmt, 501 cmd = struct.pack(fmt, 516 cmd = struct.pack(fmt, 573 cmd = struct.pack( 611 cmd = struct.pack( 638 cmd = struct.pack( 656 cmd = struct.pack( [all …]
|
| /linux/Documentation/core-api/ |
| A D | rbtree.rst | 64 struct mytype { 86 struct mytype *my_search(struct rb_root *root, char *string) 91 struct mytype *data = container_of(node, struct mytype, node); 118 int my_insert(struct rb_root *root, struct mytype *data) 148 void rb_erase(struct rb_node *victim, struct rb_root *tree); 161 void rb_replace_node(struct rb_node *old, struct rb_node *new, 174 struct rb_node *rb_first(struct rb_root *tree); 175 struct rb_node *rb_last(struct rb_root *tree); 176 struct rb_node *rb_next(struct rb_node *node); 177 struct rb_node *rb_prev(struct rb_node *node); [all …]
|
| /linux/Documentation/translations/zh_CN/scheduler/ |
| A D | completion.rst | 33 事件被简化为 ``struct completion`` 中的一个简单标志,被恰如其名地称为‘done’。 43 - 'struct completion' 同步对象的初始化 52 ``struct completion`` 类型的变量,它只有两个字段:: 54 struct completion { 134 void wait_for_completion(struct completion *done) 140 struct completion setup_done; 211 void wait_for_completion_io(struct completion *done) 221 void complete(struct completion *done) 225 void complete_all(struct completion *done) 249 bool try_wait_for_completion(struct completion *done) [all …]
|
| /linux/Documentation/driver-api/ |
| A D | clk.rst | 38 is defined in struct clk_foo and pointed to within struct clk_core. This 48 struct clk_core { 51 struct clk_hw *hw; 65 Platforms and devices utilizing the common struct clk_core use the struct 69 struct clk_ops { 111 struct clk_gate { 112 struct clk_hw hw; 118 struct clk_gate contains struct clk_hw hw as well as hardware-specific 126 struct clk *clk; 170 struct clk_foo { [all …]
|
| /linux/Documentation/pcmcia/ |
| A D | locking.rst | 40 struct pcmcia_callback *callback 48 struct pccard_operations *ops 60 struct list_head pcmcia_socket_list; 74 struct list_head socket_list; 84 struct pcmcia_callback *callback; 94 struct { } irq; 97 struct list_head cis_cache; 104 struct list_head devices_list; 106 struct pcmcia_state; 118 struct list_head socket_device_list; [all …]
|
| /linux/tools/perf/Documentation/ |
| A D | perf.data-file-format.txt | 141 struct { 154 struct { 198 struct { 216 struct { 228 struct { 281 struct { 357 struct { 365 struct { 380 struct { 398 struct { [all …]
|