Lines Matching defs:byte
107 /* Set @pos to the position of the byte containing @start_bit. */
109 /* Calculate the position of @start_bit in the first byte. */
111 /* If the first byte is partial, modify the appropriate bits in it. */
113 u8 *byte = kaddr + pos;
117 *byte |= 1 << bit++;
119 *byte &= ~(1 << bit++);
137 /* Update @len to point to the first not-done byte in the page. */
163 * The currently mapped page is the last one. If the last byte is
165 * position of the last byte inside the page.
168 u8 *byte;
173 byte = kaddr + len;
176 *byte |= 1 << bit;
178 *byte &= ~(1 << bit);