Lines Matching refs:small

344 #define	MHS_BIG2SMALL(big, small)					\
345 small->hs_revision = big->hs_revision; \
346 small->hs_record_id = big->hs_record_id; \
347 small->xx_hs_next = 0; \
348 small->hs_devnum = md_cmpldev(big->hs_devnum); \
349 small->hs_key = big->hs_key; \
350 small->hs_start_blk = (daddr32_t)big->hs_start_blk; \
351 small->hs_has_label = big->hs_has_label; \
352 small->hs_number_blks = (daddr32_t)big->hs_number_blks; \
353 small->hs_state = big->hs_state; \
354 small->hs_refcount = big->hs_refcount; \
355 small->hs_isopen = big->hs_isopen; \
356 CMPLTV(small->hs_timestamp, big->hs_timestamp);
359 #define MHS_SMALL2BIG(small, big) \
360 big->hs_revision = small->hs_revision; \
361 big->hs_record_id = small->hs_record_id; \
362 big->hs_devnum = md_expldev(small->hs_devnum); \
363 big->hs_key = small->hs_key; \
364 big->hs_start_blk = (diskaddr_t)small->hs_start_blk; \
365 big->hs_has_label = small->hs_has_label; \
366 big->hs_number_blks = (diskaddr_t)small->hs_number_blks; \
367 big->hs_state = small->hs_state; \
368 big->hs_refcount = small->hs_refcount; \
369 big->hs_isopen = small->hs_isopen; \
370 CMPLTV(big->hs_timestamp, small->hs_timestamp);
373 #define MHSP_BIG2SMALL(big, small) { \
375 small->hsp_revision = big->hsp_revision; \
376 small->hsp_self_id = big->hsp_self_id; \
377 small->hsp_record_id = big->hsp_record_id; \
378 small->hsp_refcount = big->hsp_refcount; \
379 small->hsp_nhotspares = big->hsp_nhotspares; \
381 small->hsp_hotspares[__i] = big->hsp_hotspares[__i]; \
385 #define MHSP_SMALL2BIG(small, big) { \
387 big->hsp_revision = small->hsp_revision; \
388 big->hsp_self_id = small->hsp_self_id; \
389 big->hsp_record_id = small->hsp_record_id; \
390 big->hsp_refcount = small->hsp_refcount; \
391 big->hsp_nhotspares = small->hsp_nhotspares; \
392 for (__i = 0; __i < small->hsp_nhotspares; __i++) \
393 big->hsp_hotspares[__i] = small->hsp_hotspares[__i]; \