Home
last modified time | relevance | path

Searched refs:struct (Results 1 – 25 of 1848) sorted by relevance

12345678910>>...74

/openbmc/linux/tools/lib/perf/Documentation/
H A Dlibperf.txt38 struct perf_cpu_map;
40 struct perf_cpu_map *perf_cpu_map__dummy_new(void);
41 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
42 struct perf_cpu_map *perf_cpu_map__read(FILE *file);
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,
45 struct perf_cpu_map *other);
46 void perf_cpu_map__put(struct perf_cpu_map *map);
47 int perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx);
48 int perf_cpu_map__nr(const struct perf_cpu_map *cpus);
[all …]
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Drbtree.rst59 struct mytype {
60 struct rb_node node;
69 struct rb_root mytree = RB_ROOT;
79 struct mytype *my_search(struct rb_root *root, char *string)
81 struct rb_node *node = root->rb_node;
84 struct mytype *data = container_of(node, struct mytype, node);
110 int my_insert(struct rb_root *root, struct mytype *data)
112 struct rb_node **new = &(root->rb_node), *parent = NULL;
116 struct mytype *this = container_of(*new, struct mytype, node);
140 void rb_erase(struct rb_node *victim, struct rb_root *tree);
[all …]
H A Dkobject.rst66 struct uio_map {
67 struct kobject kobj;
68 struct uio_mem *mem;
89 struct uio_map *u_map = container_of(kp, struct uio_map, kobj);
94 struct uio_map {
95 struct kobject kobj;
96 struct uio_mem *mem;
99 #define to_map(map) container_of(map, struct uio_map, kobj)
103 struct uio_map *map = to_map(kobj);
112 void kobject_init(struct kobject *kobj, struct kobj_type *ktype);
[all …]
H A Dkref.rst37 struct my_data
41 struct kref refcount;
53 struct my_data *data;
89 void data_release(struct kref *ref)
91 struct my_data *data = container_of(ref, struct my_data, refcount);
97 struct my_data *data = cb_data;
107 struct my_data *data;
108 struct task_struct *task;
174 struct my_data
176 struct kref refcount;
[all …]
H A Dwatch_queue.rst61 struct watch_notification {
104 void init_watch_list(struct watch_list *wlist,
105 void (*release_watch)(struct watch *wlist));
110 * ``void remove_watch_list(struct watch_list *wlist);``
121 * ``struct watch_queue *get_watch_queue(int fd);``
126 * ``void put_watch_queue(struct watch_queue *wqueue);``
138 struct watch {
149 联的观测队列缓冲区时,这将与struct watch_notification::info的WATCH_INFO_ID字段进
159 * ``void init_watch(struct watch *watch, struct watch_queue *wqueue);``
163 * ``int add_watch_to_object(struct watch *watch, struct watch_list *wlist);``
[all …]
H A Dassoc_array.rst64 struct assoc_array {
85 struct assoc_array_edit;
91 void assoc_array_apply_edit(struct assoc_array_edit *edit);
98 void assoc_array_cancel_edit(struct assoc_array_edit *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,
171 const struct assoc_array_ops *ops,
190 struct assoc_array_edit *
[all …]
/openbmc/linux/Documentation/translations/zh_CN/filesystems/
H A Dsysfs.txt87 struct attribute {
89 struct module *owner;
94 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr);
95 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
103 struct device_attribute {
104 struct attribute attr;
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 *);
112 void device_remove_file(struct device *, const struct device_attribute *);
[all …]
H A Ddebugfs.rst41 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
51 struct dentry *debugfs_create_file(const char *name, umode_t mode,
52 struct dentry *parent, void *data,
53 const struct file_operations *fops);
62 struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
63 struct dentry *parent, void *data,
64 const struct file_operations *fops,
73 struct dentry *parent, u8 *value);
75 struct dentry *parent, u16 *value);
76 struct dentry *debugfs_create_u32(const char *name, umode_t mode,
[all …]
/openbmc/linux/Documentation/translations/zh_TW/filesystems/
H A Dsysfs.txt90 struct attribute {
92 struct module *owner;
97 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr);
98 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
106 struct device_attribute {
107 struct attribute attr;
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 *);
115 void device_remove_file(struct device *, const struct device_attribute *);
[all …]
H A Ddebugfs.rst43 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
53 struct dentry *debugfs_create_file(const char *name, umode_t mode,
54 struct dentry *parent, void *data,
55 const struct file_operations *fops);
64 struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
65 struct dentry *parent, void *data,
66 const struct file_operations *fops,
75 struct dentry *parent, u8 *value);
77 struct dentry *parent, u16 *value);
78 struct dentry *debugfs_create_u32(const char *name, umode_t mode,
[all …]
/openbmc/linux/Documentation/filesystems/
H A Dlocking.rst20 int (*d_revalidate)(struct dentry *, unsigned int);
21 int (*d_weak_revalidate)(struct dentry *, unsigned int);
22 int (*d_hash)(const struct dentry *, struct qstr *);
23 int (*d_compare)(const struct dentry *,
24 unsigned int, const char *, const struct qstr *);
25 int (*d_delete)(struct dentry *);
26 int (*d_init)(struct dentry *);
27 void (*d_release)(struct dentry *);
28 void (*d_iput)(struct dentry *, struct inode *);
29 char *(*d_dname)((struct dentry *dentry, char *buffer, int buflen);
[all …]
/openbmc/linux/Documentation/translations/zh_CN/video4linux/
H A Dv4l2-framework.txt102 v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev);
133 v4l2_device_unregister(struct v4l2_device *v4l2_dev);
142 v4l2_device_disconnect(struct v4l2_device *v4l2_dev);
153 static int callback(struct device *dev, void *p)
155 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev);
166 struct device_driver *drv;
185 static int drv_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id)
199 void v4l2_device_get(struct v4l2_device *v4l2_dev);
203 int v4l2_device_put(struct v4l2_device *v4l2_dev);
249 struct v4l2_subdev_core_ops {
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rarpd/rarpd/
H A D0003-rarpd.c-bug-fix.patch48 -struct iflink
49 +struct rarpiflink
51 - struct iflink *next;
56 - struct ifaddr *ifa_list;
57 + struct rarpiflink *next;
62 + struct rarpifaddr *ifa_list;
65 -struct ifaddr
66 +struct rarpifaddr
68 - struct ifaddr *next;
72 + struct rarpifaddr *next;
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/uw-imap/
H A D0001-Fix-Wincompatible-function-pointer-types.patch8 …mpatible function pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(cons…
12 int (*__selector) (const struct dirent *),
14 …t void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent…
34 -int mh_select (struct direct *name);
36 +int mh_select (const struct direct *name);
37 +int mh_numsort (const struct dirent **d1,const struct dirent **d2);
45 -int mh_select (struct direct *name)
46 +int mh_select (const struct direct *name)
50 @@ -1209,7 +1209,7 @@ int mh_select (struct direct *name)
55 +int mh_numsort (const struct dirent **d1,const struct dirent **d2)
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0014-add-u3-ss-descriptor-support-for-adb.patch35 @@ -62,74 +64,185 @@ struct usb_handle
39 -static const struct {
40 - struct usb_functionfs_descs_head header;
41 - struct {
42 - struct usb_interface_descriptor intf;
43 - struct usb_endpoint_descriptor_no_audio source;
44 - struct usb_endpoint_descriptor_no_audio sink;
52 +struct func_desc {
53 + struct usb_interface_descriptor intf;
54 + struct usb_endpoint_descriptor_no_audio source;
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/samba/samba/
H A Dsamba-4.3.9-remove-getpwent_r.patch21 @@ -247,7 +247,6 @@ static bool test_getgrnam_r(struct torture_context *tctx,
26 static bool test_getgrgid(struct torture_context *tctx,
28 struct group *grp_p)
29 @@ -333,6 +332,7 @@ static bool test_enum_passwd(struct torture_context *tctx,
34 static bool test_enum_r_passwd(struct torture_context *tctx,
35 struct passwd **pwd_array_p,
37 @@ -383,6 +383,7 @@ static bool test_enum_r_passwd(struct torture_context *tctx,
43 static bool torture_assert_passwd_equal(struct torture_context *tctx,
44 const struct passwd *p1,
45 @@ -434,7 +435,7 @@ static bool test_passwd_r(struct torture_context *tctx)
[all …]
/openbmc/linux/Documentation/bpf/
H A Ddrgn.rst99 For example, to print ``struct bpf_prog_aux`` for BPF program id 53077:
124 *(struct bpf_prog_aux *)0xffff8893fad4b400 = {
137 .linked_prog = (struct bpf_prog *)0x0,
143 .trampoline = (struct bpf_trampoline *)0x0,
144 .tramp_hlist = (struct hlist_node){
145 .next = (struct hlist_node *)0x0,
146 .pprev = (struct hlist_node **)0x0,
148 .attach_func_proto = (const struct btf_type *)0x0,
150 .func = (struct bpf_prog **)0x0,
152 .poke_tab = (struct bpf_jit_poke_descriptor *)0x0,
[all …]
H A Dcpumasks.rst12 ``struct cpumask`` is a bitmap data structure in the kernel whose indices
26 2.1 ``struct bpf_cpumask *``
29 ``struct bpf_cpumask *`` is a cpumask that is allocated by BPF, on behalf of a
32 to a ``struct cpumask *``.
34 2.1.1 ``struct bpf_cpumask *`` lifecycle
37 A ``struct bpf_cpumask *`` is allocated, acquired, and released, using the
53 struct cpumask_map_value {
54 struct bpf_cpumask __kptr * cpumask;
57 struct array_map {
60 __type(value, struct cpumask_map_value);
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libyui/libyui/
H A D0001-Fix-build-with-clang.patch8 error: class 'YButtonBoxPrivate' was previously declared as a struct [-Werror,-Wmismatched-tags]
75 +struct YAlignmentPrivate;
86 +struct YBarGraphPrivate;
97 +struct YBusyIndicatorPrivate;
108 +struct YButtonBoxPrivate;
112 @@ -147,7 +147,7 @@ struct YButtonBoxMargins
117 + friend struct YButtonBoxPrivate;
128 +struct YCheckBoxPrivate;
139 +struct YCheckBoxFramePrivate;
150 +struct YComboBoxPrivate;
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/
H A D0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch33 @@ -106,7 +106,7 @@ const char *tracecmd_get_trace_clock(struct tracecmd_input *handle);
34 const char *tracecmd_get_cpustats(struct tracecmd_input *handle);
35 const char *tracecmd_get_uname(struct tracecmd_input *handle);
36 const char *tracecmd_get_version(struct tracecmd_input *handle);
37 -off64_t tracecmd_get_cpu_file_size(struct tracecmd_input *handle, int cpu);
38 +off_t tracecmd_get_cpu_file_size(struct tracecmd_input *handle, int cpu);
42 @@ -336,7 +336,7 @@ int tracecmd_write_buffer_info(struct tracecmd_output *handle);
44 int tracecmd_write_cpus(struct tracecmd_output *handle, int cpus);
45 int tracecmd_write_cmdlines(struct tracecmd_output *handle);
46 -int tracecmd_prepare_options(struct tracecmd_output *handle, off64_t offset, int whence);
[all …]
/openbmc/linux/Documentation/core-api/
H A Drbtree.rst53 structures, each instance of struct rb_node is embedded in the data structure
62 Data nodes in an rbtree tree are structures containing a struct rb_node member::
64 struct mytype {
65 struct rb_node node;
69 When dealing with a pointer to the embedded struct rb_node, the containing data
76 struct rb_root mytree = RB_ROOT;
86 struct mytype *my_search(struct rb_root *root, char *string)
88 struct rb_node *node = root->rb_node;
91 struct mytype *data = container_of(node, struct mytype, node);
118 int my_insert(struct rb_root *root, struct mytype *data)
[all …]
/openbmc/linux/tools/testing/selftests/tpm2/
H A Dtpm2.py6 import struct
260 return struct.pack(fmt, self.session_handle, len(self.nonce),
266 return struct.calcsize(fmt)
278 return struct.pack(fmt, len(self.user_auth), self.user_auth,
283 return struct.calcsize(fmt)
311 return struct.pack(self.__fmt(),
322 return struct.calcsize(self.__fmt())
399 rc = struct.unpack('>I', rsp[6:10])[0]
401 cc = struct.unpack('>I', cmd[6:10])[0]
413 cmd = struct.pack(fmt,
[all …]
/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dhmm.rst16 基石是此类内存的专用struct page(请参阅本文档的第 5 至 7 节)。
98 struct page。这些页面很特殊,因为 CPU 无法映射它们。然而,它们允许使用现有的迁移机
100 struct page可以与现有的 mm 机制进行最简单、最干净的集成。再次,HMM 仅提供帮助程序,
119 int mmu_interval_notifier_insert(struct mmu_interval_notifier *interval_sub,
120 struct mm_struct *mm, unsigned long start,
122 const struct mmu_interval_notifier_ops *ops);
129 int hmm_range_fault(struct hmm_range *range);
142 struct hmm_range range;
214 事实证明,这最终复制了 struct page 的大部分字段,并且还需要更新许多内核代码路径才
217 大多数内核代码路径从不尝试访问页面后面的内存,而只关心struct page的内容。正因为如此,
[all …]
/openbmc/linux/Documentation/sound/soc/
H A Dplatform.rst16 struct snd_soc_ops {
17 int (*startup)(struct snd_pcm_substream *);
18 void (*shutdown)(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 *);
22 int (*trigger)(struct snd_pcm_substream *, int);
25 The platform driver exports its DMA functionality via struct
29 struct snd_soc_component_driver {
33 int (*probe)(struct snd_soc_component *);
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/libnetfilter/files/
H A D0001-libnetfilter-acct-Declare-the-define-visivility-attribute-together.patch54 @@ -76,21 +76,19 @@ struct nfacct {
58 -struct nfacct *nfacct_alloc(void)
59 +struct nfacct __EXPORT *nfacct_alloc(void)
61 return calloc(1, sizeof(struct nfacct));
69 -void nfacct_free(struct nfacct *nfacct)
70 +void __EXPORT nfacct_free(struct nfacct *nfacct)
84 nfacct_attr_set(struct nfacct *nfacct, enum nfacct_attr_type type,
87 @@ -126,7 +124,6 @@ nfacct_attr_set(struct nfacct *nfacct, enum nfacct_attr_type type,
101 nfacct_attr_set_str(struct nfacct *nfacct, enum nfacct_attr_type type,
116 nfacct_attr_set_u64(struct nfacct *nfacct, enum nfacct_attr_type type,
[all …]

12345678910>>...74