@@ -2356,17 +2356,17 @@ static void stdout_id_ctrl_oncs(__le16 ctrl_oncs)
23562356 __u16 rsvd13 = oncs >> 13 ;
23572357 bool nszs = !!(oncs & NVME_CTRL_ONCS_NAMESPACE_ZEROES );
23582358 bool maxwzd = !!(oncs & NVME_CTRL_ONCS_WRITE_ZEROES_DEALLOCATE );
2359- bool afc = !!(oncs & NVME_CTRL_ONCS_ALL_FAST_COPY );
2360- bool csa = !!(oncs & NVME_CTRL_ONCS_COPY_SINGLE_ATOMICITY );
2361- bool copy = !!(oncs & NVME_CTRL_ONCS_COPY );
2362- bool vrfy = !!(oncs & NVME_CTRL_ONCS_VERIFY );
2363- bool tmst = !!(oncs & NVME_CTRL_ONCS_TIMESTAMP );
2364- bool resv = !!(oncs & NVME_CTRL_ONCS_RESERVATIONS );
2365- bool save = !!(oncs & NVME_CTRL_ONCS_SAVE_FEATURES );
2366- bool wzro = !!(oncs & NVME_CTRL_ONCS_WRITE_ZEROES );
2367- bool dsms = !!(oncs & NVME_CTRL_ONCS_DSM );
2368- bool wunc = !!(oncs & NVME_CTRL_ONCS_WRITE_UNCORRECTABLE );
2369- bool cmp = !!(oncs & NVME_CTRL_ONCS_COMPARE );
2359+ bool nvmafc = !!(oncs & NVME_CTRL_ONCS_ALL_FAST_COPY );
2360+ bool nvmcsa = !!(oncs & NVME_CTRL_ONCS_COPY_SINGLE_ATOMICITY );
2361+ bool nvmcpys = !!(oncs & NVME_CTRL_ONCS_COPY );
2362+ bool nvmvfys = !!(oncs & NVME_CTRL_ONCS_VERIFY );
2363+ bool tss = !!(oncs & NVME_CTRL_ONCS_TIMESTAMP );
2364+ bool reservs = !!(oncs & NVME_CTRL_ONCS_RESERVATIONS );
2365+ bool ssfs = !!(oncs & NVME_CTRL_ONCS_SAVE_FEATURES );
2366+ bool nvmwzsv = !!(oncs & NVME_CTRL_ONCS_WRITE_ZEROES );
2367+ bool nvmdsmsv = !!(oncs & NVME_CTRL_ONCS_DSM );
2368+ bool nvmwusv = !!(oncs & NVME_CTRL_ONCS_WRITE_UNCORRECTABLE );
2369+ bool nvmcmps = !!(oncs & NVME_CTRL_ONCS_COMPARE );
23702370
23712371 if (rsvd13 )
23722372 printf (" [15:13] : %#x\tReserved\n" , rsvd13 );
@@ -2375,27 +2375,27 @@ static void stdout_id_ctrl_oncs(__le16 ctrl_oncs)
23752375 printf (" [11:11] : %#x\tMaximum Write Zeroes with Deallocate %sSupported\n" ,
23762376 maxwzd , maxwzd ? "" : "Not " );
23772377 printf (" [10:10] : %#x\tAll Fast Copy %sSupported\n" ,
2378- afc , afc ? "" : "Not " );
2378+ nvmafc , nvmafc ? "" : "Not " );
23792379 printf (" [9:9] : %#x\tCopy Single Atomicity %sSupported\n" ,
2380- csa , csa ? "" : "Not " );
2380+ nvmcsa , nvmcsa ? "" : "Not " );
23812381 printf (" [8:8] : %#x\tCopy %sSupported\n" ,
2382- copy , copy ? "" : "Not " );
2382+ nvmcpys , nvmcpys ? "" : "Not " );
23832383 printf (" [7:7] : %#x\tVerify %sSupported\n" ,
2384- vrfy , vrfy ? "" : "Not " );
2384+ nvmvfys , nvmvfys ? "" : "Not " );
23852385 printf (" [6:6] : %#x\tTimestamp %sSupported\n" ,
2386- tmst , tmst ? "" : "Not " );
2386+ tss , tss ? "" : "Not " );
23872387 printf (" [5:5] : %#x\tReservations %sSupported\n" ,
2388- resv , resv ? "" : "Not " );
2388+ reservs , reservs ? "" : "Not " );
23892389 printf (" [4:4] : %#x\tSave and Select %sSupported\n" ,
2390- save , save ? "" : "Not " );
2391- printf (" [3:3] : %#x\tWrite Zeroes %sSupported \n" ,
2392- wzro , wzro ? "" : "Not " );
2393- printf (" [2:2] : %#x\tData Set Management %sSupported \n" ,
2394- dsms , dsms ? "" : "Not " );
2395- printf (" [1:1] : %#x\tWrite Uncorrectable %sSupported \n" ,
2396- wunc , wunc ? "" : "Not " );
2397- printf (" [0:0] : %#x\tCompare %sSupported\n" ,
2398- cmp , cmp ? "" : "Not " );
2390+ ssfs , ssfs ? "" : "Not " );
2391+ printf (" [3:3] : %#x\tWrite Zeroes Support Variants \n" ,
2392+ nvmwzsv );
2393+ printf (" [2:2] : %#x\tDataset Management Support Variants \n" ,
2394+ nvmdsmsv );
2395+ printf (" [1:1] : %#x\tWrite Uncorrectable Support Variants \n" ,
2396+ nvmwusv );
2397+ printf (" [0:0] : %#x\tCompare Command %sSupported\n" ,
2398+ nvmcmps , nvmcmps ? "" : "Not " );
23992399 printf ("\n" );
24002400}
24012401
0 commit comments