⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 552.html

📁 linux 0.11中文版 有注释
💻 HTML
字号:
<html>
<head>
<title>pos</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/5.html#L26'>pos</a>                26 fs/block_dev.c   int block = *pos &gt;&gt; BLOCK_SIZE_BITS;
<a href='../S/5.html#L27'>pos</a>                27 fs/block_dev.c   int offset = *pos &amp; (BLOCK_SIZE - 1);
<a href='../S/5.html#L55'>pos</a>                55 fs/block_dev.c       *pos += chars;
<a href='../S/5.html#L73'>pos</a>                73 fs/block_dev.c   int block = *pos &gt;&gt; BLOCK_SIZE_BITS;
<a href='../S/5.html#L74'>pos</a>                74 fs/block_dev.c   int offset = *pos &amp; (BLOCK_SIZE - 1);
<a href='../S/5.html#L97'>pos</a>                97 fs/block_dev.c       *pos += chars;
<a href='../S/10.html#L77'>pos</a>                77 fs/file_dev.c    off_t pos;
<a href='../S/10.html#L93'>pos</a>                93 fs/file_dev.c      pos = inode-&gt;i_size;
<a href='../S/10.html#L95'>pos</a>                95 fs/file_dev.c      pos = filp-&gt;f_pos;
<a href='../S/10.html#L101'>pos</a>               101 fs/file_dev.c        if (!(block = create_block (inode, pos / BLOCK_SIZE)))
<a href='../S/10.html#L108'>pos</a>               108 fs/file_dev.c        c = pos % BLOCK_SIZE;
<a href='../S/10.html#L118'>pos</a>               118 fs/file_dev.c        pos += c;
<a href='../S/10.html#L119'>pos</a>               119 fs/file_dev.c        if (pos &gt; inode-&gt;i_size)
<a href='../S/10.html#L121'>pos</a>               121 fs/file_dev.c  	  inode-&gt;i_size = pos;
<a href='../S/10.html#L137'>pos</a>               137 fs/file_dev.c        filp-&gt;f_pos = pos;
<a href='../S/60.html#L107'>pos</a>               107 kernel/chr_drv/console.c static unsigned long pos;	// 当前光标对应的显示内存位置。
<a href='../S/60.html#L142'>pos</a>               142 kernel/chr_drv/console.c   pos = origin + y * video_size_row + (x &lt;&lt; 1);
<a href='../S/60.html#L174'>pos</a>               174 kernel/chr_drv/console.c 	  pos += video_size_row;
<a href='../S/60.html#L193'>pos</a>               193 kernel/chr_drv/console.c 	      pos -= origin - video_mem_start;
<a href='../S/60.html#L278'>pos</a>               278 kernel/chr_drv/console.c       pos += video_size_row;
<a href='../S/60.html#L294'>pos</a>               294 kernel/chr_drv/console.c       pos -= video_size_row;
<a href='../S/60.html#L306'>pos</a>               306 kernel/chr_drv/console.c   pos -= x &lt;&lt; 1;
<a href='../S/60.html#L318'>pos</a>               318 kernel/chr_drv/console.c       pos -= 2;
<a href='../S/60.html#L320'>pos</a>               320 kernel/chr_drv/console.c       *(unsigned short *) pos = video_erase_char;
<a href='../S/60.html#L338'>pos</a>               338 kernel/chr_drv/console.c       count = (scr_end - pos) &gt;&gt; 1;
<a href='../S/60.html#L339'>pos</a>               339 kernel/chr_drv/console.c       start = pos;
<a href='../S/60.html#L342'>pos</a>               342 kernel/chr_drv/console.c       count = (pos - origin) &gt;&gt; 1;
<a href='../S/60.html#L372'>pos</a>               372 kernel/chr_drv/console.c       start = pos;
<a href='../S/60.html#L375'>pos</a>               375 kernel/chr_drv/console.c       start = pos - (x &lt;&lt; 1);
<a href='../S/60.html#L379'>pos</a>               379 kernel/chr_drv/console.c       start = pos - (x &lt;&lt; 1);
<a href='../S/60.html#L427'>pos</a>               427 kernel/chr_drv/console.c   outb_p (0xff &amp; ((pos - video_mem_start) &gt;&gt; 9), video_port_val);
<a href='../S/60.html#L430'>pos</a>               430 kernel/chr_drv/console.c   outb_p (0xff &amp; ((pos - video_mem_start) &gt;&gt; 1), video_port_val);
<a href='../S/60.html#L457'>pos</a>               457 kernel/chr_drv/console.c   unsigned short *p = (unsigned short *) pos;
<a href='../S/60.html#L491'>pos</a>               491 kernel/chr_drv/console.c   unsigned short *p = (unsigned short *) pos;
<a href='../S/60.html#L631'>pos</a>               631 kernel/chr_drv/console.c 		  pos -= video_size_row;
<a href='../S/60.html#L635'>pos</a>               635 kernel/chr_drv/console.c 	    __asm__ ("movb _attr,%%ah\n\t" "movw %%ax,%1\n\t"::"a" (c), "m" (*(short *) pos):"ax");
<a href='../S/60.html#L636'>pos</a>               636 kernel/chr_drv/console.c 	      pos += 2;
<a href='../S/60.html#L657'>pos</a>               657 kernel/chr_drv/console.c 		  pos -= 2;
<a href='../S/60.html#L666'>pos</a>               666 kernel/chr_drv/console.c 	      pos += c &lt;&lt; 1;
<a href='../S/60.html#L670'>pos</a>               670 kernel/chr_drv/console.c 		  pos -= video_size_row;
</pre>
</body>
</html>

⌨️ 快捷键说明

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