Lines Matching defs:dst
27 * @dst: bitmap to clear
34 static void ethnl_bitmap32_clear(u32 *dst, unsigned int start, unsigned int end,
49 if (dst[start_word] & mask) {
50 dst[start_word] &= ~mask;
55 if (dst[start_word] & mask) {
56 dst[start_word] &= ~mask;
63 if (dst[i]) {
64 dst[i] = 0;
70 if (dst[end_word] & mask) {
71 dst[end_word] &= ~mask;
118 * @dst: bitmap to update
124 * Set bits in @dst bitmap which are set in @mask to values from @value, leave
128 static void ethnl_bitmap32_update(u32 *dst, unsigned int nbits,
137 new_value = (*dst & ~real_mask) | (*value & real_mask);
138 if (new_value != *dst) {
139 *dst = new_value;
145 dst++;
250 u32 *dst;
255 dst = nla_data(attr);
256 memcpy(dst, val, nbytes);
258 dst[nwords - 1] &= ethnl_lower_bits(nbits);
264 dst = nla_data(attr);
265 memcpy(dst, mask, nbytes);
267 dst[nwords - 1] &= ethnl_lower_bits(nbits);