29 const Processor_mask _Processor_mask_The_one_and_only = { .__bits[ 0 ] = 1 };
41 if ( ( dst_size | src_size ) %
sizeof(
long ) != 0 ) {
42 return PROCESSOR_MASK_COPY_INVALID_SIZE;
45 while ( dst_size > 0 && src_size > 0 ) {
52 dst_size -=
sizeof( long );
53 src_size -=
sizeof( long );
56 while ( dst_size > 0 ) {
59 dst_size -=
sizeof( long );
62 while ( src_size > 0 ) {
65 src_size -=
sizeof( long );
68 if ( exclusive != 0 ) {
69 if ( inclusive != 0 ) {
70 return PROCESSOR_MASK_COPY_PARTIAL_LOSS;
72 return PROCESSOR_MASK_COPY_COMPLETE_LOSS;
76 return PROCESSOR_MASK_COPY_LOSSLESS;
Processor_mask_Copy_status _Processor_mask_Copy(long *dst, size_t dst_size, const long *src, size_t src_size)
Copies one mask to another.