These are changes in struct cfs_rq.
以下是struct cfs_rq中的变动。
Listing 1. Definition of struct sg_io_hdr.
清单1 . sg_io_hdr结构的定义。
Listing 1. Important fields from struct key.
清单1.struct key中的重要字段。
This is very useful for accessing members of a struct.
这对于访问结构中的成员是非常有用的。
Listing 1 shows some important fields from struct key.
清单1给出structkey中一些重要的字段。
The general format of a "struct" document is as follows.
“struct ”文档的常用格式如下。
Listing 11. Possible flag values of struct key fields.
清单11. structkey字段可能的标志值。
Those functions can then be called as methods on the struct.
这些函数之后可作为struct的方法而被调用。
A struct that represents a 'potential request for cancellation'.
一个代表了“潜在的撤销请求”的结构体。
Listing 5. Output of struct thread_info for pids 1508 and 1509.
清单5.pid 1508和1509的结构体thread_info的输出。
Figure 1 represents the struct mystruct and its members in the heap segment.
图1表示堆分段中的struct mystruct及其成员。
Vfs_gfs points to the struct GFS structure for the corresponding file system.
vfs_gfs指向对应的文件系统的structgfs结构。
Therefore, create the following struct to hold all buffer-specific information.
因此,创建以下结构来保存所有与缓冲区相关的信息。
Mostly these are fields of struct key_user defined in security/keys/internal.h.
大多数字段是security/keys/internal.h 中定义的struct key_user 的字段。
Then, let's say that the address of the struct itself is in a register called register X.
然后,假设这个结构体本身的地址在一个名为X 的寄存器中。
The socket structure in Linux is struct sock, which is defined in linux/include/net/sock.h.
Linux中的socket结构是structsock,这个结构是在 linux/include/net/sock.h中定义的。
The struct keyword provides a way to collect a group of variables together into a structure.
struct关键字提供了将一组变量集中到一个结构的方法。
Figure 2 represents the struct mystruct and its members in the heap segment after the overflow.
图2表示溢出后的堆分段中的struct mystruct及其成员。
Figure 3 represents the struct mystruct and its members in the heap segment after the overflow.
图3表示溢出后的堆分段中的struct mystruct及其成员。
Notice that in both the PPE and the SPE the struct was aligned to 16 bytes and padded to 16 bytes.
注意在PPE和SPE 中,这个结构被对齐为16字节,并填充成 16 个字节。
Each scheduler module needs to implement a set of functions as suggested by struct sched_class.
每个调度程序模块需要实现struct sched_class建议的一组函数。
Unlike the struct dirent that readdir() returns, struct stat has quite a few standard, required members
与readdir()返回的structdirent 不同,structstat具有相当多的标准的、必需的成员
Other important changes affect key data structures. Here are the scheduled changes in struct sched_entity.
其他重要改动将影响关键数据结构。
The Linux kernel keeps complete information about a process in a process descriptor defined as struct task_struct.
Linux内核将关于进程的完整信息保存在进程描述符中,它的结构被定义为struct task_struct。
Now, you might think that this would cause problems for programs calling malloc -- how do they know about this struct?
现在,您可能会认为当程序调用malloc 时这会引发问题 ——它们如何知道这个结构?
Under the global scope, the following definitions form scopes: module, interface, struct, union, operation, and exception.
在全局作用域中,以下定义组成了作用域:module 、interface 、struct 、union 、operation和exception 。
Here you have a struct that includes the first element as a data item and the second element as a pointer to the next node.
这样您就拥有了一个struct,其中第一个元素为数据条目,第二个元素为指向下一个节点的指针。
Name this parameter start and set its direction as In ,and then from Browse type dialog, select Point struct as its type.
将该参数命名为start,并将其方向设置为In,然后在Browsetype对话框中,选择Point struct作为类型。
Operations defined with struct key_type are used to instantiate the payload with data and also to read back or modify the data.
可以通过struct key_type定义的操作用数据对有效内容进行实例化,还可以读取数据或修改数据。
As shown in Listing 1, the virtual file system is maintained as a linked list of struct VFS, as denoted by the member vfs_next.
如清单1所示,由成员vfs_next指定,虚拟文件系统作为structvfs的链表进行维护。
应用推荐