Lines Matching defs:fill
85 memword_t fill;
97 * Pad out the fill byte (v) across a memword_t.
101 fill = (unsigned char)c;
102 fill |= fill << 8;
103 fill |= fill << 16;
104 fill |= fill << (sizeof(c) < sizeof(fill) ? 32 : 0);
107 * Get the number of unaligned bytes to fill in the first word.
131 * If we can fill the rest of this word, then we mask
132 * off the bytes we are filling and then fill in those
133 * bytes with the new fill value.
135 *dstp = (*dstp & keep_mask) | (fill & ~keep_mask);
140 * Since we were able to fill the rest of this word,
144 * If we don't have enough to fill the rest of this
146 * (since there are no full words to fill). Then we
161 *dp = fill;
169 * Simply fill memory one word at time (for as many full words we have
173 *dstp = fill;
192 * if the amount to fill was less than the amount of trailing
202 * Now we mask off the bytes we are filling and then fill in
203 * those bytes with the new fill value.
205 *dstp = (*dstp & keep_mask) | (fill & ~keep_mask);
210 *dp = fill;