8.html

来自「linux 0.11中文版 有注释」· HTML 代码 · 共 38 行

HTML
38
字号
<html>
<head>
<title>BLOCK_SIZE</title>
<meta name='robots' content='noindex,nofollow'>
<meta name='generator' content='GLOBAL-5.4.1'>
</head>
<body text='#191970' bgcolor='#f5f5dc' vlink='gray'>
<pre>
<a href='../S/4.html#L20'>BLOCK_SIZE</a>         20 fs/bitmap.c    "stosl"::"a" (0), "c" (BLOCK_SIZE / 4), "D" ((long) (addr)):"cx", "di")
<a href='../S/5.html#L27'>BLOCK_SIZE</a>         27 fs/block_dev.c   int offset = *pos &amp; (BLOCK_SIZE - 1);
<a href='../S/5.html#L37'>BLOCK_SIZE</a>         37 fs/block_dev.c       chars = BLOCK_SIZE - offset;
<a href='../S/5.html#L42'>BLOCK_SIZE</a>         42 fs/block_dev.c       if (chars == BLOCK_SIZE)
<a href='../S/5.html#L74'>BLOCK_SIZE</a>         74 fs/block_dev.c   int offset = *pos &amp; (BLOCK_SIZE - 1);
<a href='../S/5.html#L84'>BLOCK_SIZE</a>         84 fs/block_dev.c       chars = BLOCK_SIZE - offset;
<a href='../S/6.html#L424'>BLOCK_SIZE</a>        424 fs/buffer.c    :: "c" (BLOCK_SIZE/4), "S" (from), "D" (to) \
<a href='../S/6.html#L456'>BLOCK_SIZE</a>        456 fs/buffer.c      for (i = 0; i &lt; 4; i++, address += BLOCK_SIZE)
<a href='../S/6.html#L533'>BLOCK_SIZE</a>        533 fs/buffer.c      while ((b -= BLOCK_SIZE) &gt;= ((void *) (h + 1)))
<a href='../S/8.html#L474'>BLOCK_SIZE</a>        474 fs/exec.c        if (N_TXTOFF (ex) != BLOCK_SIZE)
<a href='../S/10.html#L36'>BLOCK_SIZE</a>         36 fs/file_dev.c        if (nr = bmap (inode, (filp-&gt;f_pos) / BLOCK_SIZE))
<a href='../S/10.html#L46'>BLOCK_SIZE</a>         46 fs/file_dev.c        nr = filp-&gt;f_pos % BLOCK_SIZE;
<a href='../S/10.html#L47'>BLOCK_SIZE</a>         47 fs/file_dev.c        chars = MIN (BLOCK_SIZE - nr, left);
<a href='../S/10.html#L101'>BLOCK_SIZE</a>        101 fs/file_dev.c        if (!(block = create_block (inode, pos / BLOCK_SIZE)))
<a href='../S/10.html#L108'>BLOCK_SIZE</a>        108 fs/file_dev.c        c = pos % BLOCK_SIZE;
<a href='../S/10.html#L113'>BLOCK_SIZE</a>        113 fs/file_dev.c        c = BLOCK_SIZE - c;
<a href='../S/14.html#L206'>BLOCK_SIZE</a>        206 fs/namei.c           if ((char *) de &gt;= BLOCK_SIZE + bh-&gt;b_data)
<a href='../S/14.html#L292'>BLOCK_SIZE</a>        292 fs/namei.c           if ((char *) de &gt;= BLOCK_SIZE + bh-&gt;b_data)
<a href='../S/14.html#L865'>BLOCK_SIZE</a>        865 fs/namei.c           if ((void *) de &gt;= (void *) (bh-&gt;b_data + BLOCK_SIZE))
<a href='../S/31.html#L72'>BLOCK_SIZE</a>         72 include/linux/fs.h #define INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct d_inode)))
<a href='../S/31.html#L74'>BLOCK_SIZE</a>         74 include/linux/fs.h #define DIR_ENTRIES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct dir_entry)))
<a href='../S/52.html#L244'>BLOCK_SIZE</a>        244 init/main.c        printf ("%d buffers = %d bytes buffer space\n\r", NR_BUFFERS, NR_BUFFERS * BLOCK_SIZE);	// 打印缓冲区块数和总字节数,每块1024 字节。
<a href='../S/55.html#L248'>BLOCK_SIZE</a>        248 kernel/blk_drv/floppy.c  :: "c" (BLOCK_SIZE/4), "S" ((long)(from)), "D" ((long)(to)) \
<a href='../S/59.html#L158'>BLOCK_SIZE</a>        158 kernel/blk_drv/ramdisk.c       (void) memcpy (cp, bh-&gt;b_data, BLOCK_SIZE);	// 将缓冲区中的数据复制到cp 处。
<a href='../S/59.html#L161'>BLOCK_SIZE</a>        161 kernel/blk_drv/ramdisk.c       cp += BLOCK_SIZE;		// 虚拟盘指针前移。
<a href='../S/94.html#L604'>BLOCK_SIZE</a>        604 mm/memory.c      block = 1 + tmp / BLOCK_SIZE;
</pre>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?