=============================================================================== 4005bf1c : int rtems_rfs_bitmap_close (rtems_rfs_bitmap_control* control) { 4005bf1c: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED free (control->search_bits); 4005bf20: 7f fe bd d8 call 4000b680 <== NOT EXECUTED 4005bf24: d0 06 20 14 ld [ %i0 + 0x14 ], %o0 <== NOT EXECUTED return 0; } 4005bf28: 81 c7 e0 08 ret <== NOT EXECUTED 4005bf2c: 91 e8 20 00 restore %g0, 0, %o0 <== NOT EXECUTED =============================================================================== 4005bdd4 : int rtems_rfs_bitmap_create_search (rtems_rfs_bitmap_control* control) { 4005bdd4: 9d e3 bf 98 save %sp, -104, %sp <== NOT EXECUTED rtems_rfs_bitmap_map map; size_t size; rtems_rfs_bitmap_bit bit; int rc; rc = rtems_rfs_bitmap_load_map (control, &map); 4005bdd8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED { 4005bddc: ba 10 00 18 mov %i0, %i5 <== NOT EXECUTED rc = rtems_rfs_bitmap_load_map (control, &map); 4005bde0: 7f ff fe 7a call 4005b7c8 <== NOT EXECUTED 4005bde4: 92 07 bf fc add %fp, -4, %o1 <== NOT EXECUTED if (rc > 0) 4005bde8: b0 92 20 00 orcc %o0, 0, %i0 <== NOT EXECUTED 4005bdec: 24 80 00 04 ble,a 4005bdfc <== NOT EXECUTED 4005bdf0: c0 27 60 10 clr [ %i5 + 0x10 ] <== NOT EXECUTED bit++; map++; } return 0; } 4005bdf4: 81 c7 e0 08 ret <== NOT EXECUTED 4005bdf8: 81 e8 00 00 restore <== NOT EXECUTED *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR; 4005bdfc: 82 10 3f ff mov -1, %g1 <== NOT EXECUTED search_map = control->search_bits; 4005be00: f0 07 60 14 ld [ %i5 + 0x14 ], %i0 <== NOT EXECUTED size = control->size; 4005be04: c6 07 60 0c ld [ %i5 + 0xc ], %g3 <== NOT EXECUTED while (size) 4005be08: 80 a0 e0 00 cmp %g3, 0 <== NOT EXECUTED 4005be0c: 02 80 00 31 be 4005bed0 <== NOT EXECUTED 4005be10: c2 26 00 00 st %g1, [ %i0 ] <== NOT EXECUTED 4005be14: f8 07 bf fc ld [ %fp + -4 ], %i4 <== NOT EXECUTED bit = 0; 4005be18: b4 10 20 00 clr %i2 <== NOT EXECUTED available = rtems_rfs_bitmap_element_bits (); 4005be1c: 9a 10 20 20 mov 0x20, %o5 <== NOT EXECUTED mask >>= (rtems_rfs_bitmap_element_bits () - size); 4005be20: 9e 10 3f ff mov -1, %o7 <== NOT EXECUTED return RTEMS_RFS_BITMAP_TEST_BIT (target, bit); 4005be24: 10 80 00 10 b 4005be64 <== NOT EXECUTED 4005be28: b2 10 20 01 mov 1, %i1 <== NOT EXECUTED mask >>= (rtems_rfs_bitmap_element_bits () - size); 4005be2c: 82 23 40 03 sub %o5, %g3, %g1 <== NOT EXECUTED available = size; 4005be30: b6 10 00 03 mov %g3, %i3 <== NOT EXECUTED mask >>= (rtems_rfs_bitmap_element_bits () - size); 4005be34: 83 33 c0 01 srl %o7, %g1, %g1 <== NOT EXECUTED 4005be38: 84 08 80 01 and %g2, %g1, %g2 <== NOT EXECUTED if (rtems_rfs_bitmap_match (bits, RTEMS_RFS_BITMAP_ELEMENT_SET)) 4005be3c: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 4005be40: 12 80 00 10 bne 4005be80 <== NOT EXECUTED 4005be44: 86 10 20 00 clr %g3 <== NOT EXECUTED if (bit == (rtems_rfs_bitmap_element_bits () - 1)) 4005be48: 80 a6 a0 1f cmp %i2, 0x1f <== NOT EXECUTED 4005be4c: 22 80 00 1c be,a 4005bebc <== NOT EXECUTED 4005be50: de 26 20 04 st %o7, [ %i0 + 4 ] <== NOT EXECUTED bit++; 4005be54: b4 06 a0 01 inc %i2 <== NOT EXECUTED while (size) 4005be58: 80 a0 e0 00 cmp %g3, 0 <== NOT EXECUTED 4005be5c: 02 80 00 1d be 4005bed0 <== NOT EXECUTED 4005be60: b8 07 20 04 add %i4, 4, %i4 <== NOT EXECUTED if (size < rtems_rfs_bitmap_element_bits ()) 4005be64: 80 a0 e0 1f cmp %g3, 0x1f <== NOT EXECUTED 4005be68: 08 bf ff f1 bleu 4005be2c <== NOT EXECUTED 4005be6c: c4 07 00 00 ld [ %i4 ], %g2 <== NOT EXECUTED 4005be70: 86 00 ff e0 add %g3, -32, %g3 <== NOT EXECUTED if (rtems_rfs_bitmap_match (bits, RTEMS_RFS_BITMAP_ELEMENT_SET)) 4005be74: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 4005be78: 02 bf ff f4 be 4005be48 <== NOT EXECUTED 4005be7c: b6 10 20 20 mov 0x20, %i3 <== NOT EXECUTED for (b = 0; b < available; b++) 4005be80: 82 10 20 00 clr %g1 <== NOT EXECUTED return RTEMS_RFS_BITMAP_TEST_BIT (target, bit); 4005be84: 89 2e 40 01 sll %i1, %g1, %g4 <== NOT EXECUTED if (!rtems_rfs_bitmap_test (bits, b)) 4005be88: 80 89 00 02 btst %g4, %g2 <== NOT EXECUTED 4005be8c: 02 80 00 05 be 4005bea0 <== NOT EXECUTED 4005be90: 82 00 60 01 inc %g1 <== NOT EXECUTED control->free++; 4005be94: c8 07 60 10 ld [ %i5 + 0x10 ], %g4 <== NOT EXECUTED 4005be98: 88 01 20 01 inc %g4 <== NOT EXECUTED 4005be9c: c8 27 60 10 st %g4, [ %i5 + 0x10 ] <== NOT EXECUTED for (b = 0; b < available; b++) 4005bea0: 80 a6 c0 01 cmp %i3, %g1 <== NOT EXECUTED 4005bea4: 12 bf ff f9 bne 4005be88 <== NOT EXECUTED 4005bea8: 89 2e 40 01 sll %i1, %g1, %g4 <== NOT EXECUTED if (bit == (rtems_rfs_bitmap_element_bits () - 1)) 4005beac: 80 a6 a0 1f cmp %i2, 0x1f <== NOT EXECUTED 4005beb0: 12 bf ff ea bne 4005be58 <== NOT EXECUTED 4005beb4: b4 06 a0 01 inc %i2 <== NOT EXECUTED *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR; 4005beb8: de 26 20 04 st %o7, [ %i0 + 4 ] <== NOT EXECUTED bit = 0; 4005bebc: b4 10 20 00 clr %i2 <== NOT EXECUTED search_map++; 4005bec0: b0 06 20 04 add %i0, 4, %i0 <== NOT EXECUTED while (size) 4005bec4: 80 a0 e0 00 cmp %g3, 0 <== NOT EXECUTED 4005bec8: 12 bf ff e7 bne 4005be64 <== NOT EXECUTED 4005becc: b8 07 20 04 add %i4, 4, %i4 <== NOT EXECUTED } 4005bed0: 81 c7 e0 08 ret <== NOT EXECUTED 4005bed4: 91 e8 20 00 restore %g0, 0, %o0 <== NOT EXECUTED =============================================================================== 4005bcd0 : int rtems_rfs_bitmap_map_alloc (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit seed, bool* allocated, rtems_rfs_bitmap_bit* bit) { 4005bcd0: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED int rc = 0; /* * By default we assume the allocation failed. */ *allocated = false; 4005bcd4: c0 2e 80 00 clrb [ %i2 ] <== NOT EXECUTED * seed up then from the seed down a window number of bits, then repeat the * process from the window distance from the seed, again above then * below. Keep moving out until all bits have been searched. */ upper_seed = seed; lower_seed = seed; 4005bcd8: ba 10 00 19 mov %i1, %i5 <== NOT EXECUTED * we have searched all of the map. The seed may not be aligned to a window * boundary so we may need to search a partial window and this may also not * be balanced for the upper or lower seeds. We move to the limits, search * then return false if no clear bits are found. */ while (((upper_seed >= 0) && (upper_seed < control->size)) 4005bcdc: 80 a6 60 00 cmp %i1, 0 <== NOT EXECUTED 4005bce0: 06 80 00 1e bl 4005bd58 <== NOT EXECUTED 4005bce4: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED 4005bce8: c2 06 20 0c ld [ %i0 + 0xc ], %g1 <== NOT EXECUTED 4005bcec: 80 a0 40 19 cmp %g1, %i1 <== NOT EXECUTED 4005bcf0: 08 80 00 1a bleu 4005bd58 <== NOT EXECUTED 4005bcf4: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED /* * Search up first so bits allocated in succession are grouped together. */ if (upper_seed < control->size) { *bit = upper_seed; 4005bcf8: f2 26 c0 00 st %i1, [ %i3 ] <== NOT EXECUTED rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated, 4005bcfc: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED 4005bd00: 94 10 00 1a mov %i2, %o2 <== NOT EXECUTED 4005bd04: 92 10 00 1b mov %i3, %o1 <== NOT EXECUTED 4005bd08: 7f ff fe c4 call 4005b818 <== NOT EXECUTED 4005bd0c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED window, 1); if ((rc > 0) || *allocated) 4005bd10: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005bd14: 14 80 00 2c bg 4005bdc4 <== NOT EXECUTED 4005bd18: 01 00 00 00 nop <== NOT EXECUTED 4005bd1c: c2 0e 80 00 ldub [ %i2 ], %g1 <== NOT EXECUTED 4005bd20: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 4005bd24: 12 80 00 28 bne 4005bdc4 <== NOT EXECUTED 4005bd28: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED break; } if (lower_seed >= 0) 4005bd2c: 36 80 00 14 bge,a 4005bd7c <== NOT EXECUTED 4005bd30: fa 26 c0 00 st %i5, [ %i3 ] <== NOT EXECUTED /* * Do not bound the limits at the edges of the map. Do not update if an * edge has been passed. */ if (upper_seed < control->size) 4005bd34: c2 06 20 0c ld [ %i0 + 0xc ], %g1 <== NOT EXECUTED 4005bd38: 80 a6 40 01 cmp %i1, %g1 <== NOT EXECUTED 4005bd3c: 1a bf ff e9 bcc 4005bce0 <== NOT EXECUTED 4005bd40: 80 a6 60 00 cmp %i1, 0 <== NOT EXECUTED upper_seed += window; 4005bd44: b2 06 68 00 add %i1, 0x800, %i1 <== NOT EXECUTED while (((upper_seed >= 0) && (upper_seed < control->size)) 4005bd48: 80 a6 60 00 cmp %i1, 0 <== NOT EXECUTED 4005bd4c: 16 bf ff e9 bge 4005bcf0 <== NOT EXECUTED 4005bd50: 80 a0 40 19 cmp %g1, %i1 <== NOT EXECUTED || ((lower_seed >= 0) && (lower_seed < control->size))) 4005bd54: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED 4005bd58: 06 80 00 1b bl 4005bdc4 <== NOT EXECUTED 4005bd5c: 01 00 00 00 nop <== NOT EXECUTED 4005bd60: c2 06 20 0c ld [ %i0 + 0xc ], %g1 <== NOT EXECUTED 4005bd64: 80 a0 40 1d cmp %g1, %i5 <== NOT EXECUTED 4005bd68: 08 80 00 17 bleu 4005bdc4 <== NOT EXECUTED 4005bd6c: 80 a6 40 01 cmp %i1, %g1 <== NOT EXECUTED if (upper_seed < control->size) 4005bd70: 2a bf ff e3 bcs,a 4005bcfc <== NOT EXECUTED 4005bd74: f2 26 c0 00 st %i1, [ %i3 ] <== NOT EXECUTED *bit = lower_seed; 4005bd78: fa 26 c0 00 st %i5, [ %i3 ] <== NOT EXECUTED rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated, 4005bd7c: 96 10 3f ff mov -1, %o3 <== NOT EXECUTED 4005bd80: 94 10 00 1a mov %i2, %o2 <== NOT EXECUTED 4005bd84: 92 10 00 1b mov %i3, %o1 <== NOT EXECUTED 4005bd88: 7f ff fe a4 call 4005b818 <== NOT EXECUTED 4005bd8c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if ((rc > 0) || *allocated) 4005bd90: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005bd94: 14 80 00 0c bg 4005bdc4 <== NOT EXECUTED 4005bd98: 01 00 00 00 nop <== NOT EXECUTED 4005bd9c: c2 0e 80 00 ldub [ %i2 ], %g1 <== NOT EXECUTED 4005bda0: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 4005bda4: 12 80 00 08 bne 4005bdc4 <== NOT EXECUTED 4005bda8: 01 00 00 00 nop <== NOT EXECUTED if (upper_seed < control->size) 4005bdac: c2 06 20 0c ld [ %i0 + 0xc ], %g1 <== NOT EXECUTED 4005bdb0: 80 a6 40 01 cmp %i1, %g1 <== NOT EXECUTED 4005bdb4: 2a 80 00 06 bcs,a 4005bdcc <== NOT EXECUTED 4005bdb8: b2 06 68 00 add %i1, 0x800, %i1 <== NOT EXECUTED if (lower_seed >= 0) lower_seed -= window; 4005bdbc: 10 bf ff c8 b 4005bcdc <== NOT EXECUTED 4005bdc0: ba 07 78 00 add %i5, -2048, %i5 <== NOT EXECUTED } return 0; } 4005bdc4: 81 c7 e0 08 ret <== NOT EXECUTED 4005bdc8: 91 e8 20 00 restore %g0, 0, %o0 <== NOT EXECUTED lower_seed -= window; 4005bdcc: 10 bf ff c4 b 4005bcdc <== NOT EXECUTED 4005bdd0: ba 07 78 00 add %i5, -2048, %i5 <== NOT EXECUTED =============================================================================== 4005bb10 : { 4005bb10: 9d e3 bf 98 save %sp, -104, %sp <== NOT EXECUTED rc = rtems_rfs_bitmap_load_map (control, &map); 4005bb14: 92 07 bf fc add %fp, -4, %o1 <== NOT EXECUTED 4005bb18: 7f ff ff 2c call 4005b7c8 <== NOT EXECUTED 4005bb1c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 4005bb20: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005bb24: 24 80 00 04 ble,a 4005bb34 <== NOT EXECUTED 4005bb28: c2 06 20 0c ld [ %i0 + 0xc ], %g1 <== NOT EXECUTED } 4005bb2c: 81 c7 e0 08 ret <== NOT EXECUTED 4005bb30: 91 e8 00 08 restore %g0, %o0, %o0 <== NOT EXECUTED if (bit >= control->size) 4005bb34: 80 a0 40 19 cmp %g1, %i1 <== NOT EXECUTED 4005bb38: 08 bf ff fd bleu 4005bb2c <== NOT EXECUTED 4005bb3c: 90 10 20 16 mov 0x16, %o0 <== NOT EXECUTED element = map[index]; 4005bb40: f8 07 bf fc ld [ %fp + -4 ], %i4 <== NOT EXECUTED index = rtems_rfs_bitmap_map_index (bit); 4005bb44: 85 3e 60 05 sra %i1, 5, %g2 <== NOT EXECUTED element = map[index]; 4005bb48: bb 28 a0 02 sll %g2, 2, %i5 <== NOT EXECUTED 4005bb4c: c8 07 00 1d ld [ %i4 + %i5 ], %g4 <== NOT EXECUTED search_map = control->search_bits; 4005bb50: f6 06 20 14 ld [ %i0 + 0x14 ], %i3 <== NOT EXECUTED map[index] = rtems_rfs_bitmap_clear (element, 1 << offset); 4005bb54: 86 10 20 01 mov 1, %g3 <== NOT EXECUTED 4005bb58: 83 28 c0 19 sll %g3, %i1, %g1 <== NOT EXECUTED return RTEMS_RFS_BITMAP_CLEAR_BITS (target, bits); 4005bb5c: 82 10 40 04 or %g1, %g4, %g1 <== NOT EXECUTED map[index] = rtems_rfs_bitmap_clear (element, 1 << offset); 4005bb60: c2 27 00 1d st %g1, [ %i4 + %i5 ] <== NOT EXECUTED if (rtems_rfs_bitmap_match(element, map[index])) 4005bb64: 80 a1 00 01 cmp %g4, %g1 <== NOT EXECUTED 4005bb68: 02 bf ff f1 be 4005bb2c <== NOT EXECUTED 4005bb6c: 90 10 20 00 clr %o0 <== NOT EXECUTED index = rtems_rfs_bitmap_map_index (bit); 4005bb70: b3 3e 60 0a sra %i1, 0xa, %i1 <== NOT EXECUTED search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset); 4005bb74: b3 2e 60 02 sll %i1, 2, %i1 <== NOT EXECUTED return RTEMS_RFS_BITMAP_CLEAR_BITS (target, bits); 4005bb78: c2 06 c0 19 ld [ %i3 + %i1 ], %g1 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (control->buffer); 4005bb7c: c8 06 00 00 ld [ %i0 ], %g4 <== NOT EXECUTED search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset); 4005bb80: 85 28 c0 02 sll %g3, %g2, %g2 <== NOT EXECUTED return RTEMS_RFS_BITMAP_CLEAR_BITS (target, bits); 4005bb84: 84 10 40 02 or %g1, %g2, %g2 <== NOT EXECUTED search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset); 4005bb88: c4 26 c0 19 st %g2, [ %i3 + %i1 ] <== NOT EXECUTED control->free++; 4005bb8c: c2 06 20 10 ld [ %i0 + 0x10 ], %g1 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (control->buffer); 4005bb90: c6 29 00 00 stb %g3, [ %g4 ] <== NOT EXECUTED control->free++; 4005bb94: 82 00 60 01 inc %g1 <== NOT EXECUTED 4005bb98: c2 26 20 10 st %g1, [ %i0 + 0x10 ] <== NOT EXECUTED } 4005bb9c: 81 c7 e0 08 ret <== NOT EXECUTED 4005bba0: 91 e8 00 08 restore %g0, %o0, %o0 <== NOT EXECUTED =============================================================================== 4005bc08 : { 4005bc08: 9d e3 bf 98 save %sp, -104, %sp <== NOT EXECUTED rc = rtems_rfs_bitmap_load_map (control, &map); 4005bc0c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED { 4005bc10: ba 10 00 18 mov %i0, %i5 <== NOT EXECUTED rc = rtems_rfs_bitmap_load_map (control, &map); 4005bc14: 7f ff fe ed call 4005b7c8 <== NOT EXECUTED 4005bc18: 92 07 bf fc add %fp, -4, %o1 <== NOT EXECUTED if (rc > 0) 4005bc1c: b0 92 20 00 orcc %o0, 0, %i0 <== NOT EXECUTED 4005bc20: 24 80 00 04 ble,a 4005bc30 <== NOT EXECUTED 4005bc24: c4 07 60 0c ld [ %i5 + 0xc ], %g2 <== NOT EXECUTED } 4005bc28: 81 c7 e0 08 ret <== NOT EXECUTED 4005bc2c: 81 e8 00 00 restore <== NOT EXECUTED elements = rtems_rfs_bitmap_elements (control->size); 4005bc30: 86 00 bf ff add %g2, -1, %g3 <== NOT EXECUTED control->free = control->size; 4005bc34: c4 27 60 10 st %g2, [ %i5 + 0x10 ] <== NOT EXECUTED elements = rtems_rfs_bitmap_elements (control->size); 4005bc38: b9 30 e0 05 srl %g3, 5, %i4 <== NOT EXECUTED 4005bc3c: c4 07 bf fc ld [ %fp + -4 ], %g2 <== NOT EXECUTED 4005bc40: 89 2f 20 02 sll %i4, 2, %g4 <== NOT EXECUTED 4005bc44: 82 00 a0 04 add %g2, 4, %g1 <== NOT EXECUTED 4005bc48: b8 07 20 01 inc %i4 <== NOT EXECUTED 4005bc4c: 88 00 40 04 add %g1, %g4, %g4 <== NOT EXECUTED map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR; 4005bc50: 10 80 00 03 b 4005bc5c <== NOT EXECUTED 4005bc54: b6 10 3f ff mov -1, %i3 <== NOT EXECUTED 4005bc58: 82 00 60 04 add %g1, 4, %g1 <== NOT EXECUTED 4005bc5c: f6 20 80 00 st %i3, [ %g2 ] <== NOT EXECUTED for (e = 0; e < elements; e++) 4005bc60: 80 a1 00 01 cmp %g4, %g1 <== NOT EXECUTED 4005bc64: 12 bf ff fd bne 4005bc58 <== NOT EXECUTED 4005bc68: 84 10 00 01 mov %g1, %g2 <== NOT EXECUTED if (last_search_bit == 0) 4005bc6c: b8 8f 20 1f andcc %i4, 0x1f, %i4 <== NOT EXECUTED 4005bc70: 02 80 00 04 be 4005bc80 <== NOT EXECUTED 4005bc74: b4 10 3f ff mov -1, %i2 <== NOT EXECUTED 4005bc78: b8 20 00 1c neg %i4 <== NOT EXECUTED 4005bc7c: b5 36 c0 1c srl %i3, %i4, %i2 <== NOT EXECUTED elements = rtems_rfs_bitmap_elements (elements); 4005bc80: 85 30 e0 0a srl %g3, 0xa, %g2 <== NOT EXECUTED for (e = 0; e < (elements - 1); e++) 4005bc84: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 4005bc88: 02 80 00 0b be 4005bcb4 <== NOT EXECUTED 4005bc8c: f6 07 60 14 ld [ %i5 + 0x14 ], %i3 <== NOT EXECUTED 4005bc90: 87 28 a0 02 sll %g2, 2, %g3 <== NOT EXECUTED 4005bc94: 82 10 00 1b mov %i3, %g1 <== NOT EXECUTED 4005bc98: 86 00 c0 1b add %g3, %i3, %g3 <== NOT EXECUTED control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR; 4005bc9c: 88 10 3f ff mov -1, %g4 <== NOT EXECUTED 4005bca0: c8 20 40 00 st %g4, [ %g1 ] <== NOT EXECUTED 4005bca4: 82 00 60 04 add %g1, 4, %g1 <== NOT EXECUTED for (e = 0; e < (elements - 1); e++) 4005bca8: 80 a0 c0 01 cmp %g3, %g1 <== NOT EXECUTED 4005bcac: 32 bf ff fe bne,a 4005bca4 <== NOT EXECUTED 4005bcb0: c8 20 40 00 st %g4, [ %g1 ] <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (control->buffer); 4005bcb4: c2 07 40 00 ld [ %i5 ], %g1 <== NOT EXECUTED control->search_bits[elements - 1] = 4005bcb8: 85 28 a0 02 sll %g2, 2, %g2 <== NOT EXECUTED 4005bcbc: f4 26 c0 02 st %i2, [ %i3 + %g2 ] <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (control->buffer); 4005bcc0: 84 10 20 01 mov 1, %g2 <== NOT EXECUTED 4005bcc4: c4 28 40 00 stb %g2, [ %g1 ] <== NOT EXECUTED } 4005bcc8: 81 c7 e0 08 ret <== NOT EXECUTED 4005bccc: 91 e8 20 00 restore %g0, 0, %o0 <== NOT EXECUTED =============================================================================== 4005ba74 : { 4005ba74: 9d e3 bf 98 save %sp, -104, %sp <== NOT EXECUTED rc = rtems_rfs_bitmap_load_map (control, &map); 4005ba78: 92 07 bf fc add %fp, -4, %o1 <== NOT EXECUTED 4005ba7c: 7f ff ff 53 call 4005b7c8 <== NOT EXECUTED 4005ba80: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 4005ba84: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005ba88: 24 80 00 04 ble,a 4005ba98 <== NOT EXECUTED 4005ba8c: c2 06 20 0c ld [ %i0 + 0xc ], %g1 <== NOT EXECUTED } 4005ba90: 81 c7 e0 08 ret <== NOT EXECUTED 4005ba94: 91 e8 00 08 restore %g0, %o0, %o0 <== NOT EXECUTED if (bit >= control->size) 4005ba98: 80 a0 40 19 cmp %g1, %i1 <== NOT EXECUTED 4005ba9c: 08 bf ff fd bleu 4005ba90 <== NOT EXECUTED 4005baa0: 90 10 20 16 mov 0x16, %o0 <== NOT EXECUTED element = map[index]; 4005baa4: fa 07 bf fc ld [ %fp + -4 ], %i5 <== NOT EXECUTED index = rtems_rfs_bitmap_map_index (bit); 4005baa8: b9 3e 60 05 sra %i1, 5, %i4 <== NOT EXECUTED element = map[index]; 4005baac: 89 2f 20 02 sll %i4, 2, %g4 <== NOT EXECUTED 4005bab0: c6 07 40 04 ld [ %i5 + %g4 ], %g3 <== NOT EXECUTED search_map = control->search_bits; 4005bab4: f6 06 20 14 ld [ %i0 + 0x14 ], %i3 <== NOT EXECUTED map[index] = rtems_rfs_bitmap_set (element, 1 << offset); 4005bab8: 84 10 20 01 mov 1, %g2 <== NOT EXECUTED 4005babc: 83 28 80 19 sll %g2, %i1, %g1 <== NOT EXECUTED return RTEMS_RFS_BITMAP_SET_BITS (target, bits); 4005bac0: 82 28 c0 01 andn %g3, %g1, %g1 <== NOT EXECUTED if (rtems_rfs_bitmap_match(element, map[index])) 4005bac4: 80 a0 c0 01 cmp %g3, %g1 <== NOT EXECUTED 4005bac8: 02 80 00 0f be 4005bb04 <== NOT EXECUTED 4005bacc: c2 27 40 04 st %g1, [ %i5 + %g4 ] <== NOT EXECUTED control->free--; 4005bad0: c6 06 20 10 ld [ %i0 + 0x10 ], %g3 <== NOT EXECUTED 4005bad4: 86 00 ff ff add %g3, -1, %g3 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (control->buffer); 4005bad8: c8 06 00 00 ld [ %i0 ], %g4 <== NOT EXECUTED control->free--; 4005badc: c6 26 20 10 st %g3, [ %i0 + 0x10 ] <== NOT EXECUTED if (rtems_rfs_bitmap_match(map[index], RTEMS_RFS_BITMAP_ELEMENT_SET)) 4005bae0: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 4005bae4: 12 80 00 08 bne 4005bb04 <== NOT EXECUTED 4005bae8: c4 29 00 00 stb %g2, [ %g4 ] <== NOT EXECUTED index = rtems_rfs_bitmap_map_index (bit); 4005baec: b3 3e 60 0a sra %i1, 0xa, %i1 <== NOT EXECUTED search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset); 4005baf0: b3 2e 60 02 sll %i1, 2, %i1 <== NOT EXECUTED return RTEMS_RFS_BITMAP_SET_BITS (target, bits); 4005baf4: c2 06 c0 19 ld [ %i3 + %i1 ], %g1 <== NOT EXECUTED search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset); 4005baf8: 85 28 80 1c sll %g2, %i4, %g2 <== NOT EXECUTED return RTEMS_RFS_BITMAP_SET_BITS (target, bits); 4005bafc: 84 28 40 02 andn %g1, %g2, %g2 <== NOT EXECUTED search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset); 4005bb00: c4 26 c0 19 st %g2, [ %i3 + %i1 ] <== NOT EXECUTED return 0; 4005bb04: 90 10 20 00 clr %o0 <== NOT EXECUTED } 4005bb08: 81 c7 e0 08 ret <== NOT EXECUTED 4005bb0c: 91 e8 00 08 restore %g0, %o0, %o0 <== NOT EXECUTED =============================================================================== 4005bba4 : { 4005bba4: 9d e3 bf 98 save %sp, -104, %sp <== NOT EXECUTED rc = rtems_rfs_bitmap_load_map (control, &map); 4005bba8: 92 07 bf fc add %fp, -4, %o1 <== NOT EXECUTED 4005bbac: 7f ff ff 07 call 4005b7c8 <== NOT EXECUTED 4005bbb0: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 4005bbb4: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005bbb8: 24 80 00 04 ble,a 4005bbc8 <== NOT EXECUTED 4005bbbc: c2 06 20 0c ld [ %i0 + 0xc ], %g1 <== NOT EXECUTED } 4005bbc0: 81 c7 e0 08 ret <== NOT EXECUTED 4005bbc4: 91 e8 00 08 restore %g0, %o0, %o0 <== NOT EXECUTED if (bit >= control->size) 4005bbc8: 80 a0 40 19 cmp %g1, %i1 <== NOT EXECUTED 4005bbcc: 08 bf ff fd bleu 4005bbc0 <== NOT EXECUTED 4005bbd0: 90 10 20 16 mov 0x16, %o0 <== NOT EXECUTED index = rtems_rfs_bitmap_map_index (bit); 4005bbd4: 83 3e 60 05 sra %i1, 5, %g1 <== NOT EXECUTED return RTEMS_RFS_BITMAP_TEST_BIT (target, bit); 4005bbd8: c4 07 bf fc ld [ %fp + -4 ], %g2 <== NOT EXECUTED *state = rtems_rfs_bitmap_test (map[index], bit); 4005bbdc: 83 28 60 02 sll %g1, 2, %g1 <== NOT EXECUTED return RTEMS_RFS_BITMAP_TEST_BIT (target, bit); 4005bbe0: c4 00 80 01 ld [ %g2 + %g1 ], %g2 <== NOT EXECUTED 4005bbe4: 82 10 20 01 mov 1, %g1 <== NOT EXECUTED return 0; 4005bbe8: 90 10 20 00 clr %o0 <== NOT EXECUTED return RTEMS_RFS_BITMAP_TEST_BIT (target, bit); 4005bbec: b3 28 40 19 sll %g1, %i1, %i1 <== NOT EXECUTED 4005bbf0: b2 0e 40 02 and %i1, %g2, %i1 <== NOT EXECUTED 4005bbf4: 80 a0 00 19 cmp %g0, %i1 <== NOT EXECUTED 4005bbf8: 82 60 3f ff subx %g0, -1, %g1 <== NOT EXECUTED 4005bbfc: c2 2e 80 00 stb %g1, [ %i2 ] <== NOT EXECUTED } 4005bc00: 81 c7 e0 08 ret <== NOT EXECUTED 4005bc04: 91 e8 00 08 restore %g0, %o0, %o0 <== NOT EXECUTED =============================================================================== 4005bed8 : rtems_rfs_bitmap_open (rtems_rfs_bitmap_control* control, rtems_rfs_file_system* fs, rtems_rfs_buffer_handle* buffer, size_t size, rtems_rfs_buffer_block block) { 4005bed8: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED size_t elements = rtems_rfs_bitmap_elements (size); control->buffer = buffer; 4005bedc: f4 26 00 00 st %i2, [ %i0 ] <== NOT EXECUTED size_t elements = rtems_rfs_bitmap_elements (size); 4005bee0: 90 06 ff ff add %i3, -1, %o0 <== NOT EXECUTED control->fs = fs; 4005bee4: f2 26 20 04 st %i1, [ %i0 + 4 ] <== NOT EXECUTED control->block = block; control->size = size; elements = rtems_rfs_bitmap_elements (elements); 4005bee8: 91 32 20 0a srl %o0, 0xa, %o0 <== NOT EXECUTED control->block = block; 4005beec: f8 26 20 08 st %i4, [ %i0 + 8 ] <== NOT EXECUTED elements = rtems_rfs_bitmap_elements (elements); 4005bef0: 90 02 20 01 inc %o0 <== NOT EXECUTED control->size = size; 4005bef4: f6 26 20 0c st %i3, [ %i0 + 0xc ] <== NOT EXECUTED control->search_bits = malloc (elements * sizeof (rtems_rfs_bitmap_element)); 4005bef8: 7f fe bf a5 call 4000bd8c <== NOT EXECUTED 4005befc: 91 2a 20 02 sll %o0, 2, %o0 <== NOT EXECUTED if (!control->search_bits) 4005bf00: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005bf04: 02 80 00 04 be 4005bf14 <== NOT EXECUTED 4005bf08: d0 26 20 14 st %o0, [ %i0 + 0x14 ] <== NOT EXECUTED return ENOMEM; return rtems_rfs_bitmap_create_search (control); 4005bf0c: 7f ff ff b2 call 4005bdd4 <== NOT EXECUTED 4005bf10: 81 e8 00 00 restore <== NOT EXECUTED } 4005bf14: 81 c7 e0 08 ret <== NOT EXECUTED 4005bf18: 91 e8 20 0c restore %g0, 0xc, %o0 <== NOT EXECUTED =============================================================================== 40050278 : { 40050278: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED bpos->bno = pos / rtems_rfs_fs_block_size (fs); 4005027c: f0 06 20 08 ld [ %i0 + 8 ], %i0 <== NOT EXECUTED 40050280: 94 10 20 00 clr %o2 <== NOT EXECUTED 40050284: 96 10 00 18 mov %i0, %o3 <== NOT EXECUTED 40050288: 90 10 00 19 mov %i1, %o0 <== NOT EXECUTED 4005028c: 40 00 a7 51 call 40079fd0 <__udivdi3> <== NOT EXECUTED 40050290: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 40050294: d2 26 c0 00 st %o1, [ %i3 ] <== NOT EXECUTED bpos->boff = pos % rtems_rfs_fs_block_size (fs); 40050298: 94 10 20 00 clr %o2 <== NOT EXECUTED 4005029c: 96 10 00 18 mov %i0, %o3 <== NOT EXECUTED 400502a0: 90 10 00 19 mov %i1, %o0 <== NOT EXECUTED 400502a4: 40 00 a7 c4 call 4007a1b4 <__umoddi3> <== NOT EXECUTED 400502a8: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 400502ac: d2 26 e0 04 st %o1, [ %i3 + 4 ] <== NOT EXECUTED } 400502b0: 81 c7 e0 08 ret <== NOT EXECUTED 400502b4: 81 e8 00 00 restore <== NOT EXECUTED =============================================================================== 400502b8 : return (bpos->bno * rtems_rfs_fs_block_size (fs)) + bpos->boff; 400502b8: c4 02 20 08 ld [ %o0 + 8 ], %g2 <== NOT EXECUTED 400502bc: c2 02 40 00 ld [ %o1 ], %g1 <== NOT EXECUTED 400502c0: d2 02 60 04 ld [ %o1 + 4 ], %o1 <== NOT EXECUTED 400502c4: 82 58 40 02 smul %g1, %g2, %g1 <== NOT EXECUTED } 400502c8: 90 10 20 00 clr %o0 <== NOT EXECUTED 400502cc: 81 c3 e0 08 retl <== NOT EXECUTED 400502d0: 92 00 40 09 add %g1, %o1, %o1 <== NOT EXECUTED =============================================================================== 400502d4 : if (size->count == 0) 400502d4: c4 02 40 00 ld [ %o1 ], %g2 <== NOT EXECUTED return 0; 400502d8: 98 10 20 00 clr %o4 <== NOT EXECUTED if (size->count == 0) 400502dc: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 400502e0: 02 80 00 0b be 4005030c <== NOT EXECUTED 400502e4: 9a 10 20 00 clr %o5 <== NOT EXECUTED if (size->offset == 0) 400502e8: c2 02 60 04 ld [ %o1 + 4 ], %g1 <== NOT EXECUTED 400502ec: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 400502f0: 02 80 00 0a be 40050318 <== NOT EXECUTED 400502f4: c6 02 20 08 ld [ %o0 + 8 ], %g3 <== NOT EXECUTED return (((uint64_t) (size->count - 1)) * block_size) + offset; 400502f8: 84 00 bf ff add %g2, -1, %g2 <== NOT EXECUTED 400502fc: 86 50 80 03 umul %g2, %g3, %g3 <== NOT EXECUTED 40050300: 85 40 00 00 rd %y, %g2 <== NOT EXECUTED 40050304: 9a 80 c0 01 addcc %g3, %g1, %o5 <== NOT EXECUTED 40050308: 98 40 a0 00 addx %g2, 0, %o4 <== NOT EXECUTED } 4005030c: 90 10 00 0c mov %o4, %o0 <== NOT EXECUTED 40050310: 81 c3 e0 08 retl <== NOT EXECUTED 40050314: 92 10 00 0d mov %o5, %o1 <== NOT EXECUTED offset = rtems_rfs_fs_block_size (fs); 40050318: 10 bf ff f8 b 400502f8 <== NOT EXECUTED 4005031c: 82 10 00 03 mov %g3, %g1 <== NOT EXECUTED =============================================================================== 4005049c : { 4005049c: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED if (map->dirty && map->inode) 400504a0: c2 0e 40 00 ldub [ %i1 ], %g1 <== NOT EXECUTED 400504a4: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 400504a8: 02 80 00 5f be 40050624 <== NOT EXECUTED 400504ac: ba 10 00 18 mov %i0, %i5 <== NOT EXECUTED 400504b0: d2 06 60 04 ld [ %i1 + 4 ], %o1 <== NOT EXECUTED 400504b4: 80 a2 60 00 cmp %o1, 0 <== NOT EXECUTED 400504b8: 02 80 00 5b be 40050624 <== NOT EXECUTED 400504bc: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED brc = rtems_rfs_inode_load (fs, map->inode); 400504c0: 40 00 17 0b call 400560ec <== NOT EXECUTED 400504c4: b8 06 60 38 add %i1, 0x38, %i4 <== NOT EXECUTED if (brc > 0) 400504c8: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400504cc: 14 80 00 58 bg 4005062c <== NOT EXECUTED 400504d0: b0 10 00 08 mov %o0, %i0 <== NOT EXECUTED 400504d4: 9e 10 3f f8 mov -8, %o7 <== NOT EXECUTED 400504d8: 84 06 60 24 add %i1, 0x24, %g2 <== NOT EXECUTED 400504dc: 9e 23 c0 19 sub %o7, %i1, %o7 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (&handle->buffer); 400504e0: b0 10 20 01 mov 1, %i0 <== NOT EXECUTED rtems_rfs_inode_set_block (map->inode, b, map->blocks[b]); 400504e4: c2 06 60 04 ld [ %i1 + 4 ], %g1 <== NOT EXECUTED 400504e8: c6 00 80 00 ld [ %g2 ], %g3 <== NOT EXECUTED rtems_rfs_write_u32 (&handle->node->data.blocks[block], bno); 400504ec: f6 00 60 0c ld [ %g1 + 0xc ], %i3 <== NOT EXECUTED 400504f0: 88 03 c0 02 add %o7, %g2, %g4 <== NOT EXECUTED 400504f4: b5 30 e0 18 srl %g3, 0x18, %i2 <== NOT EXECUTED 400504f8: f4 2e c0 04 stb %i2, [ %i3 + %g4 ] <== NOT EXECUTED 400504fc: b5 30 e0 10 srl %g3, 0x10, %i2 <== NOT EXECUTED 40050500: f6 00 60 0c ld [ %g1 + 0xc ], %i3 <== NOT EXECUTED 40050504: b6 06 c0 04 add %i3, %g4, %i3 <== NOT EXECUTED 40050508: f4 2e e0 01 stb %i2, [ %i3 + 1 ] <== NOT EXECUTED 4005050c: b5 30 e0 08 srl %g3, 8, %i2 <== NOT EXECUTED 40050510: f6 00 60 0c ld [ %g1 + 0xc ], %i3 <== NOT EXECUTED 40050514: b6 06 c0 04 add %i3, %g4, %i3 <== NOT EXECUTED 40050518: f4 2e e0 02 stb %i2, [ %i3 + 2 ] <== NOT EXECUTED 4005051c: 84 00 a0 04 add %g2, 4, %g2 <== NOT EXECUTED 40050520: f6 00 60 0c ld [ %g1 + 0xc ], %i3 <== NOT EXECUTED 40050524: 88 06 c0 04 add %i3, %g4, %g4 <== NOT EXECUTED 40050528: c6 29 20 03 stb %g3, [ %g4 + 3 ] <== NOT EXECUTED for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++) 4005052c: 80 a7 00 02 cmp %i4, %g2 <== NOT EXECUTED 40050530: 12 bf ff ed bne 400504e4 <== NOT EXECUTED 40050534: f0 28 60 10 stb %i0, [ %g1 + 0x10 ] <== NOT EXECUTED rtems_rfs_inode_set_block_count (map->inode, map->size.count); 40050538: c2 06 60 04 ld [ %i1 + 4 ], %g1 <== NOT EXECUTED 4005053c: c4 06 60 08 ld [ %i1 + 8 ], %g2 <== NOT EXECUTED rtems_rfs_write_u32 (&handle->node->block_count, block_count); 40050540: c6 00 60 0c ld [ %g1 + 0xc ], %g3 <== NOT EXECUTED 40050544: 89 30 a0 18 srl %g2, 0x18, %g4 <== NOT EXECUTED 40050548: c8 28 e0 0c stb %g4, [ %g3 + 0xc ] <== NOT EXECUTED 4005054c: 89 30 a0 10 srl %g2, 0x10, %g4 <== NOT EXECUTED 40050550: c6 00 60 0c ld [ %g1 + 0xc ], %g3 <== NOT EXECUTED 40050554: c8 28 e0 0d stb %g4, [ %g3 + 0xd ] <== NOT EXECUTED 40050558: 89 30 a0 08 srl %g2, 8, %g4 <== NOT EXECUTED 4005055c: c6 00 60 0c ld [ %g1 + 0xc ], %g3 <== NOT EXECUTED 40050560: c8 28 e0 0e stb %g4, [ %g3 + 0xe ] <== NOT EXECUTED brc = rtems_rfs_inode_unload (fs, map->inode, true); 40050564: 94 10 20 01 mov 1, %o2 <== NOT EXECUTED 40050568: c6 00 60 0c ld [ %g1 + 0xc ], %g3 <== NOT EXECUTED 4005056c: c4 28 e0 0f stb %g2, [ %g3 + 0xf ] <== NOT EXECUTED 40050570: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED rtems_rfs_inode_set_block_offset (map->inode, map->size.offset); 40050574: c6 06 60 04 ld [ %i1 + 4 ], %g3 <== NOT EXECUTED rtems_rfs_write_u16 (&handle->node->block_offset, block_offset); 40050578: c8 0e 60 0e ldub [ %i1 + 0xe ], %g4 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (&handle->buffer); 4005057c: f0 28 60 10 stb %i0, [ %g1 + 0x10 ] <== NOT EXECUTED rtems_rfs_write_u16 (&handle->node->block_offset, block_offset); 40050580: c2 00 e0 0c ld [ %g3 + 0xc ], %g1 <== NOT EXECUTED 40050584: c4 06 60 0c ld [ %i1 + 0xc ], %g2 <== NOT EXECUTED 40050588: c8 28 60 0a stb %g4, [ %g1 + 0xa ] <== NOT EXECUTED 4005058c: c2 00 e0 0c ld [ %g3 + 0xc ], %g1 <== NOT EXECUTED 40050590: c4 28 60 0b stb %g2, [ %g1 + 0xb ] <== NOT EXECUTED rtems_rfs_inode_set_last_map_block (map->inode, map->last_map_block); 40050594: c4 06 60 04 ld [ %i1 + 4 ], %g2 <== NOT EXECUTED 40050598: c2 06 60 1c ld [ %i1 + 0x1c ], %g1 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (&handle->buffer); 4005059c: f0 28 e0 10 stb %i0, [ %g3 + 0x10 ] <== NOT EXECUTED rtems_rfs_write_u32 (&handle->node->last_map_block, last_map_block); 400505a0: 89 30 60 18 srl %g1, 0x18, %g4 <== NOT EXECUTED 400505a4: c6 00 a0 0c ld [ %g2 + 0xc ], %g3 <== NOT EXECUTED 400505a8: c8 28 e0 30 stb %g4, [ %g3 + 0x30 ] <== NOT EXECUTED 400505ac: 89 30 60 10 srl %g1, 0x10, %g4 <== NOT EXECUTED 400505b0: c6 00 a0 0c ld [ %g2 + 0xc ], %g3 <== NOT EXECUTED 400505b4: c8 28 e0 31 stb %g4, [ %g3 + 0x31 ] <== NOT EXECUTED 400505b8: 89 30 60 08 srl %g1, 8, %g4 <== NOT EXECUTED 400505bc: c6 00 a0 0c ld [ %g2 + 0xc ], %g3 <== NOT EXECUTED 400505c0: c8 28 e0 32 stb %g4, [ %g3 + 0x32 ] <== NOT EXECUTED 400505c4: c6 00 a0 0c ld [ %g2 + 0xc ], %g3 <== NOT EXECUTED 400505c8: c2 28 e0 33 stb %g1, [ %g3 + 0x33 ] <== NOT EXECUTED rtems_rfs_inode_set_last_data_block (map->inode, map->last_data_block); 400505cc: c2 06 60 04 ld [ %i1 + 4 ], %g1 <== NOT EXECUTED 400505d0: c6 06 60 20 ld [ %i1 + 0x20 ], %g3 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (&handle->buffer); 400505d4: f0 28 a0 10 stb %i0, [ %g2 + 0x10 ] <== NOT EXECUTED * @param[in] block_count is the last data block number. */ static inline void rtems_rfs_inode_set_last_data_block (rtems_rfs_inode_handle* handle, uint32_t last_data_block) { rtems_rfs_write_u32 (&handle->node->last_data_block, last_data_block); 400505d8: 89 30 e0 18 srl %g3, 0x18, %g4 <== NOT EXECUTED 400505dc: c4 00 60 0c ld [ %g1 + 0xc ], %g2 <== NOT EXECUTED 400505e0: c8 28 a0 34 stb %g4, [ %g2 + 0x34 ] <== NOT EXECUTED 400505e4: 89 30 e0 10 srl %g3, 0x10, %g4 <== NOT EXECUTED 400505e8: c4 00 60 0c ld [ %g1 + 0xc ], %g2 <== NOT EXECUTED 400505ec: c8 28 a0 35 stb %g4, [ %g2 + 0x35 ] <== NOT EXECUTED 400505f0: 89 30 e0 08 srl %g3, 8, %g4 <== NOT EXECUTED 400505f4: c4 00 60 0c ld [ %g1 + 0xc ], %g2 <== NOT EXECUTED 400505f8: c8 28 a0 36 stb %g4, [ %g2 + 0x36 ] <== NOT EXECUTED 400505fc: c4 00 60 0c ld [ %g1 + 0xc ], %g2 <== NOT EXECUTED 40050600: c6 28 a0 37 stb %g3, [ %g2 + 0x37 ] <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (&handle->buffer); 40050604: f0 28 60 10 stb %i0, [ %g1 + 0x10 ] <== NOT EXECUTED brc = rtems_rfs_inode_unload (fs, map->inode, true); 40050608: 40 00 17 1f call 40056284 <== NOT EXECUTED 4005060c: d2 06 60 04 ld [ %i1 + 4 ], %o1 <== NOT EXECUTED map->dirty = false; 40050610: c0 2e 40 00 clrb [ %i1 ] <== NOT EXECUTED 40050614: 82 38 00 08 xnor %g0, %o0, %g1 <== NOT EXECUTED 40050618: 83 38 60 1f sra %g1, 0x1f, %g1 <== NOT EXECUTED 4005061c: 10 80 00 04 b 4005062c <== NOT EXECUTED 40050620: b0 0a 00 01 and %o0, %g1, %i0 <== NOT EXECUTED int rc = 0; 40050624: b0 10 20 00 clr %i0 <== NOT EXECUTED 40050628: b8 06 60 38 add %i1, 0x38, %i4 <== NOT EXECUTED map->inode = NULL; 4005062c: c0 26 60 04 clr [ %i1 + 4 ] <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40050630: 92 10 00 1c mov %i4, %o1 <== NOT EXECUTED 40050634: 40 00 04 1c call 400516a4 <== NOT EXECUTED 40050638: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED handle->dirty = false; 4005063c: c0 2e 60 38 clrb [ %i1 + 0x38 ] <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40050640: 92 06 60 44 add %i1, 0x44, %o1 <== NOT EXECUTED handle->bnum = 0; 40050644: c0 26 60 3c clr [ %i1 + 0x3c ] <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40050648: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED 4005064c: 40 00 04 16 call 400516a4 <== NOT EXECUTED 40050650: c0 26 60 40 clr [ %i1 + 0x40 ] <== NOT EXECUTED handle->dirty = false; 40050654: c0 2e 60 44 clrb [ %i1 + 0x44 ] <== NOT EXECUTED handle->bnum = 0; 40050658: c0 26 60 48 clr [ %i1 + 0x48 ] <== NOT EXECUTED handle->buffer = NULL; 4005065c: c0 26 60 4c clr [ %i1 + 0x4c ] <== NOT EXECUTED } 40050660: 81 c7 e0 08 ret <== NOT EXECUTED 40050664: 81 e8 00 00 restore <== NOT EXECUTED =============================================================================== 40050668 : { 40050668: 9d e3 bf 98 save %sp, -104, %sp <== NOT EXECUTED *block = 0; 4005066c: c0 26 c0 00 clr [ %i3 ] <== NOT EXECUTED if (rtems_rfs_block_pos_block_past_end (bpos, &map->size)) 40050670: c2 06 80 00 ld [ %i2 ], %g1 <== NOT EXECUTED 40050674: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 40050678: 02 80 00 05 be 4005068c <== NOT EXECUTED 4005067c: c4 06 60 08 ld [ %i1 + 8 ], %g2 <== NOT EXECUTED 40050680: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 40050684: 02 80 00 1a be 400506ec <== NOT EXECUTED 40050688: 90 10 20 06 mov 6, %o0 <== NOT EXECUTED 4005068c: 80 a0 40 02 cmp %g1, %g2 <== NOT EXECUTED 40050690: 1a 80 00 17 bcc 400506ec <== NOT EXECUTED 40050694: 90 10 20 06 mov 6, %o0 <== NOT EXECUTED if ((bpos->bno == map->bpos.bno) && (map->bpos.block != 0)) 40050698: c6 06 60 10 ld [ %i1 + 0x10 ], %g3 <== NOT EXECUTED 4005069c: 80 a0 40 03 cmp %g1, %g3 <== NOT EXECUTED 400506a0: 22 80 00 39 be,a 40050784 <== NOT EXECUTED 400506a4: c6 06 60 18 ld [ %i1 + 0x18 ], %g3 <== NOT EXECUTED if (map->size.count <= RTEMS_RFS_INODE_BLOCKS) 400506a8: 80 a0 a0 05 cmp %g2, 5 <== NOT EXECUTED 400506ac: 38 80 00 12 bgu,a 400506f4 <== NOT EXECUTED 400506b0: c6 06 20 34 ld [ %i0 + 0x34 ], %g3 <== NOT EXECUTED *block = map->blocks[bpos->bno]; 400506b4: 82 00 60 08 add %g1, 8, %g1 <== NOT EXECUTED 400506b8: 83 28 60 02 sll %g1, 2, %g1 <== NOT EXECUTED 400506bc: 82 06 40 01 add %i1, %g1, %g1 <== NOT EXECUTED 400506c0: c2 00 60 04 ld [ %g1 + 4 ], %g1 <== NOT EXECUTED 400506c4: c2 26 c0 00 st %g1, [ %i3 ] <== NOT EXECUTED map->bpos.block = *block; 400506c8: 90 10 20 00 clr %o0 <== NOT EXECUTED rtems_rfs_block_copy_bpos (&map->bpos, bpos); 400506cc: c2 06 a0 04 ld [ %i2 + 4 ], %g1 <== NOT EXECUTED 400506d0: c4 06 80 00 ld [ %i2 ], %g2 <== NOT EXECUTED 400506d4: c6 06 a0 08 ld [ %i2 + 8 ], %g3 <== NOT EXECUTED 400506d8: c6 26 60 18 st %g3, [ %i1 + 0x18 ] <== NOT EXECUTED 400506dc: c4 26 60 10 st %g2, [ %i1 + 0x10 ] <== NOT EXECUTED 400506e0: c2 26 60 14 st %g1, [ %i1 + 0x14 ] <== NOT EXECUTED map->bpos.block = *block; 400506e4: c2 06 c0 00 ld [ %i3 ], %g1 <== NOT EXECUTED 400506e8: c2 26 60 18 st %g1, [ %i1 + 0x18 ] <== NOT EXECUTED } 400506ec: 81 c7 e0 08 ret <== NOT EXECUTED 400506f0: 91 e8 00 08 restore %g0, %o0, %o0 <== NOT EXECUTED direct = bpos->bno % fs->blocks_per_block; 400506f4: 81 80 20 00 wr %g0, %y <== NOT EXECUTED 400506f8: 01 00 00 00 nop <== NOT EXECUTED 400506fc: 01 00 00 00 nop <== NOT EXECUTED 40050700: 01 00 00 00 nop <== NOT EXECUTED 40050704: 96 70 40 03 udiv %g1, %g3, %o3 <== NOT EXECUTED singly = bpos->bno / fs->blocks_per_block; 40050708: d6 27 bf fc st %o3, [ %fp + -4 ] <== NOT EXECUTED direct = bpos->bno % fs->blocks_per_block; 4005070c: ba 5a c0 03 smul %o3, %g3, %i5 <== NOT EXECUTED if (map->size.count <= fs->block_map_singly_blocks) 40050710: c8 06 20 38 ld [ %i0 + 0x38 ], %g4 <== NOT EXECUTED 40050714: 80 a1 00 02 cmp %g4, %g2 <== NOT EXECUTED 40050718: 1a 80 00 20 bcc 40050798 <== NOT EXECUTED 4005071c: ba 20 40 1d sub %g1, %i5, %i5 <== NOT EXECUTED singly %= fs->blocks_per_block; 40050720: 81 80 20 00 wr %g0, %y <== NOT EXECUTED 40050724: 01 00 00 00 nop <== NOT EXECUTED 40050728: 01 00 00 00 nop <== NOT EXECUTED 4005072c: 01 00 00 00 nop <== NOT EXECUTED 40050730: 82 72 c0 03 udiv %o3, %g3, %g1 <== NOT EXECUTED 40050734: 86 58 40 03 smul %g1, %g3, %g3 <== NOT EXECUTED 40050738: 96 22 c0 03 sub %o3, %g3, %o3 <== NOT EXECUTED 4005073c: d6 27 bf fc st %o3, [ %fp + -4 ] <== NOT EXECUTED if (map->size.count < fs->block_map_doubly_blocks) 40050740: c6 06 20 3c ld [ %i0 + 0x3c ], %g3 <== NOT EXECUTED 40050744: 80 a0 c0 02 cmp %g3, %g2 <== NOT EXECUTED 40050748: 08 bf ff e9 bleu 400506ec <== NOT EXECUTED 4005074c: 90 10 20 06 mov 6, %o0 <== NOT EXECUTED rc = rtems_rfs_block_find_indirect (fs, 40050750: 82 00 60 08 add %g1, 8, %g1 <== NOT EXECUTED 40050754: 83 28 60 02 sll %g1, 2, %g1 <== NOT EXECUTED 40050758: 82 06 40 01 add %i1, %g1, %g1 <== NOT EXECUTED 4005075c: d4 00 60 04 ld [ %g1 + 4 ], %o2 <== NOT EXECUTED 40050760: 98 07 bf fc add %fp, -4, %o4 <== NOT EXECUTED 40050764: 92 06 60 44 add %i1, 0x44, %o1 <== NOT EXECUTED 40050768: 7f ff fe 5e call 400500e0 <== NOT EXECUTED 4005076c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc == 0) 40050770: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40050774: 12 bf ff de bne 400506ec <== NOT EXECUTED 40050778: d4 07 bf fc ld [ %fp + -4 ], %o2 <== NOT EXECUTED rc = rtems_rfs_block_find_indirect (fs, 4005077c: 10 80 00 0c b 400507ac <== NOT EXECUTED 40050780: 98 10 00 1b mov %i3, %o4 <== NOT EXECUTED if ((bpos->bno == map->bpos.bno) && (map->bpos.block != 0)) 40050784: 80 a0 e0 00 cmp %g3, 0 <== NOT EXECUTED 40050788: 02 bf ff c9 be 400506ac <== NOT EXECUTED 4005078c: 80 a0 a0 05 cmp %g2, 5 <== NOT EXECUTED *block = map->bpos.block; 40050790: 10 bf ff ce b 400506c8 <== NOT EXECUTED 40050794: c6 26 c0 00 st %g3, [ %i3 ] <== NOT EXECUTED rc = rtems_rfs_block_find_indirect (fs, 40050798: 96 02 e0 08 add %o3, 8, %o3 <== NOT EXECUTED 4005079c: 97 2a e0 02 sll %o3, 2, %o3 <== NOT EXECUTED 400507a0: 96 06 40 0b add %i1, %o3, %o3 <== NOT EXECUTED 400507a4: d4 02 e0 04 ld [ %o3 + 4 ], %o2 <== NOT EXECUTED rc = rtems_rfs_block_find_indirect (fs, 400507a8: 98 10 00 1b mov %i3, %o4 <== NOT EXECUTED 400507ac: 96 10 00 1d mov %i5, %o3 <== NOT EXECUTED 400507b0: 92 06 60 38 add %i1, 0x38, %o1 <== NOT EXECUTED 400507b4: 7f ff fe 4b call 400500e0 <== NOT EXECUTED 400507b8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc == 0) 400507bc: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400507c0: 22 bf ff c3 be,a 400506cc <== NOT EXECUTED 400507c4: 90 10 20 00 clr %o0 <== NOT EXECUTED 400507c8: 30 bf ff c9 b,a 400506ec <== NOT EXECUTED =============================================================================== 40050f80 : int rtems_rfs_block_map_free_all (rtems_rfs_file_system* fs, rtems_rfs_block_map* map) { return rtems_rfs_block_map_shrink (fs, map, map->size.count); 40050f80: d4 02 60 08 ld [ %o1 + 8 ], %o2 <== NOT EXECUTED 40050f84: 82 13 c0 00 mov %o7, %g1 <== NOT EXECUTED 40050f88: 7f ff ff 39 call 40050c6c <== NOT EXECUTED 40050f8c: 9e 10 40 00 mov %g1, %o7 <== NOT EXECUTED =============================================================================== 40050878 : { 40050878: 9d e3 bf 98 save %sp, -104, %sp <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW)) 4005087c: 90 10 20 00 clr %o0 <== NOT EXECUTED 40050880: 40 00 1d c8 call 40057fa0 <== NOT EXECUTED 40050884: 13 00 00 08 sethi %hi(0x2000), %o1 <== NOT EXECUTED 40050888: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005088c: 32 80 00 eb bne,a 40050c38 <== NOT EXECUTED 40050890: d4 06 60 08 ld [ %i1 + 8 ], %o2 <== NOT EXECUTED if ((map->size.count + blocks) >= rtems_rfs_fs_max_block_map_blocks (fs)) 40050894: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED 40050898: c4 06 20 3c ld [ %i0 + 0x3c ], %g2 <== NOT EXECUTED 4005089c: 82 06 80 01 add %i2, %g1, %g1 <== NOT EXECUTED 400508a0: 80 a0 40 02 cmp %g1, %g2 <== NOT EXECUTED 400508a4: 1a 80 00 68 bcc 40050a44 <== NOT EXECUTED 400508a8: b8 10 20 1b mov 0x1b, %i4 <== NOT EXECUTED for (b = 0; b < blocks; b++) 400508ac: 80 a6 a0 00 cmp %i2, 0 <== NOT EXECUTED 400508b0: 02 80 00 65 be 40050a44 <== NOT EXECUTED 400508b4: b8 10 20 00 clr %i4 <== NOT EXECUTED 400508b8: d2 06 60 20 ld [ %i1 + 0x20 ], %o1 <== NOT EXECUTED 400508bc: a8 10 20 00 clr %l4 <== NOT EXECUTED rtems_rfs_block_set_number (&map->singly_buffer, direct, block); 400508c0: a0 10 20 01 mov 1, %l0 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, 400508c4: a4 06 60 44 add %i1, 0x44, %l2 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 400508c8: 10 80 00 10 b 40050908 <== NOT EXECUTED 400508cc: a2 06 60 38 add %i1, 0x38, %l1 <== NOT EXECUTED map->blocks[map->size.count] = block; 400508d0: 84 00 60 08 add %g1, 8, %g2 <== NOT EXECUTED 400508d4: 85 28 a0 02 sll %g2, 2, %g2 <== NOT EXECUTED 400508d8: 84 06 40 02 add %i1, %g2, %g2 <== NOT EXECUTED 400508dc: d2 20 a0 04 st %o1, [ %g2 + 4 ] <== NOT EXECUTED map->size.count++; 400508e0: 82 00 60 01 inc %g1 <== NOT EXECUTED map->size.offset = 0; 400508e4: c0 26 60 0c clr [ %i1 + 0xc ] <== NOT EXECUTED if (b == 0) 400508e8: 80 a5 20 00 cmp %l4, 0 <== NOT EXECUTED 400508ec: 02 80 00 4f be 40050a28 <== NOT EXECUTED 400508f0: c2 26 60 08 st %g1, [ %i1 + 8 ] <== NOT EXECUTED map->last_data_block = block; 400508f4: d2 26 60 20 st %o1, [ %i1 + 0x20 ] <== NOT EXECUTED for (b = 0; b < blocks; b++) 400508f8: a8 05 20 01 inc %l4 <== NOT EXECUTED 400508fc: 80 a5 00 1a cmp %l4, %i2 <== NOT EXECUTED 40050900: 02 80 00 50 be 40050a40 <== NOT EXECUTED 40050904: e0 2e 40 00 stb %l0, [ %i1 ] <== NOT EXECUTED rc = rtems_rfs_group_bitmap_alloc (fs, map->last_data_block, 40050908: 96 07 bf f8 add %fp, -8, %o3 <== NOT EXECUTED 4005090c: 94 10 20 00 clr %o2 <== NOT EXECUTED 40050910: 40 00 14 81 call 40055b14 <== NOT EXECUTED 40050914: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40050918: b8 92 20 00 orcc %o0, 0, %i4 <== NOT EXECUTED 4005091c: 14 80 00 4a bg 40050a44 <== NOT EXECUTED 40050920: 01 00 00 00 nop <== NOT EXECUTED if (map->size.count < RTEMS_RFS_INODE_BLOCKS) 40050924: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED 40050928: 80 a0 60 04 cmp %g1, 4 <== NOT EXECUTED 4005092c: 08 bf ff e9 bleu 400508d0 <== NOT EXECUTED 40050930: d2 07 bf f8 ld [ %fp + -8 ], %o1 <== NOT EXECUTED direct = map->size.count % fs->blocks_per_block; 40050934: e6 06 20 34 ld [ %i0 + 0x34 ], %l3 <== NOT EXECUTED if (map->size.count < fs->block_map_singly_blocks) 40050938: c4 06 20 38 ld [ %i0 + 0x38 ], %g2 <== NOT EXECUTED direct = map->size.count % fs->blocks_per_block; 4005093c: 81 80 20 00 wr %g0, %y <== NOT EXECUTED 40050940: 01 00 00 00 nop <== NOT EXECUTED 40050944: 01 00 00 00 nop <== NOT EXECUTED 40050948: 01 00 00 00 nop <== NOT EXECUTED 4005094c: 96 70 40 13 udiv %g1, %l3, %o3 <== NOT EXECUTED if (map->size.count < fs->block_map_singly_blocks) 40050950: 80 a0 40 02 cmp %g1, %g2 <== NOT EXECUTED direct = map->size.count % fs->blocks_per_block; 40050954: ba 5a c0 13 smul %o3, %l3, %i5 <== NOT EXECUTED if (map->size.count < fs->block_map_singly_blocks) 40050958: 1a 80 00 3d bcc 40050a4c <== NOT EXECUTED 4005095c: ba 20 40 1d sub %g1, %i5, %i5 <== NOT EXECUTED if ((direct == 0) || 40050960: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED 40050964: 02 80 00 06 be 4005097c <== NOT EXECUTED 40050968: 80 a2 e0 00 cmp %o3, 0 <== NOT EXECUTED 4005096c: 12 80 00 95 bne 40050bc0 <== NOT EXECUTED 40050970: 80 a7 60 05 cmp %i5, 5 <== NOT EXECUTED 40050974: 32 80 00 94 bne,a 40050bc4 <== NOT EXECUTED 40050978: 82 02 e0 08 add %o3, 8, %g1 <== NOT EXECUTED upping = map->size.count == RTEMS_RFS_INODE_BLOCKS; 4005097c: 82 18 60 05 xor %g1, 5, %g1 <== NOT EXECUTED rc = rtems_rfs_block_map_indirect_alloc (fs, map, 40050980: 80 a0 00 01 cmp %g0, %g1 <== NOT EXECUTED &map->blocks[singly], 40050984: 96 02 e0 09 add %o3, 9, %o3 <== NOT EXECUTED rc = rtems_rfs_block_map_indirect_alloc (fs, map, 40050988: 98 60 3f ff subx %g0, -1, %o4 <== NOT EXECUTED &map->blocks[singly], 4005098c: 97 2a e0 02 sll %o3, 2, %o3 <== NOT EXECUTED rc = rtems_rfs_block_map_indirect_alloc (fs, map, 40050990: 94 10 00 11 mov %l1, %o2 <== NOT EXECUTED 40050994: 96 06 40 0b add %i1, %o3, %o3 <== NOT EXECUTED 40050998: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED 4005099c: 7f ff fd 7e call 4004ff94 <== NOT EXECUTED 400509a0: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 400509a4: b8 10 00 08 mov %o0, %i4 <== NOT EXECUTED if (rc > 0) 400509a8: 80 a7 20 00 cmp %i4, 0 <== NOT EXECUTED 400509ac: 14 80 00 aa bg 40050c54 <== NOT EXECUTED 400509b0: d4 07 bf f8 ld [ %fp + -8 ], %o2 <== NOT EXECUTED rtems_rfs_block_set_number (&map->singly_buffer, direct, block); 400509b4: c2 06 60 40 ld [ %i1 + 0x40 ], %g1 <== NOT EXECUTED 400509b8: c4 00 60 1c ld [ %g1 + 0x1c ], %g2 <== NOT EXECUTED 400509bc: c6 0f bf f8 ldub [ %fp + -8 ], %g3 <== NOT EXECUTED 400509c0: 83 2f 60 02 sll %i5, 2, %g1 <== NOT EXECUTED 400509c4: c6 28 80 01 stb %g3, [ %g2 + %g1 ] <== NOT EXECUTED if (b == 0) 400509c8: 80 a5 20 00 cmp %l4, 0 <== NOT EXECUTED rtems_rfs_block_set_number (&map->singly_buffer, direct, block); 400509cc: c4 06 60 40 ld [ %i1 + 0x40 ], %g2 <== NOT EXECUTED 400509d0: c4 00 a0 1c ld [ %g2 + 0x1c ], %g2 <== NOT EXECUTED 400509d4: c6 17 bf f8 lduh [ %fp + -8 ], %g3 <== NOT EXECUTED 400509d8: 84 00 80 01 add %g2, %g1, %g2 <== NOT EXECUTED 400509dc: c6 28 a0 01 stb %g3, [ %g2 + 1 ] <== NOT EXECUTED 400509e0: c4 06 60 40 ld [ %i1 + 0x40 ], %g2 <== NOT EXECUTED 400509e4: c4 00 a0 1c ld [ %g2 + 0x1c ], %g2 <== NOT EXECUTED 400509e8: c6 07 bf f8 ld [ %fp + -8 ], %g3 <== NOT EXECUTED 400509ec: 84 00 80 01 add %g2, %g1, %g2 <== NOT EXECUTED 400509f0: 87 30 e0 08 srl %g3, 8, %g3 <== NOT EXECUTED 400509f4: c6 28 a0 02 stb %g3, [ %g2 + 2 ] <== NOT EXECUTED 400509f8: c4 06 60 40 ld [ %i1 + 0x40 ], %g2 <== NOT EXECUTED 400509fc: c4 00 a0 1c ld [ %g2 + 0x1c ], %g2 <== NOT EXECUTED 40050a00: 82 00 80 01 add %g2, %g1, %g1 <== NOT EXECUTED 40050a04: c4 07 bf f8 ld [ %fp + -8 ], %g2 <== NOT EXECUTED 40050a08: c4 28 60 03 stb %g2, [ %g1 + 3 ] <== NOT EXECUTED 40050a0c: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED map->size.count++; 40050a10: 82 00 60 01 inc %g1 <== NOT EXECUTED rtems_rfs_block_set_number (&map->singly_buffer, direct, block); 40050a14: e0 2e 60 38 stb %l0, [ %i1 + 0x38 ] <== NOT EXECUTED map->size.offset = 0; 40050a18: c0 26 60 0c clr [ %i1 + 0xc ] <== NOT EXECUTED map->size.count++; 40050a1c: c2 26 60 08 st %g1, [ %i1 + 8 ] <== NOT EXECUTED if (b == 0) 40050a20: 12 bf ff b5 bne 400508f4 <== NOT EXECUTED 40050a24: d2 07 bf f8 ld [ %fp + -8 ], %o1 <== NOT EXECUTED *new_block = block; 40050a28: d2 26 c0 00 st %o1, [ %i3 ] <== NOT EXECUTED for (b = 0; b < blocks; b++) 40050a2c: a8 05 20 01 inc %l4 <== NOT EXECUTED map->last_data_block = block; 40050a30: d2 26 60 20 st %o1, [ %i1 + 0x20 ] <== NOT EXECUTED for (b = 0; b < blocks; b++) 40050a34: 80 a5 00 1a cmp %l4, %i2 <== NOT EXECUTED 40050a38: 12 bf ff b4 bne 40050908 <== NOT EXECUTED 40050a3c: e0 2e 40 00 stb %l0, [ %i1 ] <== NOT EXECUTED return 0; 40050a40: b8 10 20 00 clr %i4 <== NOT EXECUTED } 40050a44: 81 c7 e0 08 ret <== NOT EXECUTED 40050a48: 91 e8 00 1c restore %g0, %i4, %o0 <== NOT EXECUTED doubly = singly / fs->blocks_per_block; 40050a4c: 81 80 20 00 wr %g0, %y <== NOT EXECUTED 40050a50: 01 00 00 00 nop <== NOT EXECUTED 40050a54: 01 00 00 00 nop <== NOT EXECUTED 40050a58: 01 00 00 00 nop <== NOT EXECUTED 40050a5c: aa 72 c0 13 udiv %o3, %l3, %l5 <== NOT EXECUTED if (direct == 0) 40050a60: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED singly %= fs->blocks_per_block; 40050a64: a6 5d 40 13 smul %l5, %l3, %l3 <== NOT EXECUTED if (direct == 0) 40050a68: 12 80 00 37 bne 40050b44 <== NOT EXECUTED 40050a6c: a6 22 c0 13 sub %o3, %l3, %l3 <== NOT EXECUTED rc = rtems_rfs_block_map_indirect_alloc (fs, map, 40050a70: 98 10 20 00 clr %o4 <== NOT EXECUTED 40050a74: 96 07 bf fc add %fp, -4, %o3 <== NOT EXECUTED 40050a78: 94 10 00 11 mov %l1, %o2 <== NOT EXECUTED 40050a7c: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED 40050a80: 7f ff fd 45 call 4004ff94 <== NOT EXECUTED 40050a84: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40050a88: b8 92 20 00 orcc %o0, 0, %i4 <== NOT EXECUTED 40050a8c: 14 80 00 71 bg 40050c50 <== NOT EXECUTED 40050a90: 80 a4 e0 00 cmp %l3, 0 <== NOT EXECUTED if ((singly == 0) || 40050a94: 02 80 00 06 be 40050aac <== NOT EXECUTED 40050a98: 80 a5 60 00 cmp %l5, 0 <== NOT EXECUTED 40050a9c: 12 80 00 53 bne 40050be8 <== NOT EXECUTED 40050aa0: 80 a4 e0 05 cmp %l3, 5 <== NOT EXECUTED 40050aa4: 12 80 00 52 bne 40050bec <== NOT EXECUTED 40050aa8: 82 05 60 08 add %l5, 8, %g1 <== NOT EXECUTED upping = map->size.count == fs->block_map_singly_blocks; 40050aac: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED 40050ab0: c4 06 20 38 ld [ %i0 + 0x38 ], %g2 <== NOT EXECUTED 40050ab4: 82 18 40 02 xor %g1, %g2, %g1 <== NOT EXECUTED rc = rtems_rfs_block_map_indirect_alloc (fs, map, 40050ab8: 80 a0 00 01 cmp %g0, %g1 <== NOT EXECUTED &map->blocks[doubly], 40050abc: 96 05 60 09 add %l5, 9, %o3 <== NOT EXECUTED rc = rtems_rfs_block_map_indirect_alloc (fs, map, 40050ac0: 98 60 3f ff subx %g0, -1, %o4 <== NOT EXECUTED &map->blocks[doubly], 40050ac4: 97 2a e0 02 sll %o3, 2, %o3 <== NOT EXECUTED rc = rtems_rfs_block_map_indirect_alloc (fs, map, 40050ac8: 94 10 00 12 mov %l2, %o2 <== NOT EXECUTED 40050acc: 96 06 40 0b add %i1, %o3, %o3 <== NOT EXECUTED 40050ad0: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED 40050ad4: 7f ff fd 30 call 4004ff94 <== NOT EXECUTED 40050ad8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40050adc: b8 92 20 00 orcc %o0, 0, %i4 <== NOT EXECUTED 40050ae0: 14 80 00 4e bg 40050c18 <== NOT EXECUTED 40050ae4: d4 07 bf fc ld [ %fp + -4 ], %o2 <== NOT EXECUTED rtems_rfs_block_set_number (&map->doubly_buffer, 40050ae8: c2 06 60 4c ld [ %i1 + 0x4c ], %g1 <== NOT EXECUTED 40050aec: c4 0f bf fc ldub [ %fp + -4 ], %g2 <== NOT EXECUTED 40050af0: c2 00 60 1c ld [ %g1 + 0x1c ], %g1 <== NOT EXECUTED 40050af4: 97 2c e0 02 sll %l3, 2, %o3 <== NOT EXECUTED 40050af8: c4 28 40 0b stb %g2, [ %g1 + %o3 ] <== NOT EXECUTED 40050afc: c2 06 60 4c ld [ %i1 + 0x4c ], %g1 <== NOT EXECUTED 40050b00: c4 17 bf fc lduh [ %fp + -4 ], %g2 <== NOT EXECUTED 40050b04: c2 00 60 1c ld [ %g1 + 0x1c ], %g1 <== NOT EXECUTED 40050b08: 82 00 40 0b add %g1, %o3, %g1 <== NOT EXECUTED 40050b0c: c4 28 60 01 stb %g2, [ %g1 + 1 ] <== NOT EXECUTED 40050b10: c2 06 60 4c ld [ %i1 + 0x4c ], %g1 <== NOT EXECUTED 40050b14: c2 00 60 1c ld [ %g1 + 0x1c ], %g1 <== NOT EXECUTED 40050b18: c4 07 bf fc ld [ %fp + -4 ], %g2 <== NOT EXECUTED 40050b1c: 82 00 40 0b add %g1, %o3, %g1 <== NOT EXECUTED 40050b20: 85 30 a0 08 srl %g2, 8, %g2 <== NOT EXECUTED 40050b24: c4 28 60 02 stb %g2, [ %g1 + 2 ] <== NOT EXECUTED 40050b28: c2 06 60 4c ld [ %i1 + 0x4c ], %g1 <== NOT EXECUTED 40050b2c: e6 00 60 1c ld [ %g1 + 0x1c ], %l3 <== NOT EXECUTED 40050b30: c2 07 bf fc ld [ %fp + -4 ], %g1 <== NOT EXECUTED 40050b34: 96 04 c0 0b add %l3, %o3, %o3 <== NOT EXECUTED 40050b38: c2 2a e0 03 stb %g1, [ %o3 + 3 ] <== NOT EXECUTED 40050b3c: 10 bf ff 9e b 400509b4 <== NOT EXECUTED 40050b40: e0 2e 60 44 stb %l0, [ %i1 + 0x44 ] <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, 40050b44: aa 05 60 08 add %l5, 8, %l5 <== NOT EXECUTED 40050b48: ab 2d 60 02 sll %l5, 2, %l5 <== NOT EXECUTED 40050b4c: aa 06 40 15 add %i1, %l5, %l5 <== NOT EXECUTED 40050b50: d4 05 60 04 ld [ %l5 + 4 ], %o2 <== NOT EXECUTED 40050b54: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED 40050b58: 92 10 00 12 mov %l2, %o1 <== NOT EXECUTED 40050b5c: 40 00 02 0b call 40051388 <== NOT EXECUTED 40050b60: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40050b64: b8 92 20 00 orcc %o0, 0, %i4 <== NOT EXECUTED 40050b68: 14 80 00 3a bg 40050c50 <== NOT EXECUTED 40050b6c: 97 2c e0 02 sll %l3, 2, %o3 <== NOT EXECUTED singly_block = rtems_rfs_block_get_number (&map->doubly_buffer, 40050b70: c2 06 60 4c ld [ %i1 + 0x4c ], %g1 <== NOT EXECUTED 40050b74: c4 00 60 1c ld [ %g1 + 0x1c ], %g2 <== NOT EXECUTED 40050b78: d4 08 80 0b ldub [ %g2 + %o3 ], %o2 <== NOT EXECUTED 40050b7c: 82 00 80 0b add %g2, %o3, %g1 <== NOT EXECUTED 40050b80: c6 08 60 03 ldub [ %g1 + 3 ], %g3 <== NOT EXECUTED 40050b84: c4 08 60 01 ldub [ %g1 + 1 ], %g2 <== NOT EXECUTED 40050b88: c2 08 60 02 ldub [ %g1 + 2 ], %g1 <== NOT EXECUTED 40050b8c: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 40050b90: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED 40050b94: 95 2a a0 18 sll %o2, 0x18, %o2 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 40050b98: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED singly_block = rtems_rfs_block_get_number (&map->doubly_buffer, 40050b9c: 94 12 80 03 or %o2, %g3, %o2 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 40050ba0: 92 10 00 11 mov %l1, %o1 <== NOT EXECUTED singly_block = rtems_rfs_block_get_number (&map->doubly_buffer, 40050ba4: 94 12 80 02 or %o2, %g2, %o2 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 40050ba8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED singly_block = rtems_rfs_block_get_number (&map->doubly_buffer, 40050bac: 94 12 80 01 or %o2, %g1, %o2 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 40050bb0: 40 00 01 f6 call 40051388 <== NOT EXECUTED 40050bb4: d4 27 bf fc st %o2, [ %fp + -4 ] <== NOT EXECUTED 40050bb8: 10 bf ff 7c b 400509a8 <== NOT EXECUTED 40050bbc: b8 10 00 08 mov %o0, %i4 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 40050bc0: 82 02 e0 08 add %o3, 8, %g1 <== NOT EXECUTED 40050bc4: 83 28 60 02 sll %g1, 2, %g1 <== NOT EXECUTED 40050bc8: 82 06 40 01 add %i1, %g1, %g1 <== NOT EXECUTED 40050bcc: d4 00 60 04 ld [ %g1 + 4 ], %o2 <== NOT EXECUTED 40050bd0: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED 40050bd4: 92 10 00 11 mov %l1, %o1 <== NOT EXECUTED 40050bd8: 40 00 01 ec call 40051388 <== NOT EXECUTED 40050bdc: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 40050be0: 10 bf ff 72 b 400509a8 <== NOT EXECUTED 40050be4: b8 10 00 08 mov %o0, %i4 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer, 40050be8: 82 05 60 08 add %l5, 8, %g1 <== NOT EXECUTED 40050bec: 83 28 60 02 sll %g1, 2, %g1 <== NOT EXECUTED 40050bf0: 82 06 40 01 add %i1, %g1, %g1 <== NOT EXECUTED 40050bf4: d4 00 60 04 ld [ %g1 + 4 ], %o2 <== NOT EXECUTED 40050bf8: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED 40050bfc: 92 10 00 12 mov %l2, %o1 <== NOT EXECUTED 40050c00: 40 00 01 e2 call 40051388 <== NOT EXECUTED 40050c04: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40050c08: b8 92 20 00 orcc %o0, 0, %i4 <== NOT EXECUTED 40050c0c: 24 bf ff b8 ble,a 40050aec <== NOT EXECUTED 40050c10: c2 06 60 4c ld [ %i1 + 0x4c ], %g1 <== NOT EXECUTED rtems_rfs_group_bitmap_free (fs, false, singly_block); 40050c14: d4 07 bf fc ld [ %fp + -4 ], %o2 <== NOT EXECUTED 40050c18: 92 10 20 00 clr %o1 <== NOT EXECUTED 40050c1c: 40 00 14 6c call 40055dcc <== NOT EXECUTED 40050c20: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED rtems_rfs_group_bitmap_free (fs, false, block); 40050c24: d4 07 bf f8 ld [ %fp + -8 ], %o2 <== NOT EXECUTED 40050c28: 92 10 20 00 clr %o1 <== NOT EXECUTED 40050c2c: 40 00 14 68 call 40055dcc <== NOT EXECUTED 40050c30: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED return rc; 40050c34: 30 bf ff 84 b,a 40050a44 <== NOT EXECUTED printf ("rtems-rfs: block-map-grow: entry: blocks=%zd count=%" PRIu32 "\n", 40050c38: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 40050c3c: 11 10 02 18 sethi %hi(0x40086000), %o0 <== NOT EXECUTED 40050c40: 7f ff ac 42 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40050c44: 90 12 21 b8 or %o0, 0x1b8, %o0 ! 400861b8 <== NOT EXECUTED if ((map->size.count + blocks) >= rtems_rfs_fs_max_block_map_blocks (fs)) 40050c48: 10 bf ff 14 b 40050898 <== NOT EXECUTED 40050c4c: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED rtems_rfs_group_bitmap_free (fs, false, block); 40050c50: d4 07 bf f8 ld [ %fp + -8 ], %o2 <== NOT EXECUTED 40050c54: 92 10 20 00 clr %o1 <== NOT EXECUTED 40050c58: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 40050c5c: 40 00 14 5c call 40055dcc <== NOT EXECUTED 40050c60: b0 10 00 1c mov %i4, %i0 <== NOT EXECUTED } 40050c64: 81 c7 e0 08 ret <== NOT EXECUTED 40050c68: 81 e8 00 00 restore <== NOT EXECUTED =============================================================================== 40050844 : { 40050844: 9d e3 bf 90 save %sp, -112, %sp <== NOT EXECUTED bpos.bno = map->bpos.bno + 1; 40050848: c2 06 60 10 ld [ %i1 + 0x10 ], %g1 <== NOT EXECUTED 4005084c: 82 00 60 01 inc %g1 <== NOT EXECUTED bpos.boff = 0; 40050850: c0 27 bf f8 clr [ %fp + -8 ] <== NOT EXECUTED return rtems_rfs_block_map_find (fs, map, &bpos, block); 40050854: 96 10 00 1a mov %i2, %o3 <== NOT EXECUTED bpos.bno = map->bpos.bno + 1; 40050858: c2 27 bf f4 st %g1, [ %fp + -12 ] <== NOT EXECUTED return rtems_rfs_block_map_find (fs, map, &bpos, block); 4005085c: 94 07 bf f4 add %fp, -12, %o2 <== NOT EXECUTED bpos.block = 0; 40050860: c0 27 bf fc clr [ %fp + -4 ] <== NOT EXECUTED return rtems_rfs_block_map_find (fs, map, &bpos, block); 40050864: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED 40050868: 7f ff ff 80 call 40050668 <== NOT EXECUTED 4005086c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED } 40050870: 81 c7 e0 08 ret <== NOT EXECUTED 40050874: 91 e8 00 08 restore %g0, %o0, %o0 <== NOT EXECUTED =============================================================================== 40050320 : { 40050320: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED map->dirty = false; 40050324: c0 2e 80 00 clrb [ %i2 ] <== NOT EXECUTED rc = rtems_rfs_inode_load (fs, inode); 40050328: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED map->inode = NULL; 4005032c: c0 26 a0 04 clr [ %i2 + 4 ] <== NOT EXECUTED rc = rtems_rfs_inode_load (fs, inode); 40050330: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED * @param[in] size is a pointer to the block size. */ static inline void rtems_rfs_block_set_size_zero (rtems_rfs_block_size* size) { size->count = 0; 40050334: c0 26 a0 08 clr [ %i2 + 8 ] <== NOT EXECUTED { 40050338: ba 10 00 1a mov %i2, %i5 <== NOT EXECUTED size->offset = 0; 4005033c: c0 26 a0 0c clr [ %i2 + 0xc ] <== NOT EXECUTED bpos->bno = 0; 40050340: c0 26 a0 10 clr [ %i2 + 0x10 ] <== NOT EXECUTED bpos->boff = 0; 40050344: c0 26 a0 14 clr [ %i2 + 0x14 ] <== NOT EXECUTED bpos->block = 0; 40050348: c0 26 a0 18 clr [ %i2 + 0x18 ] <== NOT EXECUTED handle->dirty = false; 4005034c: c0 2e a0 38 clrb [ %i2 + 0x38 ] <== NOT EXECUTED handle->bnum = 0; 40050350: c0 26 a0 3c clr [ %i2 + 0x3c ] <== NOT EXECUTED handle->buffer = NULL; 40050354: c0 26 a0 40 clr [ %i2 + 0x40 ] <== NOT EXECUTED handle->dirty = false; 40050358: c0 2e a0 44 clrb [ %i2 + 0x44 ] <== NOT EXECUTED handle->bnum = 0; 4005035c: c0 26 a0 48 clr [ %i2 + 0x48 ] <== NOT EXECUTED rc = rtems_rfs_inode_load (fs, inode); 40050360: 40 00 17 63 call 400560ec <== NOT EXECUTED 40050364: c0 26 a0 4c clr [ %i2 + 0x4c ] <== NOT EXECUTED if (rc > 0) 40050368: b8 92 20 00 orcc %o0, 0, %i4 <== NOT EXECUTED 4005036c: 14 80 00 3d bg 40050460 <== NOT EXECUTED 40050370: 88 06 a0 24 add %i2, 0x24, %g4 <== NOT EXECUTED 40050374: de 06 60 0c ld [ %i1 + 0xc ], %o7 <== NOT EXECUTED map->inode = inode; 40050378: f2 26 a0 04 st %i1, [ %i2 + 4 ] <== NOT EXECUTED 4005037c: 82 03 e0 1c add %o7, 0x1c, %g1 <== NOT EXECUTED 40050380: b4 06 a0 38 add %i2, 0x38, %i2 <== NOT EXECUTED 40050384: f6 08 40 00 ldub [ %g1 ], %i3 <== NOT EXECUTED 40050388: c6 08 60 01 ldub [ %g1 + 1 ], %g3 <== NOT EXECUTED 4005038c: c4 08 60 02 ldub [ %g1 + 2 ], %g2 <== NOT EXECUTED 40050390: f8 08 60 03 ldub [ %g1 + 3 ], %i4 <== NOT EXECUTED 40050394: b7 2e e0 18 sll %i3, 0x18, %i3 <== NOT EXECUTED 40050398: 87 28 e0 10 sll %g3, 0x10, %g3 <== NOT EXECUTED 4005039c: 85 28 a0 08 sll %g2, 8, %g2 <== NOT EXECUTED 400503a0: 86 10 c0 1b or %g3, %i3, %g3 <== NOT EXECUTED 400503a4: 84 10 80 03 or %g2, %g3, %g2 <== NOT EXECUTED 400503a8: 84 17 00 02 or %i4, %g2, %g2 <== NOT EXECUTED map->blocks[b] = rtems_rfs_inode_get_block (inode, b); 400503ac: c4 21 00 00 st %g2, [ %g4 ] <== NOT EXECUTED 400503b0: 88 01 20 04 add %g4, 4, %g4 <== NOT EXECUTED for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++) 400503b4: 80 a6 80 04 cmp %i2, %g4 <== NOT EXECUTED 400503b8: 12 bf ff f3 bne 40050384 <== NOT EXECUTED 400503bc: 82 00 60 04 add %g1, 4, %g1 <== NOT EXECUTED return rtems_rfs_read_u32 (&handle->node->block_count); 400503c0: c6 0b e0 0f ldub [ %o7 + 0xf ], %g3 <== NOT EXECUTED 400503c4: c8 0b e0 0c ldub [ %o7 + 0xc ], %g4 <== NOT EXECUTED 400503c8: c4 0b e0 0d ldub [ %o7 + 0xd ], %g2 <== NOT EXECUTED 400503cc: c2 0b e0 0e ldub [ %o7 + 0xe ], %g1 <== NOT EXECUTED 400503d0: 89 29 20 18 sll %g4, 0x18, %g4 <== NOT EXECUTED 400503d4: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 400503d8: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED 400503dc: 84 10 80 04 or %g2, %g4, %g2 <== NOT EXECUTED 400503e0: 82 10 40 02 or %g1, %g2, %g1 <== NOT EXECUTED 400503e4: 82 10 c0 01 or %g3, %g1, %g1 <== NOT EXECUTED map->size.count = rtems_rfs_inode_get_block_count (inode); 400503e8: c2 27 60 08 st %g1, [ %i5 + 8 ] <== NOT EXECUTED return rtems_rfs_read_u16 (&handle->node->block_offset); 400503ec: c4 0b e0 0b ldub [ %o7 + 0xb ], %g2 <== NOT EXECUTED 400503f0: c2 0b e0 0a ldub [ %o7 + 0xa ], %g1 <== NOT EXECUTED 400503f4: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED map->size.offset = rtems_rfs_inode_get_block_offset (inode); 400503f8: 82 10 40 02 or %g1, %g2, %g1 <== NOT EXECUTED 400503fc: c2 27 60 0c st %g1, [ %i5 + 0xc ] <== NOT EXECUTED * @retval block The last map block number. */ static inline uint32_t rtems_rfs_inode_get_last_map_block (rtems_rfs_inode_handle* handle) { return rtems_rfs_read_u32 (&handle->node->last_map_block); 40050400: c6 0b e0 33 ldub [ %o7 + 0x33 ], %g3 <== NOT EXECUTED 40050404: c8 0b e0 30 ldub [ %o7 + 0x30 ], %g4 <== NOT EXECUTED 40050408: c4 0b e0 31 ldub [ %o7 + 0x31 ], %g2 <== NOT EXECUTED 4005040c: c2 0b e0 32 ldub [ %o7 + 0x32 ], %g1 <== NOT EXECUTED 40050410: 89 29 20 18 sll %g4, 0x18, %g4 <== NOT EXECUTED 40050414: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 40050418: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED 4005041c: 84 10 80 04 or %g2, %g4, %g2 <== NOT EXECUTED 40050420: 82 10 40 02 or %g1, %g2, %g1 <== NOT EXECUTED 40050424: 82 10 c0 01 or %g3, %g1, %g1 <== NOT EXECUTED map->last_map_block = rtems_rfs_inode_get_last_map_block (inode); 40050428: c2 27 60 1c st %g1, [ %i5 + 0x1c ] <== NOT EXECUTED * */ static inline uint32_t rtems_rfs_inode_get_last_data_block (rtems_rfs_inode_handle* handle) { return rtems_rfs_read_u32 (&handle->node->last_data_block); 4005042c: c8 0b e0 34 ldub [ %o7 + 0x34 ], %g4 <== NOT EXECUTED 40050430: c4 0b e0 35 ldub [ %o7 + 0x35 ], %g2 <== NOT EXECUTED 40050434: c2 0b e0 36 ldub [ %o7 + 0x36 ], %g1 <== NOT EXECUTED 40050438: c6 0b e0 37 ldub [ %o7 + 0x37 ], %g3 <== NOT EXECUTED 4005043c: 89 29 20 18 sll %g4, 0x18, %g4 <== NOT EXECUTED 40050440: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 40050444: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED 40050448: 84 10 80 04 or %g2, %g4, %g2 <== NOT EXECUTED 4005044c: 82 10 40 02 or %g1, %g2, %g1 <== NOT EXECUTED 40050450: 82 10 c0 01 or %g3, %g1, %g1 <== NOT EXECUTED map->last_data_block = rtems_rfs_inode_get_last_data_block (inode); 40050454: c2 27 60 20 st %g1, [ %i5 + 0x20 ] <== NOT EXECUTED rc = rtems_rfs_inode_unload (fs, inode, false); 40050458: 40 00 17 8b call 40056284 <== NOT EXECUTED 4005045c: 95 e8 20 00 restore %g0, 0, %o2 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40050460: 92 06 a0 38 add %i2, 0x38, %o1 <== NOT EXECUTED 40050464: 40 00 04 90 call 400516a4 <== NOT EXECUTED 40050468: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->dirty = false; 4005046c: c0 2e a0 38 clrb [ %i2 + 0x38 ] <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40050470: 92 06 a0 44 add %i2, 0x44, %o1 <== NOT EXECUTED handle->bnum = 0; 40050474: c0 26 a0 3c clr [ %i2 + 0x3c ] <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40050478: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->buffer = NULL; 4005047c: c0 26 a0 40 clr [ %i2 + 0x40 ] <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40050480: 40 00 04 89 call 400516a4 <== NOT EXECUTED 40050484: b0 10 00 1c mov %i4, %i0 <== NOT EXECUTED handle->dirty = false; 40050488: c0 2e a0 44 clrb [ %i2 + 0x44 ] <== NOT EXECUTED handle->bnum = 0; 4005048c: c0 26 a0 48 clr [ %i2 + 0x48 ] <== NOT EXECUTED handle->buffer = NULL; 40050490: c0 26 a0 4c clr [ %i2 + 0x4c ] <== NOT EXECUTED } 40050494: 81 c7 e0 08 ret <== NOT EXECUTED 40050498: 81 e8 00 00 restore <== NOT EXECUTED =============================================================================== 400507cc : { 400507cc: 9d e3 bf 90 save %sp, -112, %sp <== NOT EXECUTED 400507d0: fa 06 20 08 ld [ %i0 + 8 ], %i5 <== NOT EXECUTED return (bpos->bno * rtems_rfs_fs_block_size (fs)) + bpos->boff; 400507d4: c4 06 60 14 ld [ %i1 + 0x14 ], %g2 <== NOT EXECUTED 400507d8: c2 06 60 10 ld [ %i1 + 0x10 ], %g1 <== NOT EXECUTED 400507dc: 82 5f 40 01 smul %i5, %g1, %g1 <== NOT EXECUTED 400507e0: 82 00 40 02 add %g1, %g2, %g1 <== NOT EXECUTED rtems_rfs_block_get_bpos (fs, 400507e4: 86 86 c0 01 addcc %i3, %g1, %g3 <== NOT EXECUTED 400507e8: 84 46 a0 00 addx %i2, 0, %g2 <== NOT EXECUTED 400507ec: b6 10 00 03 mov %g3, %i3 <== NOT EXECUTED 400507f0: b4 10 00 02 mov %g2, %i2 <== NOT EXECUTED bpos->bno = pos / rtems_rfs_fs_block_size (fs); 400507f4: 90 10 00 02 mov %g2, %o0 <== NOT EXECUTED 400507f8: 92 10 00 03 mov %g3, %o1 <== NOT EXECUTED 400507fc: 96 10 00 1d mov %i5, %o3 <== NOT EXECUTED 40050800: 40 00 a5 f4 call 40079fd0 <__udivdi3> <== NOT EXECUTED 40050804: 94 10 20 00 clr %o2 <== NOT EXECUTED bpos->boff = pos % rtems_rfs_fs_block_size (fs); 40050808: 96 10 00 1d mov %i5, %o3 <== NOT EXECUTED bpos->bno = pos / rtems_rfs_fs_block_size (fs); 4005080c: d2 27 bf f4 st %o1, [ %fp + -12 ] <== NOT EXECUTED bpos->boff = pos % rtems_rfs_fs_block_size (fs); 40050810: 94 10 20 00 clr %o2 <== NOT EXECUTED 40050814: 90 10 00 1a mov %i2, %o0 <== NOT EXECUTED 40050818: 40 00 a6 67 call 4007a1b4 <__umoddi3> <== NOT EXECUTED 4005081c: 92 10 00 1b mov %i3, %o1 <== NOT EXECUTED return rtems_rfs_block_map_find (fs, map, &bpos, block); 40050820: 96 10 00 1c mov %i4, %o3 <== NOT EXECUTED bpos->boff = pos % rtems_rfs_fs_block_size (fs); 40050824: d2 27 bf f8 st %o1, [ %fp + -8 ] <== NOT EXECUTED return rtems_rfs_block_map_find (fs, map, &bpos, block); 40050828: 94 07 bf f4 add %fp, -12, %o2 <== NOT EXECUTED bpos->block = 0; 4005082c: c0 27 bf fc clr [ %fp + -4 ] <== NOT EXECUTED 40050830: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED 40050834: 7f ff ff 8d call 40050668 <== NOT EXECUTED 40050838: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED } 4005083c: 81 c7 e0 08 ret <== NOT EXECUTED 40050840: 91 e8 00 08 restore %g0, %o0, %o0 <== NOT EXECUTED =============================================================================== 40050c6c : int rtems_rfs_block_map_shrink (rtems_rfs_file_system* fs, rtems_rfs_block_map* map, size_t blocks) { 40050c6c: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK)) 40050c70: 90 10 20 00 clr %o0 <== NOT EXECUTED 40050c74: 40 00 1c cb call 40057fa0 <== NOT EXECUTED 40050c78: 13 00 00 10 sethi %hi(0x4000), %o1 <== NOT EXECUTED 40050c7c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40050c80: 32 80 00 a3 bne,a 40050f0c <== NOT EXECUTED 40050c84: d4 06 60 08 ld [ %i1 + 8 ], %o2 <== NOT EXECUTED printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n", blocks, map->size.count); if (map->size.count == 0) 40050c88: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED 40050c8c: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 40050c90: 02 80 00 9a be 40050ef8 <== NOT EXECUTED 40050c94: 80 a0 40 1a cmp %g1, %i2 <== NOT EXECUTED 40050c98: 18 80 00 9b bgu 40050f04 <== NOT EXECUTED 40050c9c: b6 10 00 01 mov %g1, %i3 <== NOT EXECUTED return 0; if (blocks > map->size.count) blocks = map->size.count; while (blocks) 40050ca0: 80 a6 e0 00 cmp %i3, 0 <== NOT EXECUTED 40050ca4: 02 80 00 8e be 40050edc <== NOT EXECUTED 40050ca8: a2 06 60 44 add %i1, 0x44, %l1 <== NOT EXECUTED doubly_singly); /* * Read the singly indirect table and get the block number. */ rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 40050cac: a0 06 60 38 add %i1, 0x38, %l0 <== NOT EXECUTED if (rc > 0) return rc; map->last_map_block = singly; rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->doubly_buffer, 40050cb0: a6 06 60 4c add %i1, 0x4c, %l3 <== NOT EXECUTED rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer, 40050cb4: a4 06 60 40 add %i1, 0x40, %l2 <== NOT EXECUTED if (rc > 0) return rc; map->size.count--; map->size.offset = 0; map->last_data_block = block_to_free; map->dirty = true; 40050cb8: 10 80 00 13 b 40050d04 <== NOT EXECUTED 40050cbc: b4 10 20 01 mov 1, %i2 <== NOT EXECUTED 40050cc0: 82 06 40 01 add %i1, %g1, %g1 <== NOT EXECUTED block_to_free = map->blocks[block]; 40050cc4: fa 00 60 20 ld [ %g1 + 0x20 ], %i5 <== NOT EXECUTED map->blocks[block] = 0; 40050cc8: c0 20 60 20 clr [ %g1 + 0x20 ] <== NOT EXECUTED rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free); 40050ccc: 94 10 00 1d mov %i5, %o2 <== NOT EXECUTED 40050cd0: 92 10 20 00 clr %o1 <== NOT EXECUTED 40050cd4: 40 00 14 3e call 40055dcc <== NOT EXECUTED 40050cd8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40050cdc: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40050ce0: 14 80 00 61 bg 40050e64 <== NOT EXECUTED 40050ce4: b6 86 ff ff addcc %i3, -1, %i3 <== NOT EXECUTED map->size.count--; 40050ce8: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED 40050cec: 82 00 7f ff add %g1, -1, %g1 <== NOT EXECUTED map->size.offset = 0; 40050cf0: c0 26 60 0c clr [ %i1 + 0xc ] <== NOT EXECUTED map->size.count--; 40050cf4: c2 26 60 08 st %g1, [ %i1 + 8 ] <== NOT EXECUTED map->last_data_block = block_to_free; 40050cf8: fa 26 60 20 st %i5, [ %i1 + 0x20 ] <== NOT EXECUTED while (blocks) 40050cfc: 02 80 00 8a be 40050f24 <== NOT EXECUTED 40050d00: f4 2e 40 00 stb %i2, [ %i1 ] <== NOT EXECUTED block = map->size.count - 1; 40050d04: 84 00 7f ff add %g1, -1, %g2 <== NOT EXECUTED if (block < RTEMS_RFS_INODE_BLOCKS) 40050d08: 80 a0 a0 04 cmp %g2, 4 <== NOT EXECUTED 40050d0c: 28 bf ff ed bleu,a 40050cc0 <== NOT EXECUTED 40050d10: 83 28 60 02 sll %g1, 2, %g1 <== NOT EXECUTED direct = block % fs->blocks_per_block; 40050d14: c6 06 20 34 ld [ %i0 + 0x34 ], %g3 <== NOT EXECUTED if (block < fs->block_map_singly_blocks) 40050d18: c8 06 20 38 ld [ %i0 + 0x38 ], %g4 <== NOT EXECUTED direct = block % fs->blocks_per_block; 40050d1c: 81 80 20 00 wr %g0, %y <== NOT EXECUTED 40050d20: 01 00 00 00 nop <== NOT EXECUTED 40050d24: 01 00 00 00 nop <== NOT EXECUTED 40050d28: 01 00 00 00 nop <== NOT EXECUTED 40050d2c: aa 70 80 03 udiv %g2, %g3, %l5 <== NOT EXECUTED if (block < fs->block_map_singly_blocks) 40050d30: 80 a1 00 02 cmp %g4, %g2 <== NOT EXECUTED direct = block % fs->blocks_per_block; 40050d34: ac 5d 40 03 smul %l5, %g3, %l6 <== NOT EXECUTED if (block < fs->block_map_singly_blocks) 40050d38: 18 80 00 4d bgu 40050e6c <== NOT EXECUTED 40050d3c: ac 20 80 16 sub %g2, %l6, %l6 <== NOT EXECUTED else if (block < fs->block_map_doubly_blocks) 40050d40: c8 06 20 3c ld [ %i0 + 0x3c ], %g4 <== NOT EXECUTED 40050d44: 80 a1 00 02 cmp %g4, %g2 <== NOT EXECUTED 40050d48: 08 80 00 77 bleu 40050f24 <== NOT EXECUTED 40050d4c: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED doubly = singly / fs->blocks_per_block; 40050d50: 81 80 20 00 wr %g0, %y <== NOT EXECUTED 40050d54: 01 00 00 00 nop <== NOT EXECUTED 40050d58: 01 00 00 00 nop <== NOT EXECUTED 40050d5c: 01 00 00 00 nop <== NOT EXECUTED 40050d60: ae 75 40 03 udiv %l5, %g3, %l7 <== NOT EXECUTED doubly_singly = singly % fs->blocks_per_block; 40050d64: 86 5d c0 03 smul %l7, %g3, %g3 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer, 40050d68: 82 05 e0 08 add %l7, 8, %g1 <== NOT EXECUTED 40050d6c: 83 28 60 02 sll %g1, 2, %g1 <== NOT EXECUTED 40050d70: 82 06 40 01 add %i1, %g1, %g1 <== NOT EXECUTED 40050d74: d4 00 60 04 ld [ %g1 + 4 ], %o2 <== NOT EXECUTED doubly_singly = singly % fs->blocks_per_block; 40050d78: aa 25 40 03 sub %l5, %g3, %l5 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer, 40050d7c: 92 10 00 11 mov %l1, %o1 <== NOT EXECUTED 40050d80: 40 00 01 82 call 40051388 <== NOT EXECUTED 40050d84: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40050d88: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40050d8c: 14 80 00 36 bg 40050e64 <== NOT EXECUTED 40050d90: 85 2d 60 02 sll %l5, 2, %g2 <== NOT EXECUTED singly = rtems_rfs_block_get_number (&map->doubly_buffer, 40050d94: c2 06 60 4c ld [ %i1 + 0x4c ], %g1 <== NOT EXECUTED 40050d98: c6 00 60 1c ld [ %g1 + 0x1c ], %g3 <== NOT EXECUTED 40050d9c: e8 08 c0 02 ldub [ %g3 + %g2 ], %l4 <== NOT EXECUTED 40050da0: 82 00 c0 02 add %g3, %g2, %g1 <== NOT EXECUTED 40050da4: c6 08 60 03 ldub [ %g1 + 3 ], %g3 <== NOT EXECUTED 40050da8: c4 08 60 01 ldub [ %g1 + 1 ], %g2 <== NOT EXECUTED 40050dac: c2 08 60 02 ldub [ %g1 + 2 ], %g1 <== NOT EXECUTED 40050db0: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 40050db4: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED 40050db8: a9 2d 20 18 sll %l4, 0x18, %l4 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 40050dbc: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED singly = rtems_rfs_block_get_number (&map->doubly_buffer, 40050dc0: a8 15 00 03 or %l4, %g3, %l4 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 40050dc4: 92 10 00 10 mov %l0, %o1 <== NOT EXECUTED singly = rtems_rfs_block_get_number (&map->doubly_buffer, 40050dc8: a8 15 00 02 or %l4, %g2, %l4 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 40050dcc: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED singly = rtems_rfs_block_get_number (&map->doubly_buffer, 40050dd0: a8 15 00 01 or %l4, %g1, %l4 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 40050dd4: 40 00 01 6d call 40051388 <== NOT EXECUTED 40050dd8: 94 10 00 14 mov %l4, %o2 <== NOT EXECUTED if (rc > 0) 40050ddc: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40050de0: 14 80 00 21 bg 40050e64 <== NOT EXECUTED 40050de4: 85 2d a0 02 sll %l6, 2, %g2 <== NOT EXECUTED block_to_free = rtems_rfs_block_get_number (&map->singly_buffer, 40050de8: c2 06 60 40 ld [ %i1 + 0x40 ], %g1 <== NOT EXECUTED 40050dec: c6 00 60 1c ld [ %g1 + 0x1c ], %g3 <== NOT EXECUTED 40050df0: 82 00 c0 02 add %g3, %g2, %g1 <== NOT EXECUTED 40050df4: fa 08 c0 02 ldub [ %g3 + %g2 ], %i5 <== NOT EXECUTED 40050df8: c6 08 60 03 ldub [ %g1 + 3 ], %g3 <== NOT EXECUTED 40050dfc: c4 08 60 01 ldub [ %g1 + 1 ], %g2 <== NOT EXECUTED 40050e00: c2 08 60 02 ldub [ %g1 + 2 ], %g1 <== NOT EXECUTED 40050e04: bb 2f 60 18 sll %i5, 0x18, %i5 <== NOT EXECUTED 40050e08: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 40050e0c: ba 17 40 03 or %i5, %g3, %i5 <== NOT EXECUTED 40050e10: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED 40050e14: ba 17 40 02 or %i5, %g2, %i5 <== NOT EXECUTED if (direct == 0) 40050e18: 80 a5 a0 00 cmp %l6, 0 <== NOT EXECUTED 40050e1c: 12 bf ff ac bne 40050ccc <== NOT EXECUTED 40050e20: ba 17 40 01 or %i5, %g1, %i5 <== NOT EXECUTED rc = rtems_rfs_group_bitmap_free (fs, false, singly); 40050e24: 94 10 00 14 mov %l4, %o2 <== NOT EXECUTED 40050e28: 92 10 20 00 clr %o1 <== NOT EXECUTED 40050e2c: 40 00 13 e8 call 40055dcc <== NOT EXECUTED 40050e30: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40050e34: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40050e38: 14 80 00 0b bg 40050e64 <== NOT EXECUTED 40050e3c: 98 10 00 15 mov %l5, %o4 <== NOT EXECUTED map->last_map_block = singly; 40050e40: e8 26 60 1c st %l4, [ %i1 + 0x1c ] <== NOT EXECUTED rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->doubly_buffer, 40050e44: 96 10 00 17 mov %l7, %o3 <== NOT EXECUTED 40050e48: 94 10 00 13 mov %l3, %o2 <== NOT EXECUTED 40050e4c: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED 40050e50: 7f ff fc d7 call 400501ac <== NOT EXECUTED 40050e54: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc) 40050e58: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40050e5c: 02 bf ff 9d be 40050cd0 <== NOT EXECUTED 40050e60: 94 10 00 1d mov %i5, %o2 <== NOT EXECUTED */ if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size)) rtems_rfs_block_size_get_bpos (&map->size, &map->bpos); return 0; } 40050e64: 81 c7 e0 08 ret <== NOT EXECUTED 40050e68: 91 e8 00 08 restore %g0, %o0, %o0 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer, 40050e6c: 82 05 60 08 add %l5, 8, %g1 <== NOT EXECUTED 40050e70: 83 28 60 02 sll %g1, 2, %g1 <== NOT EXECUTED 40050e74: 82 06 40 01 add %i1, %g1, %g1 <== NOT EXECUTED 40050e78: d4 00 60 04 ld [ %g1 + 4 ], %o2 <== NOT EXECUTED 40050e7c: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED 40050e80: 92 10 00 10 mov %l0, %o1 <== NOT EXECUTED 40050e84: 40 00 01 41 call 40051388 <== NOT EXECUTED 40050e88: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40050e8c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40050e90: 14 bf ff f5 bg 40050e64 <== NOT EXECUTED 40050e94: 85 2d a0 02 sll %l6, 2, %g2 <== NOT EXECUTED block_to_free = rtems_rfs_block_get_number (&map->singly_buffer, 40050e98: c2 06 60 40 ld [ %i1 + 0x40 ], %g1 <== NOT EXECUTED 40050e9c: c6 00 60 1c ld [ %g1 + 0x1c ], %g3 <== NOT EXECUTED 40050ea0: 82 00 c0 02 add %g3, %g2, %g1 <== NOT EXECUTED 40050ea4: fa 08 c0 02 ldub [ %g3 + %g2 ], %i5 <== NOT EXECUTED 40050ea8: c6 08 60 03 ldub [ %g1 + 3 ], %g3 <== NOT EXECUTED 40050eac: c4 08 60 01 ldub [ %g1 + 1 ], %g2 <== NOT EXECUTED 40050eb0: c2 08 60 02 ldub [ %g1 + 2 ], %g1 <== NOT EXECUTED 40050eb4: bb 2f 60 18 sll %i5, 0x18, %i5 <== NOT EXECUTED 40050eb8: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 40050ebc: ba 17 40 03 or %i5, %g3, %i5 <== NOT EXECUTED 40050ec0: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED 40050ec4: ba 17 40 02 or %i5, %g2, %i5 <== NOT EXECUTED rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer, 40050ec8: 98 10 00 16 mov %l6, %o4 <== NOT EXECUTED block_to_free = rtems_rfs_block_get_number (&map->singly_buffer, 40050ecc: ba 17 40 01 or %i5, %g1, %i5 <== NOT EXECUTED rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer, 40050ed0: 96 10 00 15 mov %l5, %o3 <== NOT EXECUTED 40050ed4: 10 bf ff de b 40050e4c <== NOT EXECUTED 40050ed8: 94 10 00 12 mov %l2, %o2 <== NOT EXECUTED if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size)) 40050edc: c4 06 60 10 ld [ %i1 + 0x10 ], %g2 <== NOT EXECUTED 40050ee0: 80 a0 40 02 cmp %g1, %g2 <== NOT EXECUTED 40050ee4: 08 80 00 25 bleu 40050f78 <== NOT EXECUTED 40050ee8: 86 00 7f ff add %g1, -1, %g3 <== NOT EXECUTED 40050eec: 80 a0 c0 02 cmp %g3, %g2 <== NOT EXECUTED 40050ef0: 22 80 00 1c be,a 40050f60 <== NOT EXECUTED 40050ef4: c4 06 60 0c ld [ %i1 + 0xc ], %g2 <== NOT EXECUTED return 0; 40050ef8: 90 10 20 00 clr %o0 <== NOT EXECUTED } 40050efc: 81 c7 e0 08 ret <== NOT EXECUTED 40050f00: 91 e8 00 08 restore %g0, %o0, %o0 <== NOT EXECUTED 40050f04: 10 bf ff 67 b 40050ca0 <== NOT EXECUTED 40050f08: b6 10 00 1a mov %i2, %i3 <== NOT EXECUTED printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n", 40050f0c: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 40050f10: 11 10 02 18 sethi %hi(0x40086000), %o0 <== NOT EXECUTED 40050f14: 7f ff ab 8d call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40050f18: 90 12 21 f0 or %o0, 0x1f0, %o0 ! 400861f0 <== NOT EXECUTED if (map->size.count == 0) 40050f1c: 10 bf ff 5c b 40050c8c <== NOT EXECUTED 40050f20: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED if (map->size.count == 0) 40050f24: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 40050f28: 32 bf ff ee bne,a 40050ee0 <== NOT EXECUTED 40050f2c: c4 06 60 10 ld [ %i1 + 0x10 ], %g2 <== NOT EXECUTED map->last_map_block = 0; 40050f30: c0 26 60 1c clr [ %i1 + 0x1c ] <== NOT EXECUTED map->last_data_block = 0; 40050f34: c0 26 60 20 clr [ %i1 + 0x20 ] <== NOT EXECUTED 40050f38: c4 06 60 0c ld [ %i1 + 0xc ], %g2 <== NOT EXECUTED rtems_rfs_block_size_get_bpos (&map->size, &map->bpos); 40050f3c: c2 26 60 10 st %g1, [ %i1 + 0x10 ] <== NOT EXECUTED 40050f40: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 40050f44: c4 26 60 14 st %g2, [ %i1 + 0x14 ] <== NOT EXECUTED 40050f48: 02 bf ff ec be 40050ef8 <== NOT EXECUTED 40050f4c: c0 26 60 18 clr [ %i1 + 0x18 ] <== NOT EXECUTED 40050f50: 82 00 7f ff add %g1, -1, %g1 <== NOT EXECUTED return 0; 40050f54: 90 10 20 00 clr %o0 <== NOT EXECUTED rtems_rfs_block_size_get_bpos (&map->size, &map->bpos); 40050f58: 10 bf ff c3 b 40050e64 <== NOT EXECUTED 40050f5c: c2 26 60 10 st %g1, [ %i1 + 0x10 ] <== NOT EXECUTED if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size)) 40050f60: c6 06 60 14 ld [ %i1 + 0x14 ], %g3 <== NOT EXECUTED 40050f64: 80 a0 c0 02 cmp %g3, %g2 <== NOT EXECUTED 40050f68: 38 bf ff f6 bgu,a 40050f40 <== NOT EXECUTED 40050f6c: c2 26 60 10 st %g1, [ %i1 + 0x10 ] <== NOT EXECUTED return 0; 40050f70: 10 bf ff e3 b 40050efc <== NOT EXECUTED 40050f74: 90 10 20 00 clr %o0 <== NOT EXECUTED 40050f78: 10 bf ff f1 b 40050f3c <== NOT EXECUTED 40050f7c: c4 06 60 0c ld [ %i1 + 0xc ], %g2 <== NOT EXECUTED =============================================================================== 4005bf80 : int rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer, bool modified) { 4005bf80: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED rtems_status_code sc; int rc = 0; if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE)) 4005bf84: 90 10 20 00 clr %o0 <== NOT EXECUTED 4005bf88: 7f ff f0 06 call 40057fa0 <== NOT EXECUTED 4005bf8c: 92 10 20 40 mov 0x40, %o1 <== NOT EXECUTED 4005bf90: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005bf94: 02 80 00 0b be 4005bfc0 <== NOT EXECUTED 4005bf98: 80 a6 60 00 cmp %i1, 0 <== NOT EXECUTED printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n", 4005bf9c: d2 06 20 34 ld [ %i0 + 0x34 ], %o1 <== NOT EXECUTED 4005bfa0: 12 80 00 18 bne 4005c000 <== NOT EXECUTED 4005bfa4: d4 06 20 18 ld [ %i0 + 0x18 ], %o2 <== NOT EXECUTED 4005bfa8: 17 10 01 fa sethi %hi(0x4007e800), %o3 <== NOT EXECUTED 4005bfac: 96 12 e1 10 or %o3, 0x110, %o3 ! 4007e910 <== NOT EXECUTED 4005bfb0: 11 10 02 24 sethi %hi(0x40089000), %o0 <== NOT EXECUTED 4005bfb4: 7f ff 7f 65 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 4005bfb8: 90 12 20 c8 or %o0, 0xc8, %o0 ! 400890c8 <== NOT EXECUTED ((intptr_t) buffer->user), buffer->block, modified ? "(modified)" : ""); if (modified) 4005bfbc: 80 a6 60 00 cmp %i1, 0 <== NOT EXECUTED 4005bfc0: 02 80 00 09 be 4005bfe4 <== NOT EXECUTED 4005bfc4: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED sc = rtems_bdbuf_release_modified (buffer); 4005bfc8: 7f fe ab 27 call 40006c64 <== NOT EXECUTED 4005bfcc: 01 00 00 00 nop <== NOT EXECUTED #if RTEMS_RFS_BUFFER_ERRORS printf ("rtems-rfs: buffer-release: bdbuf-%s: %s(%d)\n", modified ? "modified" : "not-modified", rtems_status_text (sc), sc); #endif rc = EIO; 4005bfd0: 80 a0 00 08 cmp %g0, %o0 <== NOT EXECUTED 4005bfd4: b0 40 3f ff addx %g0, -1, %i0 <== NOT EXECUTED 4005bfd8: b0 0e 3f fb and %i0, -5, %i0 <== NOT EXECUTED } return rc; } 4005bfdc: 81 c7 e0 08 ret <== NOT EXECUTED 4005bfe0: 91 ee 20 05 restore %i0, 5, %o0 <== NOT EXECUTED sc = rtems_bdbuf_release (buffer); 4005bfe4: 7f fe aa da call 40006b4c <== NOT EXECUTED 4005bfe8: 01 00 00 00 nop <== NOT EXECUTED rc = EIO; 4005bfec: 80 a0 00 08 cmp %g0, %o0 <== NOT EXECUTED 4005bff0: b0 40 3f ff addx %g0, -1, %i0 <== NOT EXECUTED 4005bff4: b0 0e 3f fb and %i0, -5, %i0 <== NOT EXECUTED } 4005bff8: 81 c7 e0 08 ret <== NOT EXECUTED 4005bffc: 91 ee 20 05 restore %i0, 5, %o0 <== NOT EXECUTED printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n", 4005c000: 17 10 02 24 sethi %hi(0x40089000), %o3 <== NOT EXECUTED 4005c004: 10 bf ff eb b 4005bfb0 <== NOT EXECUTED 4005c008: 96 12 e0 b8 or %o3, 0xb8, %o3 ! 400890b8 <== NOT EXECUTED =============================================================================== 4005bf30 : int rtems_rfs_buffer_bdbuf_request (rtems_rfs_file_system* fs, rtems_rfs_buffer_block block, bool read, rtems_rfs_buffer** buffer) { 4005bf30: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED 4005bf34: d0 06 20 10 ld [ %i0 + 0x10 ], %o0 <== NOT EXECUTED rtems_status_code sc; int rc = 0; if (read) sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer); 4005bf38: 94 10 00 1b mov %i3, %o2 <== NOT EXECUTED if (read) 4005bf3c: 80 a6 a0 00 cmp %i2, 0 <== NOT EXECUTED 4005bf40: 02 80 00 09 be 4005bf64 <== NOT EXECUTED 4005bf44: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer); 4005bf48: 7f fe aa 78 call 40006928 <== NOT EXECUTED 4005bf4c: 01 00 00 00 nop <== NOT EXECUTED int rc = 0; 4005bf50: 80 a0 00 08 cmp %g0, %o0 <== NOT EXECUTED 4005bf54: b0 60 20 00 subx %g0, 0, %i0 <== NOT EXECUTED #endif rc = EIO; } return rc; } 4005bf58: b0 0e 20 05 and %i0, 5, %i0 <== NOT EXECUTED 4005bf5c: 81 c7 e0 08 ret <== NOT EXECUTED 4005bf60: 81 e8 00 00 restore <== NOT EXECUTED sc = rtems_bdbuf_get (rtems_rfs_fs_device (fs), block, buffer); 4005bf64: 7f fe aa 31 call 40006828 <== NOT EXECUTED 4005bf68: 01 00 00 00 nop <== NOT EXECUTED int rc = 0; 4005bf6c: 80 a0 00 08 cmp %g0, %o0 <== NOT EXECUTED 4005bf70: b0 60 20 00 subx %g0, 0, %i0 <== NOT EXECUTED } 4005bf74: b0 0e 20 05 and %i0, 5, %i0 <== NOT EXECUTED 4005bf78: 81 c7 e0 08 ret <== NOT EXECUTED 4005bf7c: 81 e8 00 00 restore <== NOT EXECUTED =============================================================================== 40051a94 : { 40051a94: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE)) 40051a98: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051a9c: 92 10 20 10 mov 0x10, %o1 <== NOT EXECUTED 40051aa0: 40 00 19 40 call 40057fa0 <== NOT EXECUTED 40051aa4: ba 10 00 18 mov %i0, %i5 <== NOT EXECUTED 40051aa8: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051aac: 12 80 00 2f bne 40051b68 <== NOT EXECUTED 40051ab0: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED rc = rtems_rfs_buffer_setblksize (fs, rtems_rfs_fs_media_block_size (fs)); 40051ab4: c2 07 60 10 ld [ %i5 + 0x10 ], %g1 <== NOT EXECUTED 40051ab8: d2 00 60 20 ld [ %g1 + 0x20 ], %o1 <== NOT EXECUTED 40051abc: 7f ff ff b5 call 40051990 <== NOT EXECUTED 40051ac0: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE)) 40051ac4: b0 92 20 00 orcc %o0, 0, %i0 <== NOT EXECUTED 40051ac8: 14 80 00 1b bg 40051b34 <== NOT EXECUTED 40051acc: 90 10 20 00 clr %o0 <== NOT EXECUTED if (close (fs->device) < 0) 40051ad0: 7f fe e6 27 call 4000b36c <== NOT EXECUTED 40051ad4: d0 07 60 0c ld [ %i5 + 0xc ], %o0 <== NOT EXECUTED 40051ad8: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051adc: 06 80 00 04 bl 40051aec <== NOT EXECUTED 40051ae0: 01 00 00 00 nop <== NOT EXECUTED } 40051ae4: 81 c7 e0 08 ret <== NOT EXECUTED 40051ae8: 81 e8 00 00 restore <== NOT EXECUTED rc = errno; 40051aec: 40 00 2b 8a call 4005c914 <__errno> <== NOT EXECUTED 40051af0: 01 00 00 00 nop <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE)) 40051af4: 92 10 20 10 mov 0x10, %o1 ! 10 <_TLS_Alignment+0xf> <== NOT EXECUTED rc = errno; 40051af8: f0 02 00 00 ld [ %o0 ], %i0 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE)) 40051afc: 40 00 19 29 call 40057fa0 <== NOT EXECUTED 40051b00: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051b04: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051b08: 02 80 00 09 be 40051b2c <== NOT EXECUTED 40051b0c: 01 00 00 00 nop <== NOT EXECUTED printf ("rtems-rfs: buffer-close: file close failed: %d: %s\n", 40051b10: 40 00 4a a4 call 400645a0 <== NOT EXECUTED 40051b14: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 40051b18: 92 10 00 18 mov %i0, %o1 <== NOT EXECUTED 40051b1c: 94 10 00 08 mov %o0, %o2 <== NOT EXECUTED 40051b20: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051b24: 7f ff a8 89 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051b28: 90 12 23 38 or %o0, 0x338, %o0 ! 40086738 <== NOT EXECUTED } 40051b2c: 81 c7 e0 08 ret <== NOT EXECUTED 40051b30: 81 e8 00 00 restore <== NOT EXECUTED if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE)) 40051b34: 40 00 19 1b call 40057fa0 <== NOT EXECUTED 40051b38: 92 10 20 10 mov 0x10, %o1 <== NOT EXECUTED 40051b3c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051b40: 02 bf ff e4 be 40051ad0 <== NOT EXECUTED 40051b44: 01 00 00 00 nop <== NOT EXECUTED printf ("rtems-rfs: buffer-close: set media block size failed: %d: %s\n", 40051b48: 40 00 4a 96 call 400645a0 <== NOT EXECUTED 40051b4c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 40051b50: 92 10 00 18 mov %i0, %o1 <== NOT EXECUTED 40051b54: 94 10 00 08 mov %o0, %o2 <== NOT EXECUTED 40051b58: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051b5c: 7f ff a8 7b call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051b60: 90 12 22 f8 or %o0, 0x2f8, %o0 ! 400866f8 <== NOT EXECUTED 40051b64: 30 bf ff db b,a 40051ad0 <== NOT EXECUTED printf ("rtems-rfs: buffer-close: closing\n"); 40051b68: 7f ff a8 87 call 4003bd84 <__wrap_puts> <== NOT EXECUTED 40051b6c: 90 12 22 d0 or %o0, 0x2d0, %o0 <== NOT EXECUTED rc = rtems_rfs_buffer_setblksize (fs, rtems_rfs_fs_media_block_size (fs)); 40051b70: 10 bf ff d2 b 40051ab8 <== NOT EXECUTED 40051b74: c2 07 60 10 ld [ %i5 + 0x10 ], %g1 <== NOT EXECUTED =============================================================================== 400516a4 : if (rtems_rfs_buffer_handle_has_block (handle)) 400516a4: c2 02 60 08 ld [ %o1 + 8 ], %g1 <== NOT EXECUTED 400516a8: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 400516ac: 02 80 00 05 be 400516c0 <== NOT EXECUTED 400516b0: 01 00 00 00 nop <== NOT EXECUTED 400516b4: 82 13 c0 00 mov %o7, %g1 <== NOT EXECUTED 400516b8: 7f ff fe a5 call 4005114c <== NOT EXECUTED 400516bc: 9e 10 40 00 mov %g1, %o7 <== NOT EXECUTED } 400516c0: 81 c3 e0 08 retl <== NOT EXECUTED 400516c4: 90 10 20 00 clr %o0 <== NOT EXECUTED =============================================================================== 40051388 : { 40051388: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED if (rtems_rfs_buffer_handle_has_block (handle)) 4005138c: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED 40051390: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 40051394: 02 80 00 1b be 40051400 <== NOT EXECUTED 40051398: ba 10 00 18 mov %i0, %i5 <== NOT EXECUTED if (block && (rtems_rfs_buffer_bnum (handle) == block)) 4005139c: 80 a6 a0 00 cmp %i2, 0 <== NOT EXECUTED 400513a0: 02 80 00 06 be 400513b8 <== NOT EXECUTED 400513a4: 90 10 20 00 clr %o0 <== NOT EXECUTED 400513a8: c2 06 60 04 ld [ %i1 + 4 ], %g1 <== NOT EXECUTED 400513ac: 80 a0 40 1a cmp %g1, %i2 <== NOT EXECUTED 400513b0: 02 80 00 7a be 40051598 <== NOT EXECUTED 400513b4: 01 00 00 00 nop <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST)) 400513b8: 40 00 1a fa call 40057fa0 <== NOT EXECUTED 400513bc: 92 10 21 00 mov 0x100, %o1 ! 100 <_TLS_Alignment+0xff> <== NOT EXECUTED 400513c0: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400513c4: 32 80 00 4f bne,a 40051500 <== NOT EXECUTED 400513c8: d2 06 60 04 ld [ %i1 + 4 ], %o1 <== NOT EXECUTED if (rtems_rfs_buffer_handle_has_block (handle)) 400513cc: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED 400513d0: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 400513d4: 22 80 00 0a be,a 400513fc <== NOT EXECUTED 400513d8: c0 2e 40 00 clrb [ %i1 ] <== NOT EXECUTED 400513dc: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED 400513e0: 7f ff ff 5b call 4005114c <== NOT EXECUTED 400513e4: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED if (rc > 0) 400513e8: b0 92 20 00 orcc %o0, 0, %i0 <== NOT EXECUTED 400513ec: 24 80 00 04 ble,a 400513fc <== NOT EXECUTED 400513f0: c0 2e 40 00 clrb [ %i1 ] <== NOT EXECUTED } 400513f4: 81 c7 e0 08 ret <== NOT EXECUTED 400513f8: 81 e8 00 00 restore <== NOT EXECUTED handle->bnum = 0; 400513fc: c0 26 60 04 clr [ %i1 + 4 ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST)) 40051400: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051404: 40 00 1a e7 call 40057fa0 <== NOT EXECUTED 40051408: 92 10 21 00 mov 0x100, %o1 <== NOT EXECUTED 4005140c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051410: 32 80 00 59 bne,a 40051574 <== NOT EXECUTED 40051414: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED if (fs->buffers_count) 40051418: c2 07 60 50 ld [ %i5 + 0x50 ], %g1 <== NOT EXECUTED 4005141c: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 40051420: 12 80 00 41 bne 40051524 <== NOT EXECUTED 40051424: 94 10 00 1a mov %i2, %o2 <== NOT EXECUTED if (!rtems_rfs_fs_no_local_cache (fs) && 40051428: c4 07 40 00 ld [ %i5 ], %g2 <== NOT EXECUTED 4005142c: 80 88 a0 02 btst 2, %g2 <== NOT EXECUTED 40051430: 12 80 00 26 bne 400514c8 <== NOT EXECUTED 40051434: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED 40051438: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 4005143c: 22 80 00 69 be,a 400515e0 <== NOT EXECUTED 40051440: c2 07 60 60 ld [ %i5 + 0x60 ], %g1 <== NOT EXECUTED rtems_rfs_buffer_refs_up (handle); 40051444: c4 00 60 30 ld [ %g1 + 0x30 ], %g2 <== NOT EXECUTED old_last = tail->previous; 40051448: c6 07 60 4c ld [ %i5 + 0x4c ], %g3 <== NOT EXECUTED return &the_chain->Tail.Node; 4005144c: 88 07 60 48 add %i5, 0x48, %g4 <== NOT EXECUTED 40051450: 84 00 a0 01 inc %g2 <== NOT EXECUTED the_node->next = tail; 40051454: c8 20 40 00 st %g4, [ %g1 ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST)) 40051458: 90 10 20 00 clr %o0 <== NOT EXECUTED rtems_rfs_buffer_refs_up (handle); 4005145c: c4 20 60 30 st %g2, [ %g1 + 0x30 ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST)) 40051460: 92 10 21 00 mov 0x100, %o1 <== NOT EXECUTED tail->previous = the_node; 40051464: c2 27 60 4c st %g1, [ %i5 + 0x4c ] <== NOT EXECUTED old_last->next = the_node; 40051468: c2 20 c0 00 st %g1, [ %g3 ] <== NOT EXECUTED fs->buffers_count++; 4005146c: c4 07 60 50 ld [ %i5 + 0x50 ], %g2 <== NOT EXECUTED the_node->previous = old_last; 40051470: c6 20 60 04 st %g3, [ %g1 + 4 ] <== NOT EXECUTED 40051474: 84 00 a0 01 inc %g2 <== NOT EXECUTED 40051478: c4 27 60 50 st %g2, [ %i5 + 0x50 ] <== NOT EXECUTED handle->buffer->user = (void*) ((intptr_t) block); 4005147c: f4 20 60 34 st %i2, [ %g1 + 0x34 ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST)) 40051480: 40 00 1a c8 call 40057fa0 <== NOT EXECUTED 40051484: f4 26 60 04 st %i2, [ %i1 + 4 ] <== NOT EXECUTED 40051488: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005148c: 02 80 00 43 be 40051598 <== NOT EXECUTED 40051490: 80 a6 e0 00 cmp %i3, 0 <== NOT EXECUTED printf ("rtems-rfs: buffer-request: block=%" PRIu32 " bdbuf-%s=%" PRIu32 " refs=%d\n", 40051494: 12 80 00 43 bne 400515a0 <== NOT EXECUTED 40051498: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED 4005149c: d8 00 60 30 ld [ %g1 + 0x30 ], %o4 <== NOT EXECUTED 400514a0: d6 00 60 18 ld [ %g1 + 0x18 ], %o3 <== NOT EXECUTED return 0; 400514a4: b0 10 20 00 clr %i0 <== NOT EXECUTED printf ("rtems-rfs: buffer-request: block=%" PRIu32 " bdbuf-%s=%" PRIu32 " refs=%d\n", 400514a8: 15 10 02 18 sethi %hi(0x40086000), %o2 <== NOT EXECUTED 400514ac: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 400514b0: 94 12 a3 48 or %o2, 0x348, %o2 <== NOT EXECUTED 400514b4: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 400514b8: 7f ff aa 24 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 400514bc: 90 12 20 20 or %o0, 0x20, %o0 ! 40086420 <== NOT EXECUTED 400514c0: 81 c7 e0 08 ret <== NOT EXECUTED 400514c4: 81 e8 00 00 restore <== NOT EXECUTED if (!rtems_rfs_buffer_handle_has_block (handle)) 400514c8: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 400514cc: 32 bf ff df bne,a 40051448 <== NOT EXECUTED 400514d0: c4 00 60 30 ld [ %g1 + 0x30 ], %g2 <== NOT EXECUTED rc = rtems_rfs_buffer_io_request (fs, block, read, &handle->buffer); 400514d4: 96 06 60 08 add %i1, 8, %o3 <== NOT EXECUTED 400514d8: 94 10 00 1b mov %i3, %o2 <== NOT EXECUTED 400514dc: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 400514e0: 40 00 2a 94 call 4005bf30 <== NOT EXECUTED 400514e4: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED if (rc > 0) 400514e8: b0 92 20 00 orcc %o0, 0, %i0 <== NOT EXECUTED 400514ec: 14 80 00 4f bg 40051628 <== NOT EXECUTED 400514f0: 90 10 20 00 clr %o0 <== NOT EXECUTED rtems_chain_set_off_chain (rtems_rfs_buffer_link(handle)); 400514f4: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED node->next = NULL; 400514f8: 10 bf ff d3 b 40051444 <== NOT EXECUTED 400514fc: c0 20 40 00 clr [ %g1 ] <== NOT EXECUTED printf ("rtems-rfs: buffer-request: handle has buffer: %" PRIu32 "\n", 40051500: 11 10 02 18 sethi %hi(0x40086000), %o0 <== NOT EXECUTED 40051504: 7f ff aa 11 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051508: 90 12 23 50 or %o0, 0x350, %o0 ! 40086350 <== NOT EXECUTED if (rtems_rfs_buffer_handle_has_block (handle)) 4005150c: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED 40051510: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 40051514: 32 bf ff b3 bne,a 400513e0 <== NOT EXECUTED 40051518: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED handle->dirty = false; 4005151c: 10 bf ff b8 b 400513fc <== NOT EXECUTED 40051520: c0 2e 40 00 clrb [ %i1 ] <== NOT EXECUTED handle->buffer = rtems_rfs_scan_chain (&fs->buffers, 40051524: 92 07 60 50 add %i5, 0x50, %o1 <== NOT EXECUTED 40051528: 7f ff fe 9a call 40050f90 <== NOT EXECUTED 4005152c: 90 07 60 44 add %i5, 0x44, %o0 <== NOT EXECUTED if (rtems_rfs_buffer_handle_has_block (handle) && 40051530: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051534: 02 80 00 26 be 400515cc <== NOT EXECUTED 40051538: d0 26 60 08 st %o0, [ %i1 + 8 ] <== NOT EXECUTED rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST)) 4005153c: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051540: 40 00 1a 98 call 40057fa0 <== NOT EXECUTED 40051544: 92 10 21 00 mov 0x100, %o1 <== NOT EXECUTED if (rtems_rfs_buffer_handle_has_block (handle) && 40051548: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005154c: 22 bf ff b8 be,a 4005142c <== NOT EXECUTED 40051550: c4 07 40 00 ld [ %i5 ], %g2 <== NOT EXECUTED rtems_rfs_buffer_refs (handle) + 1); 40051554: c2 06 60 08 ld [ %i1 + 8 ], %g1 <== NOT EXECUTED printf ("rtems-rfs: buffer-request: buffer shared: refs: %d\n", 40051558: d2 00 60 30 ld [ %g1 + 0x30 ], %o1 <== NOT EXECUTED 4005155c: 92 02 60 01 inc %o1 <== NOT EXECUTED 40051560: 11 10 02 18 sethi %hi(0x40086000), %o0 <== NOT EXECUTED 40051564: 7f ff a9 f9 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051568: 90 12 23 b0 or %o0, 0x3b0, %o0 ! 400863b0 <== NOT EXECUTED if (!rtems_rfs_fs_no_local_cache (fs) && 4005156c: 10 bf ff b0 b 4005142c <== NOT EXECUTED 40051570: c4 07 40 00 ld [ %i5 ], %g2 <== NOT EXECUTED printf ("rtems-rfs: buffer-request: block=%" PRIu32 "\n", block); 40051574: 11 10 02 18 sethi %hi(0x40086000), %o0 <== NOT EXECUTED 40051578: 7f ff a9 f4 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 4005157c: 90 12 23 88 or %o0, 0x388, %o0 ! 40086388 <== NOT EXECUTED if (fs->buffers_count) 40051580: c2 07 60 50 ld [ %i5 + 0x50 ], %g1 <== NOT EXECUTED 40051584: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 40051588: 22 bf ff a9 be,a 4005142c <== NOT EXECUTED 4005158c: c4 07 40 00 ld [ %i5 ], %g2 <== NOT EXECUTED handle->buffer = rtems_rfs_scan_chain (&fs->buffers, 40051590: 10 bf ff e5 b 40051524 <== NOT EXECUTED 40051594: 94 10 00 1a mov %i2, %o2 <== NOT EXECUTED return 0; 40051598: 81 c7 e0 08 ret <== NOT EXECUTED 4005159c: 91 e8 20 00 restore %g0, 0, %o0 <== NOT EXECUTED printf ("rtems-rfs: buffer-request: block=%" PRIu32 " bdbuf-%s=%" PRIu32 " refs=%d\n", 400515a0: d8 00 60 30 ld [ %g1 + 0x30 ], %o4 <== NOT EXECUTED 400515a4: d6 00 60 18 ld [ %g1 + 0x18 ], %o3 <== NOT EXECUTED return 0; 400515a8: b0 10 20 00 clr %i0 <== NOT EXECUTED printf ("rtems-rfs: buffer-request: block=%" PRIu32 " bdbuf-%s=%" PRIu32 " refs=%d\n", 400515ac: 15 10 02 18 sethi %hi(0x40086000), %o2 <== NOT EXECUTED 400515b0: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 400515b4: 94 12 a3 40 or %o2, 0x340, %o2 <== NOT EXECUTED 400515b8: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 400515bc: 7f ff a9 e3 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 400515c0: 90 12 20 20 or %o0, 0x20, %o0 ! 40086420 <== NOT EXECUTED 400515c4: 81 c7 e0 08 ret <== NOT EXECUTED 400515c8: 81 e8 00 00 restore <== NOT EXECUTED if (!rtems_rfs_fs_no_local_cache (fs) && 400515cc: c2 07 40 00 ld [ %i5 ], %g1 <== NOT EXECUTED 400515d0: 80 88 60 02 btst 2, %g1 <== NOT EXECUTED 400515d4: 12 bf ff c1 bne 400514d8 <== NOT EXECUTED 400515d8: 96 06 60 08 add %i1, 8, %o3 <== NOT EXECUTED if (fs->release_count) 400515dc: c2 07 60 60 ld [ %i5 + 0x60 ], %g1 <== NOT EXECUTED 400515e0: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 400515e4: 12 80 00 25 bne 40051678 <== NOT EXECUTED 400515e8: 94 10 00 1a mov %i2, %o2 <== NOT EXECUTED if (!rtems_rfs_buffer_handle_has_block (handle) && 400515ec: c2 07 60 70 ld [ %i5 + 0x70 ], %g1 <== NOT EXECUTED 400515f0: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 400515f4: 02 bf ff b9 be 400514d8 <== NOT EXECUTED 400515f8: 96 06 60 08 add %i1, 8, %o3 <== NOT EXECUTED handle->buffer = rtems_rfs_scan_chain (&fs->release_modified, 400515fc: 94 10 00 1a mov %i2, %o2 <== NOT EXECUTED 40051600: 92 07 60 70 add %i5, 0x70, %o1 <== NOT EXECUTED 40051604: 7f ff fe 63 call 40050f90 <== NOT EXECUTED 40051608: 90 07 60 64 add %i5, 0x64, %o0 <== NOT EXECUTED 4005160c: d0 26 60 08 st %o0, [ %i1 + 8 ] <== NOT EXECUTED if (rtems_rfs_buffer_handle_has_block (handle)) 40051610: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051614: 02 bf ff b0 be 400514d4 <== NOT EXECUTED 40051618: 82 10 00 08 mov %o0, %g1 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (handle); 4005161c: 84 10 20 01 mov 1, %g2 <== NOT EXECUTED 40051620: 10 bf ff 89 b 40051444 <== NOT EXECUTED 40051624: c4 2e 40 00 stb %g2, [ %i1 ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST)) 40051628: 40 00 1a 5e call 40057fa0 <== NOT EXECUTED 4005162c: 92 10 21 00 mov 0x100, %o1 <== NOT EXECUTED 40051630: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051634: 02 bf ff 70 be 400513f4 <== NOT EXECUTED 40051638: 80 a6 e0 00 cmp %i3, 0 <== NOT EXECUTED printf ("rtems-rfs: buffer-request: block=%" PRIu32 ": bdbuf-%s: %d: %s\n", 4005163c: 12 80 00 18 bne 4005169c <== NOT EXECUTED 40051640: 3b 10 02 18 sethi %hi(0x40086000), %i5 <== NOT EXECUTED 40051644: 3b 10 02 18 sethi %hi(0x40086000), %i5 <== NOT EXECUTED 40051648: ba 17 63 48 or %i5, 0x348, %i5 ! 40086348 <== NOT EXECUTED 4005164c: 40 00 4b d5 call 400645a0 <== NOT EXECUTED 40051650: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 40051654: 96 10 00 18 mov %i0, %o3 <== NOT EXECUTED 40051658: 98 10 00 08 mov %o0, %o4 <== NOT EXECUTED 4005165c: 94 10 00 1d mov %i5, %o2 <== NOT EXECUTED 40051660: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 40051664: 11 10 02 18 sethi %hi(0x40086000), %o0 <== NOT EXECUTED 40051668: 7f ff a9 b8 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 4005166c: 90 12 23 e8 or %o0, 0x3e8, %o0 ! 400863e8 <== NOT EXECUTED 40051670: 81 c7 e0 08 ret <== NOT EXECUTED 40051674: 81 e8 00 00 restore <== NOT EXECUTED handle->buffer = rtems_rfs_scan_chain (&fs->release, 40051678: 92 07 60 60 add %i5, 0x60, %o1 <== NOT EXECUTED 4005167c: 7f ff fe 45 call 40050f90 <== NOT EXECUTED 40051680: 90 07 60 54 add %i5, 0x54, %o0 <== NOT EXECUTED 40051684: d0 26 60 08 st %o0, [ %i1 + 8 ] <== NOT EXECUTED if (!rtems_rfs_buffer_handle_has_block (handle) && 40051688: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005168c: 12 bf ff 6e bne 40051444 <== NOT EXECUTED 40051690: 82 10 00 08 mov %o0, %g1 <== NOT EXECUTED 40051694: 10 bf ff d7 b 400515f0 <== NOT EXECUTED 40051698: c2 07 60 70 ld [ %i5 + 0x70 ], %g1 <== NOT EXECUTED printf ("rtems-rfs: buffer-request: block=%" PRIu32 ": bdbuf-%s: %d: %s\n", 4005169c: 10 bf ff ec b 4005164c <== NOT EXECUTED 400516a0: ba 17 63 40 or %i5, 0x340, %i5 <== NOT EXECUTED =============================================================================== 400516c8 : { 400516c8: 9d e3 bf 40 save %sp, -192, %sp <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC)) 400516cc: 90 10 20 00 clr %o0 <== NOT EXECUTED 400516d0: 40 00 1a 34 call 40057fa0 <== NOT EXECUTED 400516d4: 92 10 20 20 mov 0x20, %o1 <== NOT EXECUTED 400516d8: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400516dc: 12 80 00 26 bne 40051774 <== NOT EXECUTED 400516e0: 92 10 00 18 mov %i0, %o1 <== NOT EXECUTED fs->device = open (name, O_RDWR); 400516e4: 92 10 20 02 mov 2, %o1 <== NOT EXECUTED 400516e8: 7f fe eb 0d call 4000c31c <== NOT EXECUTED 400516ec: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (fs->device < 0) 400516f0: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400516f4: 06 80 00 15 bl 40051748 <== NOT EXECUTED 400516f8: d0 26 60 0c st %o0, [ %i1 + 0xc ] <== NOT EXECUTED if (fstat (fs->device, &st) < 0) 400516fc: 7f fe e7 f7 call 4000b6d8 <== NOT EXECUTED 40051700: 92 07 bf a0 add %fp, -96, %o1 <== NOT EXECUTED 40051704: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051708: 06 80 00 32 bl 400517d0 <== NOT EXECUTED 4005170c: 05 00 00 3c sethi %hi(0xf000), %g2 <== NOT EXECUTED if (!S_ISBLK (st.st_mode)) 40051710: c2 07 bf ac ld [ %fp + -84 ], %g1 <== NOT EXECUTED 40051714: 82 08 40 02 and %g1, %g2, %g1 <== NOT EXECUTED 40051718: 05 00 00 18 sethi %hi(0x6000), %g2 <== NOT EXECUTED 4005171c: 80 a0 40 02 cmp %g1, %g2 <== NOT EXECUTED 40051720: 22 80 00 1a be,a 40051788 <== NOT EXECUTED 40051724: d0 06 60 0c ld [ %i1 + 0xc ], %o0 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN)) 40051728: 90 10 20 00 clr %o0 <== NOT EXECUTED 4005172c: 40 00 1a 1d call 40057fa0 <== NOT EXECUTED 40051730: 92 10 20 08 mov 8, %o1 <== NOT EXECUTED 40051734: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051738: 12 80 00 38 bne 40051818 <== NOT EXECUTED 4005173c: 92 10 00 18 mov %i0, %o1 <== NOT EXECUTED return ENXIO; 40051740: 81 c7 e0 08 ret <== NOT EXECUTED 40051744: 91 e8 20 06 restore %g0, 6, %o0 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN)) 40051748: 90 10 20 00 clr %o0 <== NOT EXECUTED 4005174c: 40 00 1a 15 call 40057fa0 <== NOT EXECUTED 40051750: 92 10 20 08 mov 8, %o1 <== NOT EXECUTED 40051754: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051758: 02 bf ff fa be 40051740 <== NOT EXECUTED 4005175c: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED return ENXIO; 40051760: b0 10 20 06 mov 6, %i0 <== NOT EXECUTED printf ("rtems-rfs: buffer-open: cannot open file\n"); 40051764: 7f ff a9 88 call 4003bd84 <__wrap_puts> <== NOT EXECUTED 40051768: 90 12 20 88 or %o0, 0x88, %o0 <== NOT EXECUTED 4005176c: 81 c7 e0 08 ret <== NOT EXECUTED 40051770: 81 e8 00 00 restore <== NOT EXECUTED printf ("rtems-rfs: buffer-open: opening: %s\n", name); 40051774: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051778: 7f ff a9 74 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 4005177c: 90 12 20 60 or %o0, 0x60, %o0 ! 40086460 <== NOT EXECUTED fs->device = open (name, O_RDWR); 40051780: 10 bf ff da b 400516e8 <== NOT EXECUTED 40051784: 92 10 20 02 mov 2, %o1 <== NOT EXECUTED 40051788: 94 06 60 10 add %i1, 0x10, %o2 <== NOT EXECUTED 4005178c: 13 10 01 10 sethi %hi(0x40044000), %o1 <== NOT EXECUTED 40051790: 7f fe e8 39 call 4000b874 <== NOT EXECUTED 40051794: 92 12 62 09 or %o1, 0x209, %o1 ! 40044209 <== NOT EXECUTED 40051798: b0 10 00 08 mov %o0, %i0 <== NOT EXECUTED if (rv != 0) 4005179c: 80 a6 20 00 cmp %i0, 0 <== NOT EXECUTED 400517a0: 02 80 00 24 be 40051830 <== NOT EXECUTED 400517a4: 90 10 20 00 clr %o0 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN)) 400517a8: 40 00 19 fe call 40057fa0 <== NOT EXECUTED 400517ac: 92 10 20 08 mov 8, %o1 <== NOT EXECUTED 400517b0: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400517b4: 02 bf ff e3 be 40051740 <== NOT EXECUTED 400517b8: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED return ENXIO; 400517bc: b0 10 20 06 mov 6, %i0 <== NOT EXECUTED printf ("rtems-rfs: buffer-open: cannot obtain the disk\n"); 400517c0: 7f ff a9 71 call 4003bd84 <__wrap_puts> <== NOT EXECUTED 400517c4: 90 12 21 20 or %o0, 0x120, %o0 <== NOT EXECUTED 400517c8: 81 c7 e0 08 ret <== NOT EXECUTED 400517cc: 81 e8 00 00 restore <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN)) 400517d0: 90 10 20 00 clr %o0 <== NOT EXECUTED 400517d4: 40 00 19 f3 call 40057fa0 <== NOT EXECUTED 400517d8: 92 10 20 08 mov 8, %o1 <== NOT EXECUTED 400517dc: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400517e0: 02 bf ff d8 be 40051740 <== NOT EXECUTED 400517e4: 01 00 00 00 nop <== NOT EXECUTED name, strerror (errno)); 400517e8: 40 00 2c 4b call 4005c914 <__errno> <== NOT EXECUTED 400517ec: 01 00 00 00 nop <== NOT EXECUTED printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n", 400517f0: 40 00 4b 6c call 400645a0 <== NOT EXECUTED 400517f4: d0 02 00 00 ld [ %o0 ], %o0 <== NOT EXECUTED 400517f8: 92 10 00 18 mov %i0, %o1 <== NOT EXECUTED 400517fc: 94 10 00 08 mov %o0, %o2 <== NOT EXECUTED return ENXIO; 40051800: b0 10 20 06 mov 6, %i0 <== NOT EXECUTED printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n", 40051804: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051808: 7f ff a9 50 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 4005180c: 90 12 20 b8 or %o0, 0xb8, %o0 ! 400864b8 <== NOT EXECUTED 40051810: 81 c7 e0 08 ret <== NOT EXECUTED 40051814: 81 e8 00 00 restore <== NOT EXECUTED printf ("rtems-rfs: buffer-open: '%s' is not a block device\n", name); 40051818: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED return ENXIO; 4005181c: b0 10 20 06 mov 6, %i0 <== NOT EXECUTED printf ("rtems-rfs: buffer-open: '%s' is not a block device\n", name); 40051820: 7f ff a9 4a call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051824: 90 12 20 e8 or %o0, 0xe8, %o0 <== NOT EXECUTED 40051828: 81 c7 e0 08 ret <== NOT EXECUTED 4005182c: 81 e8 00 00 restore <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC)) 40051830: 40 00 19 dc call 40057fa0 <== NOT EXECUTED 40051834: 92 10 20 20 mov 0x20, %o1 <== NOT EXECUTED 40051838: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005183c: 32 80 00 04 bne,a 4005184c <== NOT EXECUTED 40051840: c2 06 60 10 ld [ %i1 + 0x10 ], %g1 <== NOT EXECUTED } 40051844: 81 c7 e0 08 ret <== NOT EXECUTED 40051848: 81 e8 00 00 restore <== NOT EXECUTED printf ("rtems-rfs: buffer-open: blks=%" PRId32 ", blk-size=%" PRId32 "\n", 4005184c: d4 00 60 20 ld [ %g1 + 0x20 ], %o2 <== NOT EXECUTED 40051850: d2 00 60 1c ld [ %g1 + 0x1c ], %o1 <== NOT EXECUTED 40051854: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051858: 7f ff a9 3c call 4003bd48 <__wrap_printf> <== NOT EXECUTED 4005185c: 90 12 21 50 or %o0, 0x150, %o0 ! 40086550 <== NOT EXECUTED } 40051860: 81 c7 e0 08 ret <== NOT EXECUTED 40051864: 81 e8 00 00 restore <== NOT EXECUTED =============================================================================== 40051990 : { 40051990: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE)) 40051994: 90 10 20 00 clr %o0 <== NOT EXECUTED { 40051998: f2 27 a0 48 st %i1, [ %fp + 0x48 ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE)) 4005199c: 40 00 19 81 call 40057fa0 <== NOT EXECUTED 400519a0: 92 10 24 00 mov 0x400, %o1 <== NOT EXECUTED 400519a4: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400519a8: 12 80 00 37 bne 40051a84 <== NOT EXECUTED 400519ac: d2 07 a0 48 ld [ %fp + 0x48 ], %o1 <== NOT EXECUTED rc = rtems_rfs_buffers_release (fs); 400519b0: 7f ff ff d4 call 40051900 <== NOT EXECUTED 400519b4: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE)) 400519b8: ba 92 20 00 orcc %o0, 0, %i5 <== NOT EXECUTED 400519bc: 14 80 00 25 bg 40051a50 <== NOT EXECUTED 400519c0: 90 10 20 00 clr %o0 <== NOT EXECUTED rc = rtems_rfs_buffer_sync (fs); 400519c4: 7f ff ff a9 call 40051868 <== NOT EXECUTED 400519c8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE)) 400519cc: ba 92 20 00 orcc %o0, 0, %i5 <== NOT EXECUTED 400519d0: 14 80 00 12 bg 40051a18 <== NOT EXECUTED 400519d4: 90 10 20 00 clr %o0 <== NOT EXECUTED rc = fs->disk->ioctl (fs->disk, RTEMS_BLKIO_SETBLKSIZE, &size); 400519d8: d0 06 20 10 ld [ %i0 + 0x10 ], %o0 <== NOT EXECUTED 400519dc: c2 02 20 38 ld [ %o0 + 0x38 ], %g1 <== NOT EXECUTED 400519e0: 94 07 a0 48 add %fp, 0x48, %o2 <== NOT EXECUTED 400519e4: 13 20 01 10 sethi %hi(0x80044000), %o1 <== NOT EXECUTED 400519e8: 9f c0 40 00 call %g1 <== NOT EXECUTED 400519ec: 92 12 62 04 or %o1, 0x204, %o1 ! 80044204 <== NOT EXECUTED if (rc < 0) 400519f0: b0 92 20 00 orcc %o0, 0, %i0 <== NOT EXECUTED 400519f4: 06 80 00 04 bl 40051a04 <== NOT EXECUTED 400519f8: 01 00 00 00 nop <== NOT EXECUTED } 400519fc: 81 c7 e0 08 ret <== NOT EXECUTED 40051a00: 81 e8 00 00 restore <== NOT EXECUTED rc = errno; 40051a04: 40 00 2b c4 call 4005c914 <__errno> <== NOT EXECUTED 40051a08: 01 00 00 00 nop <== NOT EXECUTED 40051a0c: f0 02 00 00 ld [ %o0 ], %i0 <== NOT EXECUTED } 40051a10: 81 c7 e0 08 ret <== NOT EXECUTED 40051a14: 81 e8 00 00 restore <== NOT EXECUTED if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE)) 40051a18: 40 00 19 62 call 40057fa0 <== NOT EXECUTED 40051a1c: 92 10 24 00 mov 0x400, %o1 <== NOT EXECUTED 40051a20: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051a24: 22 bf ff ee be,a 400519dc <== NOT EXECUTED 40051a28: d0 06 20 10 ld [ %i0 + 0x10 ], %o0 <== NOT EXECUTED printf ("rtems-rfs: buffer-setblksize: device sync failed: %d: %s\n", 40051a2c: 40 00 4a dd call 400645a0 <== NOT EXECUTED 40051a30: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED 40051a34: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED 40051a38: 94 10 00 08 mov %o0, %o2 <== NOT EXECUTED 40051a3c: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051a40: 7f ff a8 c2 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051a44: 90 12 22 90 or %o0, 0x290, %o0 ! 40086690 <== NOT EXECUTED rc = fs->disk->ioctl (fs->disk, RTEMS_BLKIO_SETBLKSIZE, &size); 40051a48: 10 bf ff e5 b 400519dc <== NOT EXECUTED 40051a4c: d0 06 20 10 ld [ %i0 + 0x10 ], %o0 <== NOT EXECUTED if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE)) 40051a50: 40 00 19 54 call 40057fa0 <== NOT EXECUTED 40051a54: 92 10 24 00 mov 0x400, %o1 <== NOT EXECUTED 40051a58: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051a5c: 02 bf ff da be 400519c4 <== NOT EXECUTED 40051a60: 01 00 00 00 nop <== NOT EXECUTED printf ("rtems-rfs: buffer-setblksize: buffer release failed: %d: %s\n", 40051a64: 40 00 4a cf call 400645a0 <== NOT EXECUTED 40051a68: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED 40051a6c: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED 40051a70: 94 10 00 08 mov %o0, %o2 <== NOT EXECUTED 40051a74: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051a78: 7f ff a8 b4 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051a7c: 90 12 22 50 or %o0, 0x250, %o0 ! 40086650 <== NOT EXECUTED 40051a80: 30 bf ff d1 b,a 400519c4 <== NOT EXECUTED printf ("rtems-rfs: buffer-setblksize: block size: %" PRIu32 "\n", size); 40051a84: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051a88: 7f ff a8 b0 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051a8c: 90 12 22 20 or %o0, 0x220, %o0 ! 40086620 <== NOT EXECUTED 40051a90: 30 bf ff c8 b,a 400519b0 <== NOT EXECUTED =============================================================================== 40051868 : { 40051868: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC)) 4005186c: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051870: 92 10 20 20 mov 0x20, %o1 <== NOT EXECUTED 40051874: 40 00 19 cb call 40057fa0 <== NOT EXECUTED 40051878: ba 10 00 18 mov %i0, %i5 <== NOT EXECUTED 4005187c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051880: 12 80 00 1d bne 400518f4 <== NOT EXECUTED 40051884: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED sc = rtems_bdbuf_syncdev (rtems_rfs_fs_device (fs)); 40051888: 7f fe d5 79 call 40006e6c <== NOT EXECUTED 4005188c: d0 07 60 10 ld [ %i5 + 0x10 ], %o0 <== NOT EXECUTED int result = 0; 40051890: b0 10 20 00 clr %i0 <== NOT EXECUTED if (sc != RTEMS_SUCCESSFUL) 40051894: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051898: 12 80 00 06 bne 400518b0 <== NOT EXECUTED 4005189c: b8 10 00 08 mov %o0, %i4 <== NOT EXECUTED rtems_disk_release (fs->disk); 400518a0: 7f fe db fb call 4000888c <== NOT EXECUTED 400518a4: d0 07 60 10 ld [ %i5 + 0x10 ], %o0 <== NOT EXECUTED } 400518a8: 81 c7 e0 08 ret <== NOT EXECUTED 400518ac: 81 e8 00 00 restore <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC)) 400518b0: 90 10 20 00 clr %o0 <== NOT EXECUTED 400518b4: 92 10 20 20 mov 0x20, %o1 <== NOT EXECUTED 400518b8: 40 00 19 ba call 40057fa0 <== NOT EXECUTED 400518bc: b0 10 20 05 mov 5, %i0 <== NOT EXECUTED 400518c0: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400518c4: 02 bf ff f7 be 400518a0 <== NOT EXECUTED 400518c8: 01 00 00 00 nop <== NOT EXECUTED printf ("rtems-rfs: buffer-sync: device sync failed: %s\n", 400518cc: 7f ff 1f 36 call 400195a4 <== NOT EXECUTED 400518d0: 90 10 00 1c mov %i4, %o0 <== NOT EXECUTED 400518d4: 92 10 00 08 mov %o0, %o1 <== NOT EXECUTED 400518d8: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 400518dc: 7f ff a9 1b call 4003bd48 <__wrap_printf> <== NOT EXECUTED 400518e0: 90 12 21 a0 or %o0, 0x1a0, %o0 ! 400865a0 <== NOT EXECUTED rtems_disk_release (fs->disk); 400518e4: 7f fe db ea call 4000888c <== NOT EXECUTED 400518e8: d0 07 60 10 ld [ %i5 + 0x10 ], %o0 <== NOT EXECUTED } 400518ec: 81 c7 e0 08 ret <== NOT EXECUTED 400518f0: 81 e8 00 00 restore <== NOT EXECUTED printf ("rtems-rfs: buffer-sync: syncing\n"); 400518f4: 7f ff a9 24 call 4003bd84 <__wrap_puts> <== NOT EXECUTED 400518f8: 90 12 21 80 or %o0, 0x180, %o0 <== NOT EXECUTED 400518fc: 30 bf ff e3 b,a 40051888 <== NOT EXECUTED =============================================================================== 40051900 : int rtems_rfs_buffers_release (rtems_rfs_file_system* fs) { 40051900: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED int rrc = 0; int rc; if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE)) 40051904: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051908: 92 10 20 40 mov 0x40, %o1 <== NOT EXECUTED 4005190c: 40 00 19 a5 call 40057fa0 <== NOT EXECUTED 40051910: ba 10 00 18 mov %i0, %i5 <== NOT EXECUTED 40051914: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051918: 32 80 00 17 bne,a 40051974 <== NOT EXECUTED 4005191c: d6 06 20 70 ld [ %i0 + 0x70 ], %o3 <== NOT EXECUTED printf ("rtems-rfs: buffers-release: active:%" PRIu32 " " "release:%" PRIu32 " release-modified:%" PRIu32 "\n", fs->buffers_count, fs->release_count, fs->release_modified_count); rc = rtems_rfs_release_chain (&fs->release, 40051920: 94 10 20 00 clr %o2 <== NOT EXECUTED 40051924: 92 07 60 60 add %i5, 0x60, %o1 <== NOT EXECUTED 40051928: 7f ff fd e1 call 400510ac <== NOT EXECUTED 4005192c: 90 07 60 54 add %i5, 0x54, %o0 <== NOT EXECUTED 40051930: 92 07 60 70 add %i5, 0x70, %o1 <== NOT EXECUTED 40051934: b0 10 00 08 mov %o0, %i0 <== NOT EXECUTED &fs->release_count, false); if ((rc > 0) && (rrc == 0)) rrc = rc; rc = rtems_rfs_release_chain (&fs->release_modified, 40051938: 94 10 20 01 mov 1, %o2 <== NOT EXECUTED if ((rc > 0) && (rrc == 0)) 4005193c: 80 a6 20 00 cmp %i0, 0 <== NOT EXECUTED 40051940: 04 80 00 06 ble 40051958 <== NOT EXECUTED 40051944: 90 07 60 64 add %i5, 0x64, %o0 <== NOT EXECUTED rc = rtems_rfs_release_chain (&fs->release_modified, 40051948: 7f ff fd d9 call 400510ac <== NOT EXECUTED 4005194c: 01 00 00 00 nop <== NOT EXECUTED true); if ((rc > 0) && (rrc == 0)) rrc = rc; return rrc; } 40051950: 81 c7 e0 08 ret <== NOT EXECUTED 40051954: 81 e8 00 00 restore <== NOT EXECUTED rc = rtems_rfs_release_chain (&fs->release_modified, 40051958: 7f ff fd d5 call 400510ac <== NOT EXECUTED 4005195c: 01 00 00 00 nop <== NOT EXECUTED 40051960: 82 38 00 08 xnor %g0, %o0, %g1 <== NOT EXECUTED 40051964: 83 38 60 1f sra %g1, 0x1f, %g1 <== NOT EXECUTED 40051968: b0 0a 00 01 and %o0, %g1, %i0 <== NOT EXECUTED 4005196c: 81 c7 e0 08 ret <== NOT EXECUTED 40051970: 81 e8 00 00 restore <== NOT EXECUTED printf ("rtems-rfs: buffers-release: active:%" PRIu32 " " 40051974: d4 06 20 60 ld [ %i0 + 0x60 ], %o2 <== NOT EXECUTED 40051978: d2 06 20 50 ld [ %i0 + 0x50 ], %o1 <== NOT EXECUTED 4005197c: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051980: 7f ff a8 f2 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051984: 90 12 21 d0 or %o0, 0x1d0, %o0 ! 400865d0 <== NOT EXECUTED rc = rtems_rfs_release_chain (&fs->release, 40051988: 10 bf ff e7 b 40051924 <== NOT EXECUTED 4005198c: 94 10 20 00 clr %o2 <== NOT EXECUTED =============================================================================== 400520b8 : rtems_rfs_dir_add_entry (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir, const char* name, size_t length, rtems_rfs_ino ino) { 400520b8: 9d e3 bf 30 save %sp, -208, %sp <== NOT EXECUTED rtems_rfs_block_map map; rtems_rfs_block_pos bpos; rtems_rfs_buffer_handle buffer; int rc; if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY)) 400520bc: 90 10 20 00 clr %o0 <== NOT EXECUTED 400520c0: 40 00 17 b8 call 40057fa0 <== NOT EXECUTED 400520c4: 13 08 00 00 sethi %hi(0x20000000), %o1 <== NOT EXECUTED 400520c8: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400520cc: 12 80 00 3e bne 400521c4 <== NOT EXECUTED 400520d0: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED for (c = 0; c < length; c++) printf ("%c", name[c]); printf (", len=%zd\n", length); } rc = rtems_rfs_block_map_open (fs, dir, &map); 400520d4: 94 07 bf b0 add %fp, -80, %o2 <== NOT EXECUTED 400520d8: 7f ff f8 92 call 40050320 <== NOT EXECUTED 400520dc: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 400520e0: a0 92 20 00 orcc %o0, 0, %l0 <== NOT EXECUTED 400520e4: 24 80 00 04 ble,a 400520f4 <== NOT EXECUTED 400520e8: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED } rtems_rfs_buffer_handle_close (fs, &buffer); rtems_rfs_block_map_close (fs, &map); return rc; } 400520ec: 81 c7 e0 08 ret <== NOT EXECUTED 400520f0: 91 e8 00 10 restore %g0, %l0, %o0 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 400520f4: 27 00 00 3f sethi %hi(0xfc00), %l3 <== NOT EXECUTED handle->bnum = 0; 400520f8: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED 400520fc: a6 14 e3 ff or %l3, 0x3ff, %l3 <== NOT EXECUTED handle->buffer = NULL; 40052100: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) < 40052104: a4 06 e0 0a add %i3, 0xa, %l2 <== NOT EXECUTED bpos->bno = 0; 40052108: c0 27 bf 98 clr [ %fp + -104 ] <== NOT EXECUTED bpos->boff = 0; 4005210c: c0 27 bf 9c clr [ %fp + -100 ] <== NOT EXECUTED bpos->block = 0; 40052110: c0 27 bf a0 clr [ %fp + -96 ] <== NOT EXECUTED rc = rtems_rfs_block_map_find (fs, &map, &bpos, &block); 40052114: 96 07 bf 94 add %fp, -108, %o3 <== NOT EXECUTED 40052118: 94 07 bf 98 add %fp, -104, %o2 <== NOT EXECUTED 4005211c: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40052120: 7f ff f9 52 call 40050668 <== NOT EXECUTED 40052124: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052128: a0 92 20 00 orcc %o0, 0, %l0 <== NOT EXECUTED 4005212c: 04 80 00 88 ble 4005234c <== NOT EXECUTED 40052130: 80 a4 20 06 cmp %l0, 6 <== NOT EXECUTED if (rc != ENXIO) 40052134: 12 80 00 d9 bne 40052498 <== NOT EXECUTED 40052138: 96 07 bf 94 add %fp, -108, %o3 <== NOT EXECUTED rc = rtems_rfs_block_map_grow (fs, &map, 1, &block); 4005213c: 94 10 20 01 mov 1, %o2 <== NOT EXECUTED 40052140: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40052144: 7f ff f9 cd call 40050878 <== NOT EXECUTED 40052148: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 4005214c: a0 92 20 00 orcc %o0, 0, %l0 <== NOT EXECUTED 40052150: 14 80 00 c1 bg 40052454 <== NOT EXECUTED 40052154: c2 07 bf 98 ld [ %fp + -104 ], %g1 <== NOT EXECUTED bpos.bno++; 40052158: 82 00 60 01 inc %g1 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read); 4005215c: d4 07 bf 94 ld [ %fp + -108 ], %o2 <== NOT EXECUTED 40052160: 96 10 20 00 clr %o3 <== NOT EXECUTED bpos.bno++; 40052164: c2 27 bf 98 st %g1, [ %fp + -104 ] <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read); 40052168: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 4005216c: 7f ff fc 87 call 40051388 <== NOT EXECUTED 40052170: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052174: a0 92 20 00 orcc %o0, 0, %l0 <== NOT EXECUTED 40052178: 04 80 00 27 ble 40052214 <== NOT EXECUTED 4005217c: c2 07 bf ac ld [ %fp + -84 ], %g1 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY)) 40052180: 90 10 20 00 clr %o0 <== NOT EXECUTED 40052184: 40 00 17 87 call 40057fa0 <== NOT EXECUTED 40052188: 13 08 00 00 sethi %hi(0x20000000), %o1 <== NOT EXECUTED 4005218c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052190: 32 80 00 a7 bne,a 4005242c <== NOT EXECUTED 40052194: fa 06 60 08 ld [ %i1 + 8 ], %i5 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40052198: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 4005219c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 400521a0: 7f ff fd 41 call 400516a4 <== NOT EXECUTED 400521a4: 01 00 00 00 nop <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 400521a8: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED handle->dirty = false; 400521ac: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED 400521b0: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->bnum = 0; 400521b4: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED 400521b8: 7f ff f8 b9 call 4005049c <== NOT EXECUTED 400521bc: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED return rc; 400521c0: 30 bf ff cb b,a 400520ec <== NOT EXECUTED printf ("rtems-rfs: dir-add-entry: dir=%" PRId32 ", name=", 400521c4: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED 400521c8: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 400521cc: 7f ff a6 df call 4003bd48 <__wrap_printf> <== NOT EXECUTED 400521d0: 90 12 22 40 or %o0, 0x240, %o0 ! 40086a40 <== NOT EXECUTED for (c = 0; c < length; c++) 400521d4: 80 a6 e0 00 cmp %i3, 0 <== NOT EXECUTED 400521d8: 02 80 00 09 be 400521fc <== NOT EXECUTED 400521dc: a0 06 c0 1a add %i3, %i2, %l0 <== NOT EXECUTED 400521e0: ba 10 00 1a mov %i2, %i5 <== NOT EXECUTED printf ("%c", name[c]); 400521e4: 7f ff a6 ee call 4003bd9c <__wrap_putchar> <== NOT EXECUTED 400521e8: d0 4f 40 00 ldsb [ %i5 ], %o0 <== NOT EXECUTED 400521ec: ba 07 60 01 inc %i5 <== NOT EXECUTED for (c = 0; c < length; c++) 400521f0: 80 a4 00 1d cmp %l0, %i5 <== NOT EXECUTED 400521f4: 12 bf ff fc bne 400521e4 <== NOT EXECUTED 400521f8: 01 00 00 00 nop <== NOT EXECUTED printf (", len=%zd\n", length); 400521fc: 92 10 00 1b mov %i3, %o1 <== NOT EXECUTED 40052200: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 40052204: 7f ff a6 d1 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052208: 90 12 22 70 or %o0, 0x270, %o0 ! 40086a70 <== NOT EXECUTED rc = rtems_rfs_block_map_open (fs, dir, &map); 4005220c: 10 bf ff b2 b 400520d4 <== NOT EXECUTED 40052210: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED entry = rtems_rfs_buffer_data (&buffer); 40052214: fa 00 60 1c ld [ %g1 + 0x1c ], %i5 <== NOT EXECUTED memset (entry, 0xff, rtems_rfs_fs_block_size (fs)); 40052218: d4 06 20 08 ld [ %i0 + 8 ], %o2 <== NOT EXECUTED 4005221c: 92 10 20 ff mov 0xff, %o1 <== NOT EXECUTED 40052220: 40 00 3b f6 call 400611f8 <== NOT EXECUTED 40052224: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE)) 40052228: c8 06 20 08 ld [ %i0 + 8 ], %g4 <== NOT EXECUTED 4005222c: 86 81 3f f6 addcc %g4, -10, %g3 <== NOT EXECUTED 40052230: 02 bf ff ba be 40052118 <== NOT EXECUTED 40052234: 96 07 bf 94 add %fp, -108, %o3 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052238: d4 0f 60 08 ldub [ %i5 + 8 ], %o2 <== NOT EXECUTED 4005223c: e0 0f 60 09 ldub [ %i5 + 9 ], %l0 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052240: c4 0f 40 00 ldub [ %i5 ], %g2 <== NOT EXECUTED 40052244: c2 0f 60 01 ldub [ %i5 + 1 ], %g1 <== NOT EXECUTED 40052248: e2 0f 60 02 ldub [ %i5 + 2 ], %l1 <== NOT EXECUTED 4005224c: d6 0f 60 03 ldub [ %i5 + 3 ], %o3 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052250: 95 2a a0 08 sll %o2, 8, %o2 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052254: 85 28 a0 18 sll %g2, 0x18, %g2 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052258: a0 14 00 0a or %l0, %o2, %l0 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 4005225c: 83 28 60 10 sll %g1, 0x10, %g1 <== NOT EXECUTED 40052260: a3 2c 60 08 sll %l1, 8, %l1 <== NOT EXECUTED 40052264: 82 10 40 02 or %g1, %g2, %g1 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40052268: 80 a4 00 13 cmp %l0, %l3 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 4005226c: a2 14 40 01 or %l1, %g1, %l1 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40052270: 02 80 00 4d be 400523a4 <== NOT EXECUTED 40052274: a2 12 c0 11 or %o3, %l1, %l1 <== NOT EXECUTED offset = 0; 40052278: 10 80 00 1f b 400522f4 <== NOT EXECUTED 4005227c: a8 10 20 00 clr %l4 <== NOT EXECUTED if (rtems_rfs_dir_entry_valid (fs, elength, eino)) 40052280: 80 a0 40 10 cmp %g1, %l0 <== NOT EXECUTED 40052284: 08 80 00 1f bleu 40052300 <== NOT EXECUTED 40052288: 80 a4 60 00 cmp %l1, 0 <== NOT EXECUTED 4005228c: 02 80 00 1e be 40052304 <== NOT EXECUTED 40052290: 90 10 20 00 clr %o0 <== NOT EXECUTED 40052294: c2 06 20 14 ld [ %i0 + 0x14 ], %g1 <== NOT EXECUTED 40052298: 80 a0 40 11 cmp %g1, %l1 <== NOT EXECUTED 4005229c: 0a 80 00 1a bcs 40052304 <== NOT EXECUTED 400522a0: 01 00 00 00 nop <== NOT EXECUTED offset += elength; 400522a4: a8 05 00 10 add %l4, %l0, %l4 <== NOT EXECUTED while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE)) 400522a8: 80 a0 c0 14 cmp %g3, %l4 <== NOT EXECUTED 400522ac: 08 bf ff 9a bleu 40052114 <== NOT EXECUTED 400522b0: ba 07 40 10 add %i5, %l0, %i5 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 400522b4: d4 0f 60 08 ldub [ %i5 + 8 ], %o2 <== NOT EXECUTED 400522b8: e0 0f 60 09 ldub [ %i5 + 9 ], %l0 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 400522bc: c4 0f 40 00 ldub [ %i5 ], %g2 <== NOT EXECUTED 400522c0: c2 0f 60 01 ldub [ %i5 + 1 ], %g1 <== NOT EXECUTED 400522c4: d6 0f 60 02 ldub [ %i5 + 2 ], %o3 <== NOT EXECUTED 400522c8: e2 0f 60 03 ldub [ %i5 + 3 ], %l1 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 400522cc: 95 2a a0 08 sll %o2, 8, %o2 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 400522d0: 85 28 a0 18 sll %g2, 0x18, %g2 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 400522d4: a0 14 00 0a or %l0, %o2, %l0 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 400522d8: 83 28 60 10 sll %g1, 0x10, %g1 <== NOT EXECUTED 400522dc: 97 2a e0 08 sll %o3, 8, %o3 <== NOT EXECUTED 400522e0: 82 10 40 02 or %g1, %g2, %g1 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 400522e4: 80 a4 00 13 cmp %l0, %l3 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 400522e8: 96 12 c0 01 or %o3, %g1, %o3 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 400522ec: 02 80 00 2d be 400523a0 <== NOT EXECUTED 400522f0: a2 14 40 0b or %l1, %o3, %l1 <== NOT EXECUTED if (rtems_rfs_dir_entry_valid (fs, elength, eino)) 400522f4: 80 a4 20 0a cmp %l0, 0xa <== NOT EXECUTED 400522f8: 34 bf ff e2 bg,a 40052280 <== NOT EXECUTED 400522fc: c2 06 20 1c ld [ %i0 + 0x1c ], %g1 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY)) 40052300: 90 10 20 00 clr %o0 <== NOT EXECUTED 40052304: 40 00 17 27 call 40057fa0 <== NOT EXECUTED 40052308: 13 08 00 00 sethi %hi(0x20000000), %o1 <== NOT EXECUTED 4005230c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052310: 32 80 00 1c bne,a 40052380 <== NOT EXECUTED 40052314: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40052318: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 4005231c: 7f ff fc e2 call 400516a4 <== NOT EXECUTED 40052320: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 40052324: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED handle->dirty = false; 40052328: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED 4005232c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->bnum = 0; 40052330: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED return EIO; 40052334: a0 10 20 05 mov 5, %l0 <== NOT EXECUTED handle->buffer = NULL; 40052338: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 4005233c: 7f ff f8 58 call 4005049c <== NOT EXECUTED 40052340: b0 10 00 10 mov %l0, %i0 <== NOT EXECUTED } 40052344: 81 c7 e0 08 ret <== NOT EXECUTED 40052348: 81 e8 00 00 restore <== NOT EXECUTED bpos.bno++; 4005234c: c2 07 bf 98 ld [ %fp + -104 ], %g1 <== NOT EXECUTED 40052350: 82 00 60 01 inc %g1 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read); 40052354: d4 07 bf 94 ld [ %fp + -108 ], %o2 <== NOT EXECUTED 40052358: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED bpos.bno++; 4005235c: c2 27 bf 98 st %g1, [ %fp + -104 ] <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read); 40052360: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 40052364: 7f ff fc 09 call 40051388 <== NOT EXECUTED 40052368: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 4005236c: a0 92 20 00 orcc %o0, 0, %l0 <== NOT EXECUTED 40052370: 14 bf ff 84 bg 40052180 <== NOT EXECUTED 40052374: c2 07 bf ac ld [ %fp + -84 ], %g1 <== NOT EXECUTED entry = rtems_rfs_buffer_data (&buffer); 40052378: 10 bf ff ac b 40052228 <== NOT EXECUTED 4005237c: fa 00 60 1c ld [ %g1 + 0x1c ], %i5 <== NOT EXECUTED printf ("rtems-rfs: dir-add-entry: " 40052380: 98 10 00 14 mov %l4, %o4 <== NOT EXECUTED 40052384: 96 10 00 11 mov %l1, %o3 <== NOT EXECUTED 40052388: 94 10 00 10 mov %l0, %o2 <== NOT EXECUTED 4005238c: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 40052390: 7f ff a6 6e call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052394: 90 12 23 58 or %o0, 0x358, %o0 ! 40086b58 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40052398: 10 bf ff e1 b 4005231c <== NOT EXECUTED 4005239c: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 400523a0: 88 21 00 14 sub %g4, %l4, %g4 <== NOT EXECUTED if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) < 400523a4: 80 a4 80 04 cmp %l2, %g4 <== NOT EXECUTED 400523a8: 1a bf ff 5c bcc 40052118 <== NOT EXECUTED 400523ac: 96 07 bf 94 add %fp, -108, %o3 <== NOT EXECUTED hash = rtems_rfs_dir_hash (name, length); 400523b0: 92 10 00 1b mov %i3, %o1 <== NOT EXECUTED 400523b4: 40 00 27 23 call 4005c040 <== NOT EXECUTED 400523b8: 90 10 00 1a mov %i2, %o0 <== NOT EXECUTED rtems_rfs_dir_set_entry_hash (entry, hash); 400523bc: 87 32 20 18 srl %o0, 0x18, %g3 <== NOT EXECUTED 400523c0: 85 32 20 10 srl %o0, 0x10, %g2 <== NOT EXECUTED 400523c4: 83 32 20 08 srl %o0, 8, %g1 <== NOT EXECUTED rtems_rfs_dir_set_entry_ino (entry, ino); 400523c8: 89 37 20 18 srl %i4, 0x18, %g4 <== NOT EXECUTED rtems_rfs_dir_set_entry_hash (entry, hash); 400523cc: c6 2f 60 04 stb %g3, [ %i5 + 4 ] <== NOT EXECUTED rtems_rfs_dir_set_entry_ino (entry, ino); 400523d0: 87 37 20 10 srl %i4, 0x10, %g3 <== NOT EXECUTED rtems_rfs_dir_set_entry_hash (entry, hash); 400523d4: c4 2f 60 05 stb %g2, [ %i5 + 5 ] <== NOT EXECUTED rtems_rfs_dir_set_entry_ino (entry, ino); 400523d8: 85 37 20 08 srl %i4, 8, %g2 <== NOT EXECUTED rtems_rfs_dir_set_entry_hash (entry, hash); 400523dc: c2 2f 60 06 stb %g1, [ %i5 + 6 ] <== NOT EXECUTED rtems_rfs_dir_set_entry_length (entry, 400523e0: 83 2c a0 10 sll %l2, 0x10, %g1 <== NOT EXECUTED rtems_rfs_dir_set_entry_hash (entry, hash); 400523e4: d0 2f 60 07 stb %o0, [ %i5 + 7 ] <== NOT EXECUTED rtems_rfs_dir_set_entry_length (entry, 400523e8: 83 30 60 18 srl %g1, 0x18, %g1 <== NOT EXECUTED rtems_rfs_dir_set_entry_ino (entry, ino); 400523ec: c8 2f 40 00 stb %g4, [ %i5 ] <== NOT EXECUTED memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length); 400523f0: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED rtems_rfs_dir_set_entry_length (entry, 400523f4: c2 2f 60 08 stb %g1, [ %i5 + 8 ] <== NOT EXECUTED memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length); 400523f8: 94 10 00 1b mov %i3, %o2 <== NOT EXECUTED rtems_rfs_dir_set_entry_ino (entry, ino); 400523fc: c6 2f 60 01 stb %g3, [ %i5 + 1 ] <== NOT EXECUTED memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length); 40052400: 90 07 60 0a add %i5, 0xa, %o0 <== NOT EXECUTED rtems_rfs_dir_set_entry_ino (entry, ino); 40052404: c4 2f 60 02 stb %g2, [ %i5 + 2 ] <== NOT EXECUTED return 0; 40052408: a0 10 20 00 clr %l0 <== NOT EXECUTED rtems_rfs_dir_set_entry_ino (entry, ino); 4005240c: f8 2f 60 03 stb %i4, [ %i5 + 3 ] <== NOT EXECUTED memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length); 40052410: 40 00 3a f0 call 40060fd0 <== NOT EXECUTED 40052414: e4 2f 60 09 stb %l2, [ %i5 + 9 ] <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (&buffer); 40052418: 82 10 20 01 mov 1, %g1 <== NOT EXECUTED 4005241c: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 40052420: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 40052424: 10 bf ff 5f b 400521a0 <== NOT EXECUTED 40052428: c2 2f bf a4 stb %g1, [ %fp + -92 ] <== NOT EXECUTED printf ("rtems-rfs: dir-add-entry: " 4005242c: 40 00 48 5d call 400645a0 <== NOT EXECUTED 40052430: 90 10 00 10 mov %l0, %o0 <== NOT EXECUTED 40052434: 94 10 00 10 mov %l0, %o2 <== NOT EXECUTED 40052438: 96 10 00 08 mov %o0, %o3 <== NOT EXECUTED 4005243c: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED 40052440: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 40052444: 7f ff a6 41 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052448: 90 12 23 10 or %o0, 0x310, %o0 ! 40086b10 <== NOT EXECUTED 4005244c: 10 bf ff 54 b 4005219c <== NOT EXECUTED 40052450: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY)) 40052454: 90 10 20 00 clr %o0 <== NOT EXECUTED 40052458: 40 00 16 d2 call 40057fa0 <== NOT EXECUTED 4005245c: 13 08 00 00 sethi %hi(0x20000000), %o1 <== NOT EXECUTED 40052460: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052464: 22 bf ff 4e be,a 4005219c <== NOT EXECUTED 40052468: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED printf ("rtems-rfs: dir-add-entry: " 4005246c: fa 06 60 08 ld [ %i1 + 8 ], %i5 <== NOT EXECUTED 40052470: 40 00 48 4c call 400645a0 <== NOT EXECUTED 40052474: 90 10 00 10 mov %l0, %o0 <== NOT EXECUTED 40052478: 94 10 00 10 mov %l0, %o2 <== NOT EXECUTED 4005247c: 96 10 00 08 mov %o0, %o3 <== NOT EXECUTED 40052480: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED 40052484: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 40052488: 7f ff a6 30 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 4005248c: 90 12 22 c8 or %o0, 0x2c8, %o0 ! 40086ac8 <== NOT EXECUTED 40052490: 10 bf ff 43 b 4005219c <== NOT EXECUTED 40052494: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY)) 40052498: 90 10 20 00 clr %o0 <== NOT EXECUTED 4005249c: 40 00 16 c1 call 40057fa0 <== NOT EXECUTED 400524a0: 13 08 00 00 sethi %hi(0x20000000), %o1 <== NOT EXECUTED 400524a4: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400524a8: 22 bf ff 3d be,a 4005219c <== NOT EXECUTED 400524ac: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED printf ("rtems-rfs: dir-add-entry: " 400524b0: fa 06 60 08 ld [ %i1 + 8 ], %i5 <== NOT EXECUTED 400524b4: 40 00 48 3b call 400645a0 <== NOT EXECUTED 400524b8: 90 10 00 10 mov %l0, %o0 <== NOT EXECUTED 400524bc: 94 10 00 10 mov %l0, %o2 <== NOT EXECUTED 400524c0: 96 10 00 08 mov %o0, %o3 <== NOT EXECUTED 400524c4: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED 400524c8: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 400524cc: 7f ff a6 1f call 4003bd48 <__wrap_printf> <== NOT EXECUTED 400524d0: 90 12 22 80 or %o0, 0x280, %o0 ! 40086a80 <== NOT EXECUTED 400524d4: 10 bf ff 32 b 4005219c <== NOT EXECUTED 400524d8: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED =============================================================================== 400524dc : int rtems_rfs_dir_del_entry (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir, rtems_rfs_ino ino, uint32_t offset) { 400524dc: 9d e3 bf 40 save %sp, -192, %sp <== NOT EXECUTED rtems_rfs_block_no block; rtems_rfs_buffer_handle buffer; bool search; int rc; if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY)) 400524e0: 90 10 20 00 clr %o0 <== NOT EXECUTED 400524e4: 40 00 16 af call 40057fa0 <== NOT EXECUTED 400524e8: 13 10 00 00 sethi %hi(0x40000000), %o1 <== NOT EXECUTED 400524ec: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400524f0: 12 80 00 0a bne 40052518 <== NOT EXECUTED 400524f4: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED printf ("rtems-rfs: dir-del-entry: dir=%" PRId32 ", entry=%" PRId32 " offset=%" PRIu32 "\n", rtems_rfs_inode_ino (dir), ino, offset); rc = rtems_rfs_block_map_open (fs, dir, &map); 400524f8: 94 07 bf b0 add %fp, -80, %o2 <== NOT EXECUTED 400524fc: 7f ff f7 89 call 40050320 <== NOT EXECUTED 40052500: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052504: a4 92 20 00 orcc %o0, 0, %l2 <== NOT EXECUTED 40052508: 04 80 00 11 ble 4005254c <== NOT EXECUTED 4005250c: 94 10 20 00 clr %o2 <== NOT EXECUTED } rtems_rfs_buffer_handle_close (fs, &buffer); rtems_rfs_block_map_close (fs, &map); return rc; } 40052510: 81 c7 e0 08 ret <== NOT EXECUTED 40052514: 91 e8 00 12 restore %g0, %l2, %o0 <== NOT EXECUTED printf ("rtems-rfs: dir-del-entry: dir=%" PRId32 ", entry=%" PRId32 " offset=%" PRIu32 "\n", 40052518: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED 4005251c: 96 10 00 1b mov %i3, %o3 <== NOT EXECUTED 40052520: 94 10 00 1a mov %i2, %o2 <== NOT EXECUTED 40052524: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 40052528: 7f ff a6 08 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 4005252c: 90 12 23 a0 or %o0, 0x3a0, %o0 ! 40086ba0 <== NOT EXECUTED rc = rtems_rfs_block_map_open (fs, dir, &map); 40052530: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED 40052534: 94 07 bf b0 add %fp, -80, %o2 <== NOT EXECUTED 40052538: 7f ff f7 7a call 40050320 <== NOT EXECUTED 4005253c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052540: a4 92 20 00 orcc %o0, 0, %l2 <== NOT EXECUTED 40052544: 14 bf ff f3 bg 40052510 <== NOT EXECUTED 40052548: 94 10 20 00 clr %o2 <== NOT EXECUTED rc = rtems_rfs_block_map_seek (fs, &map, offset, &block); 4005254c: 98 07 bf a0 add %fp, -96, %o4 <== NOT EXECUTED 40052550: 96 10 00 1b mov %i3, %o3 <== NOT EXECUTED 40052554: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40052558: 7f ff f8 9d call 400507cc <== NOT EXECUTED 4005255c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052560: a4 92 20 00 orcc %o0, 0, %l2 <== NOT EXECUTED 40052564: 04 80 00 0a ble 4005258c <== NOT EXECUTED 40052568: 80 a4 a0 06 cmp %l2, 6 <== NOT EXECUTED if (rc == ENXIO) 4005256c: 22 80 00 02 be,a 40052574 <== NOT EXECUTED 40052570: a4 10 20 02 mov 2, %l2 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 40052574: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40052578: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 4005257c: 7f ff f7 c8 call 4005049c <== NOT EXECUTED 40052580: b0 10 00 12 mov %l2, %i0 <== NOT EXECUTED } 40052584: 81 c7 e0 08 ret <== NOT EXECUTED 40052588: 81 e8 00 00 restore <== NOT EXECUTED handle->dirty = false; 4005258c: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40052590: 27 00 00 3f sethi %hi(0xfc00), %l3 <== NOT EXECUTED handle->bnum = 0; 40052594: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED 40052598: a6 14 e3 ff or %l3, 0x3ff, %l3 <== NOT EXECUTED handle->buffer = NULL; 4005259c: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true); 400525a0: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED 400525a4: d4 07 bf a0 ld [ %fp + -96 ], %o2 <== NOT EXECUTED 400525a8: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 400525ac: 7f ff fb 77 call 40051388 <== NOT EXECUTED 400525b0: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 400525b4: a4 92 20 00 orcc %o0, 0, %l2 <== NOT EXECUTED 400525b8: 14 80 00 c5 bg 400528cc <== NOT EXECUTED 400525bc: 80 a6 e0 00 cmp %i3, 0 <== NOT EXECUTED if (search) 400525c0: 02 80 00 46 be 400526d8 <== NOT EXECUTED 400525c4: c8 06 20 08 ld [ %i0 + 8 ], %g4 <== NOT EXECUTED eoffset = offset % rtems_rfs_fs_block_size (fs); 400525c8: 81 80 20 00 wr %g0, %y <== NOT EXECUTED 400525cc: 01 00 00 00 nop <== NOT EXECUTED 400525d0: 01 00 00 00 nop <== NOT EXECUTED 400525d4: 01 00 00 00 nop <== NOT EXECUTED 400525d8: 82 76 c0 04 udiv %i3, %g4, %g1 <== NOT EXECUTED 400525dc: 82 58 40 04 smul %g1, %g4, %g1 <== NOT EXECUTED 400525e0: 82 26 c0 01 sub %i3, %g1, %g1 <== NOT EXECUTED 400525e4: a2 10 00 01 mov %g1, %l1 <== NOT EXECUTED entry = rtems_rfs_buffer_data (&buffer) + eoffset; 400525e8: c4 07 bf ac ld [ %fp + -84 ], %g2 <== NOT EXECUTED 400525ec: c4 00 a0 1c ld [ %g2 + 0x1c ], %g2 <== NOT EXECUTED while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE)) 400525f0: 9e 01 3f f6 add %g4, -10, %o7 <== NOT EXECUTED 400525f4: 80 a3 c0 01 cmp %o7, %g1 <== NOT EXECUTED 400525f8: 08 80 00 2b bleu 400526a4 <== NOT EXECUTED 400525fc: ba 00 80 01 add %g2, %g1, %i5 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052600: c6 0f 60 08 ldub [ %i5 + 8 ], %g3 <== NOT EXECUTED 40052604: f8 0f 60 09 ldub [ %i5 + 9 ], %i4 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052608: 10 80 00 1a b 40052670 <== NOT EXECUTED 4005260c: c4 08 80 01 ldub [ %g2 + %g1 ], %g2 <== NOT EXECUTED if (rtems_rfs_dir_entry_valid (fs, elength, eino)) 40052610: 80 a7 20 0a cmp %i4, 0xa <== NOT EXECUTED 40052614: 04 80 00 34 ble 400526e4 <== NOT EXECUTED 40052618: 90 10 20 00 clr %o0 <== NOT EXECUTED 4005261c: c2 06 20 1c ld [ %i0 + 0x1c ], %g1 <== NOT EXECUTED 40052620: 80 a0 40 1c cmp %g1, %i4 <== NOT EXECUTED 40052624: 08 80 00 30 bleu 400526e4 <== NOT EXECUTED 40052628: 80 a4 20 00 cmp %l0, 0 <== NOT EXECUTED 4005262c: 02 80 00 2f be 400526e8 <== NOT EXECUTED 40052630: 13 10 00 00 sethi %hi(0x40000000), %o1 <== NOT EXECUTED 40052634: c2 06 20 14 ld [ %i0 + 0x14 ], %g1 <== NOT EXECUTED 40052638: 80 a0 40 10 cmp %g1, %l0 <== NOT EXECUTED 4005263c: 0a 80 00 2a bcs 400526e4 <== NOT EXECUTED 40052640: 80 a6 80 10 cmp %i2, %l0 <== NOT EXECUTED if (ino == rtems_rfs_dir_entry_ino (entry)) 40052644: 02 80 00 43 be 40052750 <== NOT EXECUTED 40052648: 80 a6 e0 00 cmp %i3, 0 <== NOT EXECUTED if (!search) 4005264c: 32 80 00 19 bne,a 400526b0 <== NOT EXECUTED 40052650: a4 10 20 05 mov 5, %l2 <== NOT EXECUTED eoffset += elength; 40052654: a2 04 40 1c add %l1, %i4, %l1 <== NOT EXECUTED while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE)) 40052658: 80 a4 40 0f cmp %l1, %o7 <== NOT EXECUTED 4005265c: 1a 80 00 12 bcc 400526a4 <== NOT EXECUTED 40052660: ba 07 40 1c add %i5, %i4, %i5 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052664: c6 0f 60 08 ldub [ %i5 + 8 ], %g3 <== NOT EXECUTED 40052668: f8 0f 60 09 ldub [ %i5 + 9 ], %i4 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 4005266c: c4 0f 40 00 ldub [ %i5 ], %g2 <== NOT EXECUTED 40052670: c2 0f 60 01 ldub [ %i5 + 1 ], %g1 <== NOT EXECUTED 40052674: d6 0f 60 02 ldub [ %i5 + 2 ], %o3 <== NOT EXECUTED 40052678: e0 0f 60 03 ldub [ %i5 + 3 ], %l0 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 4005267c: 87 28 e0 08 sll %g3, 8, %g3 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052680: 85 28 a0 18 sll %g2, 0x18, %g2 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052684: b8 17 00 03 or %i4, %g3, %i4 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052688: 83 28 60 10 sll %g1, 0x10, %g1 <== NOT EXECUTED 4005268c: 97 2a e0 08 sll %o3, 8, %o3 <== NOT EXECUTED 40052690: 82 10 40 02 or %g1, %g2, %g1 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40052694: 80 a7 00 13 cmp %i4, %l3 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052698: 96 12 c0 01 or %o3, %g1, %o3 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 4005269c: 12 bf ff dd bne 40052610 <== NOT EXECUTED 400526a0: a0 14 00 0b or %l0, %o3, %l0 <== NOT EXECUTED if (rc == 0) 400526a4: 80 a4 a0 00 cmp %l2, 0 <== NOT EXECUTED 400526a8: 02 80 00 1f be 40052724 <== NOT EXECUTED 400526ac: 94 07 bf a0 add %fp, -96, %o2 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 400526b0: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 400526b4: 7f ff fb fc call 400516a4 <== NOT EXECUTED 400526b8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 400526bc: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED handle->dirty = false; 400526c0: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED 400526c4: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->bnum = 0; 400526c8: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED 400526cc: 7f ff f7 74 call 4005049c <== NOT EXECUTED 400526d0: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED return rc; 400526d4: 30 bf ff 8f b,a 40052510 <== NOT EXECUTED 400526d8: 82 10 20 00 clr %g1 <== NOT EXECUTED eoffset = 0; 400526dc: 10 bf ff c3 b 400525e8 <== NOT EXECUTED 400526e0: a2 10 20 00 clr %l1 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY)) 400526e4: 13 10 00 00 sethi %hi(0x40000000), %o1 <== NOT EXECUTED 400526e8: 40 00 16 2e call 40057fa0 <== NOT EXECUTED 400526ec: a4 10 20 05 mov 5, %l2 <== NOT EXECUTED 400526f0: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400526f4: 22 bf ff f0 be,a 400526b4 <== NOT EXECUTED 400526f8: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED printf ("rtems-rfs: dir-del-entry: " 400526fc: d8 07 bf a0 ld [ %fp + -96 ], %o4 <== NOT EXECUTED 40052700: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED 40052704: 9a 10 00 11 mov %l1, %o5 <== NOT EXECUTED 40052708: 96 10 00 10 mov %l0, %o3 <== NOT EXECUTED 4005270c: 94 10 00 1c mov %i4, %o2 <== NOT EXECUTED 40052710: 11 10 02 1b sethi %hi(0x40086c00), %o0 <== NOT EXECUTED 40052714: 7f ff a5 8d call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052718: 90 12 20 28 or %o0, 0x28, %o0 ! 40086c28 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 4005271c: 10 bf ff e6 b 400526b4 <== NOT EXECUTED 40052720: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED rc = rtems_rfs_block_map_next_block (fs, &map, &block); 40052724: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40052728: 7f ff f8 47 call 40050844 <== NOT EXECUTED 4005272c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc == ENXIO) 40052730: 80 a2 20 06 cmp %o0, 6 <== NOT EXECUTED 40052734: 02 80 00 77 be 40052910 <== NOT EXECUTED 40052738: a4 10 00 08 mov %o0, %l2 <== NOT EXECUTED while (rc == 0) 4005273c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052740: 02 bf ff 99 be 400525a4 <== NOT EXECUTED 40052744: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED 40052748: 10 bf ff db b 400526b4 <== NOT EXECUTED 4005274c: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED memmove (entry, entry + elength, remaining); 40052750: 92 07 40 1c add %i5, %i4, %o1 <== NOT EXECUTED 40052754: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED remaining = rtems_rfs_fs_block_size (fs) - (eoffset + elength); 40052758: b6 04 40 1c add %l1, %i4, %i3 <== NOT EXECUTED 4005275c: b6 21 00 1b sub %g4, %i3, %i3 <== NOT EXECUTED memmove (entry, entry + elength, remaining); 40052760: 40 00 3a 58 call 400610c0 <== NOT EXECUTED 40052764: 94 10 00 1b mov %i3, %o2 <== NOT EXECUTED memset (entry + remaining, 0xff, elength); 40052768: 94 10 00 1c mov %i4, %o2 <== NOT EXECUTED 4005276c: 92 10 20 ff mov 0xff, %o1 <== NOT EXECUTED 40052770: 40 00 3a a2 call 400611f8 <== NOT EXECUTED 40052774: 90 07 40 1b add %i5, %i3, %o0 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052778: c2 0f 60 08 ldub [ %i5 + 8 ], %g1 <== NOT EXECUTED 4005277c: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED 40052780: fa 0f 60 09 ldub [ %i5 + 9 ], %i5 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY)) 40052784: 90 10 20 00 clr %o0 <== NOT EXECUTED 40052788: 13 10 00 00 sethi %hi(0x40000000), %o1 <== NOT EXECUTED 4005278c: 40 00 16 05 call 40057fa0 <== NOT EXECUTED 40052790: ba 17 40 01 or %i5, %g1, %i5 <== NOT EXECUTED 40052794: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052798: 22 80 00 17 be,a 400527f4 <== NOT EXECUTED 4005279c: 03 3f ff c0 sethi %hi(0xffff0000), %g1 <== NOT EXECUTED rtems_rfs_block_map_last (&map) ? "yes" : "no"); 400527a0: c4 07 bf c0 ld [ %fp + -64 ], %g2 <== NOT EXECUTED printf ("rtems-rfs: dir-del-entry: " 400527a4: d6 07 bf a0 ld [ %fp + -96 ], %o3 <== NOT EXECUTED 400527a8: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 400527ac: 12 80 00 05 bne 400527c0 <== NOT EXECUTED 400527b0: c2 07 bf b8 ld [ %fp + -72 ], %g1 <== NOT EXECUTED rtems_rfs_block_map_last (&map) ? "yes" : "no"); 400527b4: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 400527b8: 02 80 00 3d be 400528ac <== NOT EXECUTED 400527bc: 1b 10 02 02 sethi %hi(0x40080800), %o5 <== NOT EXECUTED 400527c0: 82 00 7f ff add %g1, -1, %g1 <== NOT EXECUTED 400527c4: 80 a0 80 01 cmp %g2, %g1 <== NOT EXECUTED 400527c8: 02 80 00 39 be 400528ac <== NOT EXECUTED 400527cc: 1b 10 02 02 sethi %hi(0x40080800), %o5 <== NOT EXECUTED printf ("rtems-rfs: dir-del-entry: " 400527d0: 1b 10 02 02 sethi %hi(0x40080800), %o5 <== NOT EXECUTED 400527d4: 9a 13 61 d8 or %o5, 0x1d8, %o5 ! 400809d8 <== NOT EXECUTED 400527d8: 11 10 02 1b sethi %hi(0x40086c00), %o0 <== NOT EXECUTED 400527dc: 98 10 00 11 mov %l1, %o4 <== NOT EXECUTED 400527e0: 94 10 00 1d mov %i5, %o2 <== NOT EXECUTED 400527e4: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 400527e8: 7f ff a5 58 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 400527ec: 90 12 20 78 or %o0, 0x78, %o0 <== NOT EXECUTED if ((elength == RTEMS_RFS_DIR_ENTRY_EMPTY) && 400527f0: 03 3f ff c0 sethi %hi(0xffff0000), %g1 <== NOT EXECUTED 400527f4: ba 38 40 1d xnor %g1, %i5, %i5 <== NOT EXECUTED 400527f8: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED 400527fc: 12 80 00 1f bne 40052878 <== NOT EXECUTED 40052800: 80 a4 60 00 cmp %l1, 0 <== NOT EXECUTED 40052804: 12 80 00 1d bne 40052878 <== NOT EXECUTED 40052808: c4 07 bf c0 ld [ %fp + -64 ], %g2 <== NOT EXECUTED (eoffset == 0) && rtems_rfs_block_map_last (&map)) 4005280c: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 40052810: 12 80 00 29 bne 400528b4 <== NOT EXECUTED 40052814: c2 07 bf b8 ld [ %fp + -72 ], %g1 <== NOT EXECUTED 40052818: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 4005281c: 12 80 00 27 bne 400528b8 <== NOT EXECUTED 40052820: 82 00 7f ff add %g1, -1, %g1 <== NOT EXECUTED rc = rtems_rfs_block_map_shrink (fs, &map, 1); 40052824: 94 10 20 01 mov 1, %o2 <== NOT EXECUTED 40052828: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 4005282c: 7f ff f9 10 call 40050c6c <== NOT EXECUTED 40052830: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052834: ba 92 20 00 orcc %o0, 0, %i5 <== NOT EXECUTED 40052838: 04 80 00 10 ble 40052878 <== NOT EXECUTED 4005283c: 90 10 20 00 clr %o0 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY)) 40052840: 40 00 15 d8 call 40057fa0 <== NOT EXECUTED 40052844: 13 10 00 00 sethi %hi(0x40000000), %o1 <== NOT EXECUTED 40052848: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005284c: 02 80 00 0c be 4005287c <== NOT EXECUTED 40052850: 82 10 20 01 mov 1, %g1 <== NOT EXECUTED printf ("rtems-rfs: dir-del-entry: " 40052854: f8 06 60 08 ld [ %i1 + 8 ], %i4 <== NOT EXECUTED 40052858: 40 00 47 52 call 400645a0 <== NOT EXECUTED 4005285c: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED 40052860: 94 10 00 1d mov %i5, %o2 <== NOT EXECUTED 40052864: 96 10 00 08 mov %o0, %o3 <== NOT EXECUTED 40052868: 92 10 00 1c mov %i4, %o1 <== NOT EXECUTED 4005286c: 11 10 02 1b sethi %hi(0x40086c00), %o0 <== NOT EXECUTED 40052870: 7f ff a5 36 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052874: 90 12 20 d8 or %o0, 0xd8, %o0 ! 40086cd8 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (&buffer); 40052878: 82 10 20 01 mov 1, %g1 <== NOT EXECUTED 4005287c: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 40052880: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 40052884: 7f ff fb 88 call 400516a4 <== NOT EXECUTED 40052888: c2 2f bf a4 stb %g1, [ %fp + -92 ] <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 4005288c: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED handle->dirty = false; 40052890: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED 40052894: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->bnum = 0; 40052898: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED return 0; 4005289c: a4 10 20 00 clr %l2 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 400528a0: 7f ff f6 ff call 4005049c <== NOT EXECUTED 400528a4: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED return 0; 400528a8: 30 bf ff 1a b,a 40052510 <== NOT EXECUTED printf ("rtems-rfs: dir-del-entry: " 400528ac: 10 bf ff cb b 400527d8 <== NOT EXECUTED 400528b0: 9a 13 61 e0 or %o5, 0x1e0, %o5 <== NOT EXECUTED (eoffset == 0) && rtems_rfs_block_map_last (&map)) 400528b4: 82 00 7f ff add %g1, -1, %g1 <== NOT EXECUTED 400528b8: 80 a0 80 01 cmp %g2, %g1 <== NOT EXECUTED 400528bc: 12 bf ff f0 bne 4005287c <== NOT EXECUTED 400528c0: 82 10 20 01 mov 1, %g1 <== NOT EXECUTED 400528c4: 10 bf ff d9 b 40052828 <== NOT EXECUTED 400528c8: 94 10 20 01 mov 1, %o2 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY)) 400528cc: 90 10 20 00 clr %o0 <== NOT EXECUTED 400528d0: 40 00 15 b4 call 40057fa0 <== NOT EXECUTED 400528d4: 13 10 00 00 sethi %hi(0x40000000), %o1 <== NOT EXECUTED 400528d8: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400528dc: 22 bf ff 76 be,a 400526b4 <== NOT EXECUTED 400528e0: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED printf ("rtems-rfs: dir-del-entry: " 400528e4: fa 06 60 08 ld [ %i1 + 8 ], %i5 <== NOT EXECUTED 400528e8: 40 00 47 2e call 400645a0 <== NOT EXECUTED 400528ec: 90 10 00 12 mov %l2, %o0 <== NOT EXECUTED 400528f0: 94 10 00 12 mov %l2, %o2 <== NOT EXECUTED 400528f4: 96 10 00 08 mov %o0, %o3 <== NOT EXECUTED 400528f8: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED 400528fc: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 40052900: 7f ff a5 12 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052904: 90 12 23 e0 or %o0, 0x3e0, %o0 ! 40086be0 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40052908: 10 bf ff 6b b 400526b4 <== NOT EXECUTED 4005290c: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED rc = ENOENT; 40052910: 10 bf ff 68 b 400526b0 <== NOT EXECUTED 40052914: a4 10 20 02 mov 2, %l2 <== NOT EXECUTED =============================================================================== 40052cd8 : int rtems_rfs_dir_empty (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir) { 40052cd8: 9d e3 bf 40 save %sp, -192, %sp <== NOT EXECUTED rtems_rfs_buffer_handle buffer; rtems_rfs_block_no block; bool empty; int rc; if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ)) 40052cdc: 90 10 20 00 clr %o0 <== NOT EXECUTED 40052ce0: 40 00 14 b0 call 40057fa0 <== NOT EXECUTED 40052ce4: 13 20 00 00 sethi %hi(0x80000000), %o1 <== NOT EXECUTED 40052ce8: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052cec: 12 80 00 0a bne 40052d14 <== NOT EXECUTED 40052cf0: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED printf ("rtems-rfs: dir-empty: dir=%" PRId32 "\n", rtems_rfs_inode_ino (dir)); empty = true; rc = rtems_rfs_block_map_open (fs, dir, &map); 40052cf4: 94 07 bf b0 add %fp, -80, %o2 <== NOT EXECUTED 40052cf8: 7f ff f5 8a call 40050320 <== NOT EXECUTED 40052cfc: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052d00: a4 92 20 00 orcc %o0, 0, %l2 <== NOT EXECUTED 40052d04: 04 80 00 0f ble 40052d40 <== NOT EXECUTED 40052d08: 94 10 20 00 clr %o2 <== NOT EXECUTED rc = ENOTEMPTY; rtems_rfs_buffer_handle_close (fs, &buffer); rtems_rfs_block_map_close (fs, &map); return rc; } 40052d0c: 81 c7 e0 08 ret <== NOT EXECUTED 40052d10: 91 e8 00 12 restore %g0, %l2, %o0 <== NOT EXECUTED printf ("rtems-rfs: dir-empty: dir=%" PRId32 "\n", rtems_rfs_inode_ino (dir)); 40052d14: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED 40052d18: 11 10 02 1b sethi %hi(0x40086c00), %o0 <== NOT EXECUTED 40052d1c: 7f ff a4 0b call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052d20: 90 12 22 08 or %o0, 0x208, %o0 ! 40086e08 <== NOT EXECUTED rc = rtems_rfs_block_map_open (fs, dir, &map); 40052d24: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED 40052d28: 94 07 bf b0 add %fp, -80, %o2 <== NOT EXECUTED 40052d2c: 7f ff f5 7d call 40050320 <== NOT EXECUTED 40052d30: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052d34: a4 92 20 00 orcc %o0, 0, %l2 <== NOT EXECUTED 40052d38: 14 bf ff f5 bg 40052d0c <== NOT EXECUTED 40052d3c: 94 10 20 00 clr %o2 <== NOT EXECUTED rc = rtems_rfs_block_map_seek (fs, &map, 0, &block); 40052d40: 96 10 20 00 clr %o3 <== NOT EXECUTED 40052d44: 98 07 bf a0 add %fp, -96, %o4 <== NOT EXECUTED 40052d48: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40052d4c: 7f ff f6 a0 call 400507cc <== NOT EXECUTED 40052d50: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052d54: a4 92 20 00 orcc %o0, 0, %l2 <== NOT EXECUTED 40052d58: 14 80 00 67 bg 40052ef4 <== NOT EXECUTED 40052d5c: 23 00 00 3f sethi %hi(0xfc00), %l1 <== NOT EXECUTED handle->dirty = false; 40052d60: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED handle->bnum = 0; 40052d64: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED printf ("rtems-rfs: dir-empty: " 40052d68: 21 10 02 1b sethi %hi(0x40086c00), %l0 <== NOT EXECUTED handle->buffer = NULL; 40052d6c: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40052d70: a2 14 63 ff or %l1, 0x3ff, %l1 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY)) 40052d74: b4 10 20 01 mov 1, %i2 <== NOT EXECUTED 40052d78: b6 10 20 00 clr %i3 <== NOT EXECUTED printf ("rtems-rfs: dir-empty: " 40052d7c: a0 14 22 28 or %l0, 0x228, %l0 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true); 40052d80: d4 07 bf a0 ld [ %fp + -96 ], %o2 <== NOT EXECUTED 40052d84: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED 40052d88: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 40052d8c: 7f ff f9 7f call 40051388 <== NOT EXECUTED 40052d90: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052d94: a4 92 20 00 orcc %o0, 0, %l2 <== NOT EXECUTED 40052d98: 14 80 00 4b bg 40052ec4 <== NOT EXECUTED 40052d9c: c2 07 bf ac ld [ %fp + -84 ], %g1 <== NOT EXECUTED while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE)) 40052da0: c8 06 20 08 ld [ %i0 + 8 ], %g4 <== NOT EXECUTED 40052da4: 88 81 3f f6 addcc %g4, -10, %g4 <== NOT EXECUTED 40052da8: 02 80 00 63 be 40052f34 <== NOT EXECUTED 40052dac: c2 00 60 1c ld [ %g1 + 0x1c ], %g1 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052db0: d4 08 60 08 ldub [ %g1 + 8 ], %o2 <== NOT EXECUTED 40052db4: fa 08 60 09 ldub [ %g1 + 9 ], %i5 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052db8: c6 08 40 00 ldub [ %g1 ], %g3 <== NOT EXECUTED 40052dbc: c4 08 60 01 ldub [ %g1 + 1 ], %g2 <== NOT EXECUTED 40052dc0: f8 08 60 02 ldub [ %g1 + 2 ], %i4 <== NOT EXECUTED 40052dc4: d6 08 60 03 ldub [ %g1 + 3 ], %o3 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052dc8: 95 2a a0 08 sll %o2, 8, %o2 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052dcc: 87 28 e0 18 sll %g3, 0x18, %g3 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052dd0: ba 17 40 0a or %i5, %o2, %i5 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052dd4: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 40052dd8: b9 2f 20 08 sll %i4, 8, %i4 <== NOT EXECUTED 40052ddc: 84 10 80 03 or %g2, %g3, %g2 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40052de0: 80 a7 40 11 cmp %i5, %l1 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052de4: b8 17 00 02 or %i4, %g2, %i4 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40052de8: 02 80 00 53 be 40052f34 <== NOT EXECUTED 40052dec: b8 12 c0 1c or %o3, %i4, %i4 <== NOT EXECUTED offset = 0; 40052df0: 10 80 00 20 b 40052e70 <== NOT EXECUTED 40052df4: a6 10 20 00 clr %l3 <== NOT EXECUTED (entry[RTEMS_RFS_DIR_ENTRY_SIZE] != '.')) && 40052df8: 12 80 00 31 bne 40052ebc <== NOT EXECUTED 40052dfc: 80 a4 a0 00 cmp %l2, 0 <== NOT EXECUTED ((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 2)) || 40052e00: c4 08 60 0a ldub [ %g1 + 0xa ], %g2 <== NOT EXECUTED 40052e04: 80 a0 a0 2e cmp %g2, 0x2e <== NOT EXECUTED 40052e08: 12 80 00 2d bne 40052ebc <== NOT EXECUTED 40052e0c: 80 a4 a0 00 cmp %l2, 0 <== NOT EXECUTED (entry[RTEMS_RFS_DIR_ENTRY_SIZE] != '.') || 40052e10: c4 08 60 0b ldub [ %g1 + 0xb ], %g2 <== NOT EXECUTED 40052e14: 80 a0 a0 2e cmp %g2, 0x2e <== NOT EXECUTED 40052e18: 12 80 00 29 bne 40052ebc <== NOT EXECUTED 40052e1c: 80 a4 a0 00 cmp %l2, 0 <== NOT EXECUTED offset += elength; 40052e20: a6 04 c0 1d add %l3, %i5, %l3 <== NOT EXECUTED while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE)) 40052e24: 80 a4 c0 04 cmp %l3, %g4 <== NOT EXECUTED 40052e28: 1a 80 00 43 bcc 40052f34 <== NOT EXECUTED 40052e2c: 82 00 40 1d add %g1, %i5, %g1 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052e30: d4 08 60 08 ldub [ %g1 + 8 ], %o2 <== NOT EXECUTED 40052e34: fa 08 60 09 ldub [ %g1 + 9 ], %i5 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052e38: c6 08 40 00 ldub [ %g1 ], %g3 <== NOT EXECUTED 40052e3c: c4 08 60 01 ldub [ %g1 + 1 ], %g2 <== NOT EXECUTED 40052e40: d6 08 60 02 ldub [ %g1 + 2 ], %o3 <== NOT EXECUTED 40052e44: f8 08 60 03 ldub [ %g1 + 3 ], %i4 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052e48: 95 2a a0 08 sll %o2, 8, %o2 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052e4c: 87 28 e0 18 sll %g3, 0x18, %g3 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052e50: ba 17 40 0a or %i5, %o2, %i5 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052e54: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 40052e58: 97 2a e0 08 sll %o3, 8, %o3 <== NOT EXECUTED 40052e5c: 84 10 80 03 or %g2, %g3, %g2 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40052e60: 80 a7 40 11 cmp %i5, %l1 <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052e64: 96 12 c0 02 or %o3, %g2, %o3 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40052e68: 02 80 00 33 be 40052f34 <== NOT EXECUTED 40052e6c: b8 17 00 0b or %i4, %o3, %i4 <== NOT EXECUTED if (rtems_rfs_dir_entry_valid (fs, elength, eino)) 40052e70: 80 a7 60 0a cmp %i5, 0xa <== NOT EXECUTED 40052e74: 04 80 00 26 ble 40052f0c <== NOT EXECUTED 40052e78: 90 10 00 1a mov %i2, %o0 <== NOT EXECUTED 40052e7c: c4 06 20 1c ld [ %i0 + 0x1c ], %g2 <== NOT EXECUTED 40052e80: 80 a0 80 1d cmp %g2, %i5 <== NOT EXECUTED 40052e84: 08 80 00 22 bleu 40052f0c <== NOT EXECUTED 40052e88: 80 a7 20 00 cmp %i4, 0 <== NOT EXECUTED 40052e8c: 02 80 00 20 be 40052f0c <== NOT EXECUTED 40052e90: 01 00 00 00 nop <== NOT EXECUTED 40052e94: c4 06 20 14 ld [ %i0 + 0x14 ], %g2 <== NOT EXECUTED 40052e98: 80 a0 80 1c cmp %g2, %i4 <== NOT EXECUTED 40052e9c: 0a 80 00 1c bcs 40052f0c <== NOT EXECUTED 40052ea0: 80 a7 60 0b cmp %i5, 0xb <== NOT EXECUTED if (((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 1)) || 40052ea4: 12 bf ff d5 bne 40052df8 <== NOT EXECUTED 40052ea8: 80 a7 60 0c cmp %i5, 0xc <== NOT EXECUTED 40052eac: c4 08 60 0a ldub [ %g1 + 0xa ], %g2 <== NOT EXECUTED 40052eb0: 80 a0 a0 2e cmp %g2, 0x2e <== NOT EXECUTED 40052eb4: 02 bf ff db be 40052e20 <== NOT EXECUTED 40052eb8: 80 a4 a0 00 cmp %l2, 0 <== NOT EXECUTED if ((rc == 0) && !empty) 40052ebc: 22 80 00 02 be,a 40052ec4 <== NOT EXECUTED 40052ec0: a4 10 20 5a mov 0x5a, %l2 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40052ec4: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 40052ec8: 7f ff f9 f7 call 400516a4 <== NOT EXECUTED 40052ecc: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 40052ed0: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED handle->dirty = false; 40052ed4: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED 40052ed8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->bnum = 0; 40052edc: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED } 40052ee0: b0 10 00 12 mov %l2, %i0 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 40052ee4: 7f ff f5 6e call 4005049c <== NOT EXECUTED 40052ee8: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED } 40052eec: 81 c7 e0 08 ret <== NOT EXECUTED 40052ef0: 81 e8 00 00 restore <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 40052ef4: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40052ef8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 40052efc: 7f ff f5 68 call 4005049c <== NOT EXECUTED 40052f00: b0 10 00 12 mov %l2, %i0 <== NOT EXECUTED } 40052f04: 81 c7 e0 08 ret <== NOT EXECUTED 40052f08: 81 e8 00 00 restore <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY)) 40052f0c: 40 00 14 25 call 40057fa0 <== NOT EXECUTED 40052f10: 92 10 00 1b mov %i3, %o1 <== NOT EXECUTED 40052f14: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052f18: 02 80 00 07 be 40052f34 <== NOT EXECUTED 40052f1c: 98 10 00 13 mov %l3, %o4 <== NOT EXECUTED printf ("rtems-rfs: dir-empty: " 40052f20: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED 40052f24: 96 10 00 1c mov %i4, %o3 <== NOT EXECUTED 40052f28: 94 10 00 1d mov %i5, %o2 <== NOT EXECUTED 40052f2c: 7f ff a3 87 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052f30: 90 10 00 10 mov %l0, %o0 <== NOT EXECUTED rc = rtems_rfs_block_map_next_block (fs, &map, &block); 40052f34: 94 07 bf a0 add %fp, -96, %o2 <== NOT EXECUTED 40052f38: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40052f3c: 7f ff f6 42 call 40050844 <== NOT EXECUTED 40052f40: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052f44: a4 92 20 00 orcc %o0, 0, %l2 <== NOT EXECUTED 40052f48: 04 bf ff 8f ble 40052d84 <== NOT EXECUTED 40052f4c: d4 07 bf a0 ld [ %fp + -96 ], %o2 <== NOT EXECUTED rc = 0; 40052f50: 82 1c a0 06 xor %l2, 6, %g1 <== NOT EXECUTED 40052f54: 80 a0 00 01 cmp %g0, %g1 <== NOT EXECUTED 40052f58: 82 60 20 00 subx %g0, 0, %g1 <== NOT EXECUTED 40052f5c: 10 bf ff da b 40052ec4 <== NOT EXECUTED 40052f60: a4 0c 80 01 and %l2, %g1, %l2 <== NOT EXECUTED =============================================================================== 4005c040 : */ #define initval (20010928) uint32_t rtems_rfs_dir_hash (const void *key, size_t length) { 4005c040: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED 4005c044: 82 10 00 18 mov %i0, %g1 <== NOT EXECUTED uint32_t a,b,c; /* internal state */ union { const void *ptr; size_t i; } u; /* needed for Mac Powerbook G4 */ /* Set up the internal state */ a = b = c = 0xdeadbeef + ((uint32_t)length) + initval; 4005c048: 31 37 f7 c5 sethi %hi(0xdfdf1400), %i0 <== NOT EXECUTED 4005c04c: b0 16 22 9f or %i0, 0x29f, %i0 ! dfdf169f <== NOT EXECUTED } else { /* need to read the key one byte at a time */ const uint8_t *k = (const uint8_t *)key; /*--------------- all but the last block: affect some 32 bits of (a,b,c) */ while (length > 12) 4005c050: 80 a6 60 0c cmp %i1, 0xc <== NOT EXECUTED a = b = c = 0xdeadbeef + ((uint32_t)length) + initval; 4005c054: b6 06 40 18 add %i1, %i0, %i3 <== NOT EXECUTED 4005c058: b0 10 00 1b mov %i3, %i0 <== NOT EXECUTED while (length > 12) 4005c05c: 08 80 00 4b bleu 4005c188 <== NOT EXECUTED 4005c060: b8 10 00 1b mov %i3, %i4 <== NOT EXECUTED a += k[0]; a += ((uint32_t)k[1])<<8; a += ((uint32_t)k[2])<<16; a += ((uint32_t)k[3])<<24; b += k[4]; b += ((uint32_t)k[5])<<8; 4005c064: fa 08 60 05 ldub [ %g1 + 5 ], %i5 <== NOT EXECUTED b += ((uint32_t)k[6])<<16; 4005c068: c4 08 60 06 ldub [ %g1 + 6 ], %g2 <== NOT EXECUTED b += ((uint32_t)k[7])<<24; c += k[8]; c += ((uint32_t)k[9])<<8; c += ((uint32_t)k[10])<<16; 4005c06c: d6 08 60 0a ldub [ %g1 + 0xa ], %o3 <== NOT EXECUTED b += ((uint32_t)k[5])<<8; 4005c070: bb 2f 60 08 sll %i5, 8, %i5 <== NOT EXECUTED c += ((uint32_t)k[9])<<8; 4005c074: c6 08 60 09 ldub [ %g1 + 9 ], %g3 <== NOT EXECUTED c += ((uint32_t)k[11])<<24; 4005c078: d8 08 60 0b ldub [ %g1 + 0xb ], %o4 <== NOT EXECUTED b += ((uint32_t)k[6])<<16; 4005c07c: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED b += ((uint32_t)k[7])<<24; 4005c080: 84 07 40 02 add %i5, %g2, %g2 <== NOT EXECUTED c += ((uint32_t)k[10])<<16; 4005c084: bb 2a e0 10 sll %o3, 0x10, %i5 <== NOT EXECUTED c += k[8]; 4005c088: d2 08 60 08 ldub [ %g1 + 8 ], %o1 <== NOT EXECUTED a += ((uint32_t)k[2])<<16; 4005c08c: de 08 60 02 ldub [ %g1 + 2 ], %o7 <== NOT EXECUTED c += ((uint32_t)k[9])<<8; 4005c090: 87 28 e0 08 sll %g3, 8, %g3 <== NOT EXECUTED c += ((uint32_t)k[11])<<24; 4005c094: 86 00 c0 1d add %g3, %i5, %g3 <== NOT EXECUTED 4005c098: bb 2b 20 18 sll %o4, 0x18, %i5 <== NOT EXECUTED a += ((uint32_t)k[1])<<8; 4005c09c: c8 08 60 01 ldub [ %g1 + 1 ], %g4 <== NOT EXECUTED a += ((uint32_t)k[3])<<24; 4005c0a0: f4 08 60 03 ldub [ %g1 + 3 ], %i2 <== NOT EXECUTED c += ((uint32_t)k[11])<<24; 4005c0a4: 86 00 c0 09 add %g3, %o1, %g3 <== NOT EXECUTED 4005c0a8: 86 00 c0 1d add %g3, %i5, %g3 <== NOT EXECUTED a += ((uint32_t)k[2])<<16; 4005c0ac: bb 2b e0 10 sll %o7, 0x10, %i5 <== NOT EXECUTED c += ((uint32_t)k[11])<<24; 4005c0b0: b0 00 c0 18 add %g3, %i0, %i0 <== NOT EXECUTED a += k[0]; 4005c0b4: da 08 40 00 ldub [ %g1 ], %o5 <== NOT EXECUTED a += ((uint32_t)k[1])<<8; 4005c0b8: 89 29 20 08 sll %g4, 8, %g4 <== NOT EXECUTED mix(a,b,c); 4005c0bc: 86 01 00 1d add %g4, %i5, %g3 <== NOT EXECUTED a += ((uint32_t)k[3])<<24; 4005c0c0: bb 2e a0 18 sll %i2, 0x18, %i5 <== NOT EXECUTED b += k[4]; 4005c0c4: d0 08 60 04 ldub [ %g1 + 4 ], %o0 <== NOT EXECUTED b += ((uint32_t)k[7])<<24; 4005c0c8: d4 08 60 07 ldub [ %g1 + 7 ], %o2 <== NOT EXECUTED mix(a,b,c); 4005c0cc: 89 2e 20 04 sll %i0, 4, %g4 <== NOT EXECUTED 4005c0d0: 86 00 c0 0d add %g3, %o5, %g3 <== NOT EXECUTED 4005c0d4: 86 00 c0 1d add %g3, %i5, %g3 <== NOT EXECUTED 4005c0d8: bb 36 20 1c srl %i0, 0x1c, %i5 <== NOT EXECUTED 4005c0dc: 88 11 00 1d or %g4, %i5, %g4 <== NOT EXECUTED b += ((uint32_t)k[7])<<24; 4005c0e0: 95 2a a0 18 sll %o2, 0x18, %o2 <== NOT EXECUTED 4005c0e4: 84 00 80 08 add %g2, %o0, %g2 <== NOT EXECUTED 4005c0e8: 84 00 80 0a add %g2, %o2, %g2 <== NOT EXECUTED 4005c0ec: 84 00 80 1c add %g2, %i4, %g2 <== NOT EXECUTED mix(a,b,c); 4005c0f0: b8 06 00 02 add %i0, %g2, %i4 <== NOT EXECUTED 4005c0f4: b0 20 c0 18 sub %g3, %i0, %i0 <== NOT EXECUTED 4005c0f8: b0 06 00 1b add %i0, %i3, %i0 <== NOT EXECUTED 4005c0fc: b0 19 00 18 xor %g4, %i0, %i0 <== NOT EXECUTED 4005c100: b6 06 00 1c add %i0, %i4, %i3 <== NOT EXECUTED 4005c104: 89 2e 20 06 sll %i0, 6, %g4 <== NOT EXECUTED 4005c108: 84 20 80 18 sub %g2, %i0, %g2 <== NOT EXECUTED 4005c10c: b1 36 20 1a srl %i0, 0x1a, %i0 <== NOT EXECUTED 4005c110: b0 11 00 18 or %g4, %i0, %i0 <== NOT EXECUTED 4005c114: 84 1e 00 02 xor %i0, %g2, %g2 <== NOT EXECUTED 4005c118: ba 00 80 1b add %g2, %i3, %i5 <== NOT EXECUTED 4005c11c: b8 27 00 02 sub %i4, %g2, %i4 <== NOT EXECUTED 4005c120: 87 28 a0 08 sll %g2, 8, %g3 <== NOT EXECUTED 4005c124: 85 30 a0 18 srl %g2, 0x18, %g2 <== NOT EXECUTED 4005c128: 86 10 c0 02 or %g3, %g2, %g3 <== NOT EXECUTED 4005c12c: 86 18 c0 1c xor %g3, %i4, %g3 <== NOT EXECUTED 4005c130: 88 00 c0 1d add %g3, %i5, %g4 <== NOT EXECUTED 4005c134: b6 26 c0 03 sub %i3, %g3, %i3 <== NOT EXECUTED 4005c138: b1 28 e0 10 sll %g3, 0x10, %i0 <== NOT EXECUTED 4005c13c: 87 30 e0 10 srl %g3, 0x10, %g3 <== NOT EXECUTED 4005c140: 86 16 00 03 or %i0, %g3, %g3 <== NOT EXECUTED 4005c144: b0 18 c0 1b xor %g3, %i3, %i0 <== NOT EXECUTED 4005c148: 87 2e 20 13 sll %i0, 0x13, %g3 <== NOT EXECUTED 4005c14c: b6 06 00 04 add %i0, %g4, %i3 <== NOT EXECUTED 4005c150: ba 27 40 18 sub %i5, %i0, %i5 <== NOT EXECUTED 4005c154: 85 36 20 0d srl %i0, 0xd, %g2 <== NOT EXECUTED length -= 12; 4005c158: b2 06 7f f4 add %i1, -12, %i1 <== NOT EXECUTED mix(a,b,c); 4005c15c: 84 10 80 03 or %g2, %g3, %g2 <== NOT EXECUTED k += 12; 4005c160: 82 00 60 0c add %g1, 0xc, %g1 <== NOT EXECUTED mix(a,b,c); 4005c164: 84 18 80 1d xor %g2, %i5, %g2 <== NOT EXECUTED while (length > 12) 4005c168: 80 a6 60 0c cmp %i1, 0xc <== NOT EXECUTED mix(a,b,c); 4005c16c: 88 21 00 02 sub %g4, %g2, %g4 <== NOT EXECUTED 4005c170: b1 28 a0 04 sll %g2, 4, %i0 <== NOT EXECUTED 4005c174: 87 30 a0 1c srl %g2, 0x1c, %g3 <== NOT EXECUTED 4005c178: b8 00 80 1b add %g2, %i3, %i4 <== NOT EXECUTED 4005c17c: b0 16 00 03 or %i0, %g3, %i0 <== NOT EXECUTED while (length > 12) 4005c180: 18 bf ff b9 bgu 4005c064 <== NOT EXECUTED 4005c184: b0 1e 00 04 xor %i0, %g4, %i0 <== NOT EXECUTED } /*-------------------------------- last block: affect all 32 bits of (c) */ switch(length) /* all the case statements fall through */ 4005c188: b3 2e 60 02 sll %i1, 2, %i1 <== NOT EXECUTED 4005c18c: 05 10 01 70 sethi %hi(0x4005c000), %g2 <== NOT EXECUTED 4005c190: 84 10 a0 0c or %g2, 0xc, %g2 ! 4005c00c <== NOT EXECUTED 4005c194: c4 00 80 19 ld [ %g2 + %i1 ], %g2 <== NOT EXECUTED 4005c198: 81 c0 80 00 jmp %g2 <== NOT EXECUTED 4005c19c: 01 00 00 00 nop <== NOT EXECUTED { case 12: c+=((uint32_t)k[11])<<24; 4005c1a0: c4 08 60 0b ldub [ %g1 + 0xb ], %g2 <== NOT EXECUTED 4005c1a4: 85 28 a0 18 sll %g2, 0x18, %g2 <== NOT EXECUTED 4005c1a8: b0 06 00 02 add %i0, %g2, %i0 <== NOT EXECUTED case 11: c+=((uint32_t)k[10])<<16; 4005c1ac: c4 08 60 0a ldub [ %g1 + 0xa ], %g2 <== NOT EXECUTED 4005c1b0: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 4005c1b4: b0 06 00 02 add %i0, %g2, %i0 <== NOT EXECUTED case 10: c+=((uint32_t)k[9])<<8; 4005c1b8: c4 08 60 09 ldub [ %g1 + 9 ], %g2 <== NOT EXECUTED 4005c1bc: 85 28 a0 08 sll %g2, 8, %g2 <== NOT EXECUTED 4005c1c0: b0 06 00 02 add %i0, %g2, %i0 <== NOT EXECUTED case 9 : c+=k[8]; 4005c1c4: c4 08 60 08 ldub [ %g1 + 8 ], %g2 <== NOT EXECUTED 4005c1c8: b0 06 00 02 add %i0, %g2, %i0 <== NOT EXECUTED case 8 : b+=((uint32_t)k[7])<<24; 4005c1cc: c4 08 60 07 ldub [ %g1 + 7 ], %g2 <== NOT EXECUTED 4005c1d0: 85 28 a0 18 sll %g2, 0x18, %g2 <== NOT EXECUTED 4005c1d4: b8 07 00 02 add %i4, %g2, %i4 <== NOT EXECUTED case 7 : b+=((uint32_t)k[6])<<16; 4005c1d8: c4 08 60 06 ldub [ %g1 + 6 ], %g2 <== NOT EXECUTED 4005c1dc: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 4005c1e0: b8 07 00 02 add %i4, %g2, %i4 <== NOT EXECUTED case 6 : b+=((uint32_t)k[5])<<8; 4005c1e4: c4 08 60 05 ldub [ %g1 + 5 ], %g2 <== NOT EXECUTED 4005c1e8: 85 28 a0 08 sll %g2, 8, %g2 <== NOT EXECUTED 4005c1ec: b8 07 00 02 add %i4, %g2, %i4 <== NOT EXECUTED case 5 : b+=k[4]; 4005c1f0: c4 08 60 04 ldub [ %g1 + 4 ], %g2 <== NOT EXECUTED 4005c1f4: b8 07 00 02 add %i4, %g2, %i4 <== NOT EXECUTED case 4 : a+=((uint32_t)k[3])<<24; 4005c1f8: c4 08 60 03 ldub [ %g1 + 3 ], %g2 <== NOT EXECUTED 4005c1fc: 85 28 a0 18 sll %g2, 0x18, %g2 <== NOT EXECUTED 4005c200: b6 06 c0 02 add %i3, %g2, %i3 <== NOT EXECUTED case 3 : a+=((uint32_t)k[2])<<16; 4005c204: c4 08 60 02 ldub [ %g1 + 2 ], %g2 <== NOT EXECUTED 4005c208: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 4005c20c: b6 06 c0 02 add %i3, %g2, %i3 <== NOT EXECUTED case 2 : a+=((uint32_t)k[1])<<8; 4005c210: c4 08 60 01 ldub [ %g1 + 1 ], %g2 <== NOT EXECUTED 4005c214: 85 28 a0 08 sll %g2, 8, %g2 <== NOT EXECUTED 4005c218: b6 06 c0 02 add %i3, %g2, %i3 <== NOT EXECUTED case 1 : a+=k[0]; 4005c21c: c2 08 40 00 ldub [ %g1 ], %g1 <== NOT EXECUTED break; case 0 : return c; } } final(a,b,c); 4005c220: 85 37 20 12 srl %i4, 0x12, %g2 <== NOT EXECUTED case 1 : a+=k[0]; 4005c224: b6 00 40 1b add %g1, %i3, %i3 <== NOT EXECUTED final(a,b,c); 4005c228: 83 2f 20 0e sll %i4, 0xe, %g1 <== NOT EXECUTED 4005c22c: 82 10 40 02 or %g1, %g2, %g1 <== NOT EXECUTED 4005c230: b0 1f 00 18 xor %i4, %i0, %i0 <== NOT EXECUTED 4005c234: b0 26 00 01 sub %i0, %g1, %i0 <== NOT EXECUTED 4005c238: 85 36 20 15 srl %i0, 0x15, %g2 <== NOT EXECUTED 4005c23c: 83 2e 20 0b sll %i0, 0xb, %g1 <== NOT EXECUTED 4005c240: 82 10 40 02 or %g1, %g2, %g1 <== NOT EXECUTED 4005c244: b6 1e c0 18 xor %i3, %i0, %i3 <== NOT EXECUTED 4005c248: b6 26 c0 01 sub %i3, %g1, %i3 <== NOT EXECUTED 4005c24c: 83 2e e0 19 sll %i3, 0x19, %g1 <== NOT EXECUTED 4005c250: 84 1f 00 1b xor %i4, %i3, %g2 <== NOT EXECUTED 4005c254: b9 36 e0 07 srl %i3, 7, %i4 <== NOT EXECUTED 4005c258: b8 17 00 01 or %i4, %g1, %i4 <== NOT EXECUTED 4005c25c: 84 20 80 1c sub %g2, %i4, %g2 <== NOT EXECUTED 4005c260: 87 30 a0 10 srl %g2, 0x10, %g3 <== NOT EXECUTED 4005c264: 83 28 a0 10 sll %g2, 0x10, %g1 <== NOT EXECUTED 4005c268: 82 10 40 03 or %g1, %g3, %g1 <== NOT EXECUTED 4005c26c: b0 1e 00 02 xor %i0, %g2, %i0 <== NOT EXECUTED 4005c270: b0 26 00 01 sub %i0, %g1, %i0 <== NOT EXECUTED 4005c274: 83 2e 20 04 sll %i0, 4, %g1 <== NOT EXECUTED 4005c278: 87 36 20 1c srl %i0, 0x1c, %g3 <== NOT EXECUTED 4005c27c: 82 10 40 03 or %g1, %g3, %g1 <== NOT EXECUTED 4005c280: b6 1e 00 1b xor %i0, %i3, %i3 <== NOT EXECUTED 4005c284: b6 26 c0 01 sub %i3, %g1, %i3 <== NOT EXECUTED 4005c288: 83 2e e0 0e sll %i3, 0xe, %g1 <== NOT EXECUTED 4005c28c: 84 1e c0 02 xor %i3, %g2, %g2 <== NOT EXECUTED 4005c290: b7 36 e0 12 srl %i3, 0x12, %i3 <== NOT EXECUTED 4005c294: b6 10 40 1b or %g1, %i3, %i3 <== NOT EXECUTED 4005c298: 84 20 80 1b sub %g2, %i3, %g2 <== NOT EXECUTED 4005c29c: b0 18 80 18 xor %g2, %i0, %i0 <== NOT EXECUTED 4005c2a0: 83 30 a0 08 srl %g2, 8, %g1 <== NOT EXECUTED 4005c2a4: 85 28 a0 18 sll %g2, 0x18, %g2 <== NOT EXECUTED 4005c2a8: 84 10 40 02 or %g1, %g2, %g2 <== NOT EXECUTED 4005c2ac: b0 26 00 02 sub %i0, %g2, %i0 <== NOT EXECUTED return c; } 4005c2b0: 81 c7 e0 08 ret <== NOT EXECUTED 4005c2b4: 81 e8 00 00 restore <== NOT EXECUTED =============================================================================== 40051b78 : rtems_rfs_inode_handle* inode, const char* name, int length, rtems_rfs_ino* ino, uint32_t* offset) { 40051b78: 9d e3 bf 38 save %sp, -200, %sp <== NOT EXECUTED rtems_rfs_block_map map; rtems_rfs_buffer_handle entries; int rc; if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO)) 40051b7c: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051b80: 40 00 19 08 call 40057fa0 <== NOT EXECUTED 40051b84: 13 01 00 00 sethi %hi(0x4000000), %o1 <== NOT EXECUTED 40051b88: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051b8c: 32 80 00 ad bne,a 40051e40 <== NOT EXECUTED 40051b90: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED for (c = 0; c < length; c++) printf ("%c", name[c]); printf (", len=%d\n", length); } *ino = RTEMS_RFS_EMPTY_INO; 40051b94: c0 27 00 00 clr [ %i4 ] <== NOT EXECUTED *offset = 0; rc = rtems_rfs_block_map_open (fs, inode, &map); 40051b98: 94 07 bf b0 add %fp, -80, %o2 <== NOT EXECUTED *offset = 0; 40051b9c: c0 27 40 00 clr [ %i5 ] <== NOT EXECUTED rc = rtems_rfs_block_map_open (fs, inode, &map); 40051ba0: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED 40051ba4: 7f ff f9 df call 40050320 <== NOT EXECUTED 40051ba8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40051bac: a6 92 20 00 orcc %o0, 0, %l3 <== NOT EXECUTED 40051bb0: 24 80 00 15 ble,a 40051c04 <== NOT EXECUTED 40051bb4: 92 10 00 1b mov %i3, %o1 <== NOT EXECUTED { if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO)) 40051bb8: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051bbc: 40 00 18 f9 call 40057fa0 <== NOT EXECUTED 40051bc0: 13 01 00 00 sethi %hi(0x4000000), %o1 <== NOT EXECUTED 40051bc4: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051bc8: 32 80 00 04 bne,a 40051bd8 <== NOT EXECUTED 40051bcc: fa 06 60 08 ld [ %i1 + 8 ], %i5 <== NOT EXECUTED } rtems_rfs_buffer_handle_close (fs, &entries); rtems_rfs_block_map_close (fs, &map); return rc; } 40051bd0: 81 c7 e0 08 ret <== NOT EXECUTED 40051bd4: 91 e8 00 13 restore %g0, %l3, %o0 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: map open failed for ino %" PRIu32 ": %d: %s", 40051bd8: 40 00 4a 72 call 400645a0 <== NOT EXECUTED 40051bdc: 90 10 00 13 mov %l3, %o0 <== NOT EXECUTED 40051be0: 94 10 00 13 mov %l3, %o2 <== NOT EXECUTED 40051be4: 96 10 00 08 mov %o0, %o3 <== NOT EXECUTED 40051be8: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED 40051bec: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED } 40051bf0: b0 10 00 13 mov %l3, %i0 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: map open failed for ino %" PRIu32 ": %d: %s", 40051bf4: 7f ff a8 55 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051bf8: 90 12 23 b8 or %o0, 0x3b8, %o0 <== NOT EXECUTED } 40051bfc: 81 c7 e0 08 ret <== NOT EXECUTED 40051c00: 81 e8 00 00 restore <== NOT EXECUTED handle->dirty = false; 40051c04: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED hash = rtems_rfs_dir_hash (name, length); 40051c08: 90 10 00 1a mov %i2, %o0 <== NOT EXECUTED handle->bnum = 0; 40051c0c: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED 40051c10: 40 00 29 0c call 4005c040 <== NOT EXECUTED 40051c14: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED rc = rtems_rfs_block_map_seek (fs, &map, 0, &block); 40051c18: 98 07 bf a0 add %fp, -96, %o4 <== NOT EXECUTED hash = rtems_rfs_dir_hash (name, length); 40051c1c: a4 10 00 08 mov %o0, %l2 <== NOT EXECUTED rc = rtems_rfs_block_map_seek (fs, &map, 0, &block); 40051c20: 94 10 20 00 clr %o2 <== NOT EXECUTED 40051c24: 96 10 20 00 clr %o3 <== NOT EXECUTED 40051c28: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40051c2c: 7f ff fa e8 call 400507cc <== NOT EXECUTED 40051c30: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40051c34: a6 92 20 00 orcc %o0, 0, %l3 <== NOT EXECUTED 40051c38: 14 80 00 95 bg 40051e8c <== NOT EXECUTED 40051c3c: 2f 10 02 1a sethi %hi(0x40086800), %l7 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " bno=%" PRId32 "\n", 40051c40: 82 15 e0 38 or %l7, 0x38, %g1 ! 40086838 <== NOT EXECUTED 40051c44: c2 27 bf 9c st %g1, [ %fp + -100 ] <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: " 40051c48: 03 10 02 1a sethi %hi(0x40086800), %g1 <== NOT EXECUTED 40051c4c: 82 10 61 b0 or %g1, 0x1b0, %g1 ! 400869b0 <== NOT EXECUTED 40051c50: c2 27 bf 98 st %g1, [ %fp + -104 ] <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40051c54: 23 00 00 3f sethi %hi(0xfc00), %l1 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: " 40051c58: 2d 10 02 1a sethi %hi(0x40086800), %l6 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40051c5c: a2 14 63 ff or %l1, 0x3ff, %l1 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 40051c60: a8 10 20 00 clr %l4 <== NOT EXECUTED 40051c64: 2b 02 00 00 sethi %hi(0x8000000), %l5 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: " 40051c68: ac 15 a1 08 or %l6, 0x108, %l6 <== NOT EXECUTED while ((rc == 0) && block) 40051c6c: 80 a4 e0 00 cmp %l3, 0 <== NOT EXECUTED 40051c70: 12 80 00 90 bne 40051eb0 <== NOT EXECUTED 40051c74: c2 07 bf a0 ld [ %fp + -96 ], %g1 <== NOT EXECUTED 40051c78: 80 a0 60 00 cmp %g1, 0 <== NOT EXECUTED 40051c7c: 02 80 00 fe be 40052074 <== NOT EXECUTED 40051c80: 90 10 20 00 clr %o0 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO)) 40051c84: 40 00 18 c7 call 40057fa0 <== NOT EXECUTED 40051c88: 13 01 00 00 sethi %hi(0x4000000), %o1 <== NOT EXECUTED 40051c8c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051c90: 12 80 00 b5 bne 40051f64 <== NOT EXECUTED 40051c94: d4 07 bf c0 ld [ %fp + -64 ], %o2 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &entries, block, true); 40051c98: d4 07 bf a0 ld [ %fp + -96 ], %o2 <== NOT EXECUTED 40051c9c: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED 40051ca0: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 40051ca4: 7f ff fd b9 call 40051388 <== NOT EXECUTED 40051ca8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40051cac: a6 92 20 00 orcc %o0, 0, %l3 <== NOT EXECUTED 40051cb0: 14 80 00 c4 bg 40051fc0 <== NOT EXECUTED 40051cb4: 90 10 20 00 clr %o0 <== NOT EXECUTED map.bpos.boff = 0; 40051cb8: c0 27 bf c4 clr [ %fp + -60 ] <== NOT EXECUTED while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE)) 40051cbc: d0 06 20 08 ld [ %i0 + 8 ], %o0 <== NOT EXECUTED entry = rtems_rfs_buffer_data (&entries); 40051cc0: c2 07 bf ac ld [ %fp + -84 ], %g1 <== NOT EXECUTED while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE)) 40051cc4: 80 a2 20 0a cmp %o0, 0xa <== NOT EXECUTED 40051cc8: 12 80 00 0a bne 40051cf0 <== NOT EXECUTED 40051ccc: e0 00 60 1c ld [ %g1 + 0x1c ], %l0 <== NOT EXECUTED if (rc == 0) 40051cd0: 10 80 00 47 b 40051dec <== NOT EXECUTED 40051cd4: 80 a4 e0 00 cmp %l3, 0 <== NOT EXECUTED map.bpos.boff += elength; 40051cd8: 82 05 c0 01 add %l7, %g1, %g1 <== NOT EXECUTED 40051cdc: c2 27 bf c4 st %g1, [ %fp + -60 ] <== NOT EXECUTED while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE)) 40051ce0: 86 02 3f f6 add %o0, -10, %g3 <== NOT EXECUTED 40051ce4: 80 a0 40 03 cmp %g1, %g3 <== NOT EXECUTED 40051ce8: 1a 80 00 40 bcc 40051de8 <== NOT EXECUTED 40051cec: a0 04 00 17 add %l0, %l7, %l0 <== NOT EXECUTED *ino = rtems_rfs_dir_entry_ino (entry); 40051cf0: d8 0c 00 00 ldub [ %l0 ], %o4 <== NOT EXECUTED 40051cf4: de 0c 20 01 ldub [ %l0 + 1 ], %o7 <== NOT EXECUTED 40051cf8: c2 0c 20 02 ldub [ %l0 + 2 ], %g1 <== NOT EXECUTED 40051cfc: d2 0c 20 03 ldub [ %l0 + 3 ], %o1 <== NOT EXECUTED ehash = rtems_rfs_dir_entry_hash (entry); 40051d00: da 0c 20 04 ldub [ %l0 + 4 ], %o5 <== NOT EXECUTED 40051d04: c8 0c 20 05 ldub [ %l0 + 5 ], %g4 <== NOT EXECUTED 40051d08: c6 0c 20 06 ldub [ %l0 + 6 ], %g3 <== NOT EXECUTED 40051d0c: d6 0c 20 07 ldub [ %l0 + 7 ], %o3 <== NOT EXECUTED 40051d10: c4 0c 20 08 ldub [ %l0 + 8 ], %g2 <== NOT EXECUTED 40051d14: d4 0c 20 09 ldub [ %l0 + 9 ], %o2 <== NOT EXECUTED *ino = rtems_rfs_dir_entry_ino (entry); 40051d18: 99 2b 20 18 sll %o4, 0x18, %o4 <== NOT EXECUTED 40051d1c: 9f 2b e0 10 sll %o7, 0x10, %o7 <== NOT EXECUTED 40051d20: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED 40051d24: 9e 13 c0 0c or %o7, %o4, %o7 <== NOT EXECUTED 40051d28: 82 10 40 0f or %g1, %o7, %g1 <== NOT EXECUTED 40051d2c: 92 12 40 01 or %o1, %g1, %o1 <== NOT EXECUTED 40051d30: d2 27 00 00 st %o1, [ %i4 ] <== NOT EXECUTED ehash = rtems_rfs_dir_entry_hash (entry); 40051d34: 9b 2b 60 18 sll %o5, 0x18, %o5 <== NOT EXECUTED 40051d38: 89 29 20 10 sll %g4, 0x10, %g4 <== NOT EXECUTED 40051d3c: 87 28 e0 08 sll %g3, 8, %g3 <== NOT EXECUTED 40051d40: 88 11 00 0d or %g4, %o5, %g4 <== NOT EXECUTED 40051d44: 85 28 a0 08 sll %g2, 8, %g2 <== NOT EXECUTED 40051d48: 86 10 c0 04 or %g3, %g4, %g3 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40051d4c: ae 12 80 02 or %o2, %g2, %l7 <== NOT EXECUTED if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY) 40051d50: 80 a5 c0 11 cmp %l7, %l1 <== NOT EXECUTED 40051d54: 02 80 00 25 be 40051de8 <== NOT EXECUTED 40051d58: 86 12 c0 03 or %o3, %g3, %g3 <== NOT EXECUTED if (rtems_rfs_dir_entry_valid (fs, elength, *ino)) 40051d5c: 80 a5 e0 0a cmp %l7, 0xa <== NOT EXECUTED 40051d60: 24 80 00 61 ble,a 40051ee4 <== NOT EXECUTED 40051d64: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051d68: c2 06 20 1c ld [ %i0 + 0x1c ], %g1 <== NOT EXECUTED 40051d6c: 80 a5 c0 01 cmp %l7, %g1 <== NOT EXECUTED 40051d70: 1a 80 00 5c bcc 40051ee0 <== NOT EXECUTED 40051d74: 80 a2 60 00 cmp %o1, 0 <== NOT EXECUTED 40051d78: 22 80 00 5b be,a 40051ee4 <== NOT EXECUTED 40051d7c: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051d80: c2 06 20 14 ld [ %i0 + 0x14 ], %g1 <== NOT EXECUTED 40051d84: 80 a2 40 01 cmp %o1, %g1 <== NOT EXECUTED 40051d88: 18 80 00 56 bgu 40051ee0 <== NOT EXECUTED 40051d8c: 80 a4 80 03 cmp %l2, %g3 <== NOT EXECUTED if (ehash == hash) 40051d90: 12 bf ff d2 bne 40051cd8 <== NOT EXECUTED 40051d94: c2 07 bf c4 ld [ %fp + -60 ], %g1 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 40051d98: 90 10 00 14 mov %l4, %o0 <== NOT EXECUTED 40051d9c: 40 00 18 81 call 40057fa0 <== NOT EXECUTED 40051da0: 92 10 00 15 mov %l5, %o1 <== NOT EXECUTED 40051da4: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051da8: 32 80 00 5f bne,a 40051f24 <== NOT EXECUTED 40051dac: c8 0c 00 00 ldub [ %l0 ], %g4 <== NOT EXECUTED if (memcmp (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length) == 0) 40051db0: 94 10 00 1b mov %i3, %o2 <== NOT EXECUTED 40051db4: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 40051db8: 40 00 3c 5d call 40060f2c <== NOT EXECUTED 40051dbc: 90 04 20 0a add %l0, 0xa, %o0 <== NOT EXECUTED 40051dc0: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051dc4: 02 80 00 91 be 40052008 <== NOT EXECUTED 40051dc8: c2 07 bf c4 ld [ %fp + -60 ], %g1 <== NOT EXECUTED map.bpos.boff += elength; 40051dcc: 82 05 c0 01 add %l7, %g1, %g1 <== NOT EXECUTED 40051dd0: c2 27 bf c4 st %g1, [ %fp + -60 ] <== NOT EXECUTED 40051dd4: d0 06 20 08 ld [ %i0 + 8 ], %o0 <== NOT EXECUTED while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE)) 40051dd8: 86 02 3f f6 add %o0, -10, %g3 <== NOT EXECUTED 40051ddc: 80 a0 40 03 cmp %g1, %g3 <== NOT EXECUTED 40051de0: 0a bf ff c4 bcs 40051cf0 <== NOT EXECUTED 40051de4: a0 04 00 17 add %l0, %l7, %l0 <== NOT EXECUTED if (rc == 0) 40051de8: 80 a4 e0 00 cmp %l3, 0 <== NOT EXECUTED 40051dec: 12 80 00 32 bne 40051eb4 <== NOT EXECUTED 40051df0: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED rc = rtems_rfs_block_map_next_block (fs, &map, &block); 40051df4: 94 07 bf a0 add %fp, -96, %o2 <== NOT EXECUTED 40051df8: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40051dfc: 7f ff fa 92 call 40050844 <== NOT EXECUTED 40051e00: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if ((rc > 0) && (rc != ENXIO)) 40051e04: a6 92 20 00 orcc %o0, 0, %l3 <== NOT EXECUTED 40051e08: 04 80 00 09 ble 40051e2c <== NOT EXECUTED 40051e0c: 80 a4 e0 06 cmp %l3, 6 <== NOT EXECUTED 40051e10: 02 80 00 08 be 40051e30 <== NOT EXECUTED 40051e14: 90 10 20 00 clr %o0 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO)) 40051e18: 40 00 18 62 call 40057fa0 <== NOT EXECUTED 40051e1c: 13 01 00 00 sethi %hi(0x4000000), %o1 <== NOT EXECUTED 40051e20: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051e24: 32 80 00 5e bne,a 40051f9c <== NOT EXECUTED 40051e28: e0 06 60 08 ld [ %i1 + 8 ], %l0 <== NOT EXECUTED if (rc == ENXIO) 40051e2c: 80 a4 e0 06 cmp %l3, 6 <== NOT EXECUTED 40051e30: 12 bf ff 90 bne 40051c70 <== NOT EXECUTED 40051e34: 80 a4 e0 00 cmp %l3, 0 <== NOT EXECUTED rc = ENOENT; 40051e38: 10 80 00 1e b 40051eb0 <== NOT EXECUTED 40051e3c: a6 10 20 02 mov 2, %l3 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: lookup ino: root=%" PRId32 ", path=", 40051e40: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051e44: 7f ff a7 c1 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051e48: 90 12 23 70 or %o0, 0x370, %o0 ! 40086770 <== NOT EXECUTED for (c = 0; c < length; c++) 40051e4c: 80 a6 e0 00 cmp %i3, 0 <== NOT EXECUTED 40051e50: 04 80 00 0a ble 40051e78 <== NOT EXECUTED 40051e54: 92 10 00 1b mov %i3, %o1 <== NOT EXECUTED 40051e58: a0 10 00 1a mov %i2, %l0 <== NOT EXECUTED 40051e5c: a2 06 c0 1a add %i3, %i2, %l1 <== NOT EXECUTED printf ("%c", name[c]); 40051e60: 7f ff a7 cf call 4003bd9c <__wrap_putchar> <== NOT EXECUTED 40051e64: d0 4c 00 00 ldsb [ %l0 ], %o0 <== NOT EXECUTED 40051e68: a0 04 20 01 inc %l0 <== NOT EXECUTED for (c = 0; c < length; c++) 40051e6c: 80 a4 40 10 cmp %l1, %l0 <== NOT EXECUTED 40051e70: 12 bf ff fc bne 40051e60 <== NOT EXECUTED 40051e74: 92 10 00 1b mov %i3, %o1 <== NOT EXECUTED printf (", len=%d\n", length); 40051e78: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051e7c: 7f ff a7 b3 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051e80: 90 12 23 a8 or %o0, 0x3a8, %o0 ! 400867a8 <== NOT EXECUTED *ino = RTEMS_RFS_EMPTY_INO; 40051e84: 10 bf ff 45 b 40051b98 <== NOT EXECUTED 40051e88: c0 27 00 00 clr [ %i4 ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO)) 40051e8c: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051e90: 40 00 18 44 call 40057fa0 <== NOT EXECUTED 40051e94: 13 01 00 00 sethi %hi(0x4000000), %o1 <== NOT EXECUTED 40051e98: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051e9c: 12 80 00 37 bne 40051f78 <== NOT EXECUTED 40051ea0: 01 00 00 00 nop <== NOT EXECUTED if (rc == ENXIO) 40051ea4: 80 a4 e0 06 cmp %l3, 6 <== NOT EXECUTED 40051ea8: 22 80 00 02 be,a 40051eb0 <== NOT EXECUTED 40051eac: a6 10 20 02 mov 2, %l3 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40051eb0: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 40051eb4: 7f ff fd fc call 400516a4 <== NOT EXECUTED 40051eb8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 40051ebc: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED handle->dirty = false; 40051ec0: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED 40051ec4: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->bnum = 0; 40051ec8: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED } 40051ecc: b0 10 00 13 mov %l3, %i0 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 40051ed0: 7f ff f9 73 call 4005049c <== NOT EXECUTED 40051ed4: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED } 40051ed8: 81 c7 e0 08 ret <== NOT EXECUTED 40051edc: 81 e8 00 00 restore <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO)) 40051ee0: 90 10 20 00 clr %o0 <== NOT EXECUTED 40051ee4: 40 00 18 2f call 40057fa0 <== NOT EXECUTED 40051ee8: 13 01 00 00 sethi %hi(0x4000000), %o1 <== NOT EXECUTED 40051eec: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051ef0: 12 80 00 04 bne 40051f00 <== NOT EXECUTED 40051ef4: d8 07 bf c4 ld [ %fp + -60 ], %o4 <== NOT EXECUTED rc = EIO; 40051ef8: 10 bf ff ee b 40051eb0 <== NOT EXECUTED 40051efc: a6 10 20 05 mov 5, %l3 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: " 40051f00: d6 07 00 00 ld [ %i4 ], %o3 <== NOT EXECUTED 40051f04: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED 40051f08: 94 10 00 17 mov %l7, %o2 <== NOT EXECUTED rc = EIO; 40051f0c: a6 10 20 05 mov 5, %l3 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: " 40051f10: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 40051f14: 7f ff a7 8d call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051f18: 90 12 20 b8 or %o0, 0xb8, %o0 ! 400868b8 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40051f1c: 10 bf ff e6 b 40051eb4 <== NOT EXECUTED 40051f20: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: " 40051f24: c6 0c 20 01 ldub [ %l0 + 1 ], %g3 <== NOT EXECUTED 40051f28: c2 0c 20 02 ldub [ %l0 + 2 ], %g1 <== NOT EXECUTED 40051f2c: da 0c 20 03 ldub [ %l0 + 3 ], %o5 <== NOT EXECUTED 40051f30: 89 29 20 18 sll %g4, 0x18, %g4 <== NOT EXECUTED 40051f34: d4 1f bf c0 ldd [ %fp + -64 ], %o2 <== NOT EXECUTED 40051f38: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED 40051f3c: 87 28 e0 10 sll %g3, 0x10, %g3 <== NOT EXECUTED 40051f40: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED 40051f44: 86 10 c0 04 or %g3, %g4, %g3 <== NOT EXECUTED 40051f48: 82 10 40 03 or %g1, %g3, %g1 <== NOT EXECUTED 40051f4c: 98 10 00 17 mov %l7, %o4 <== NOT EXECUTED 40051f50: 90 10 00 16 mov %l6, %o0 <== NOT EXECUTED 40051f54: 7f ff a7 7d call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051f58: 9a 13 40 01 or %o5, %g1, %o5 <== NOT EXECUTED if (memcmp (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length) == 0) 40051f5c: 10 bf ff 96 b 40051db4 <== NOT EXECUTED 40051f60: 94 10 00 1b mov %i3, %o2 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " bno=%" PRId32 "\n", 40051f64: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED 40051f68: 7f ff a7 78 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051f6c: d0 07 bf 9c ld [ %fp + -100 ], %o0 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &entries, block, true); 40051f70: 10 bf ff 4b b 40051c9c <== NOT EXECUTED 40051f74: d4 07 bf a0 ld [ %fp + -96 ], %o2 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: block map find failed: %d: %s\n", 40051f78: 40 00 49 8a call 400645a0 <== NOT EXECUTED 40051f7c: 90 10 00 13 mov %l3, %o0 <== NOT EXECUTED 40051f80: 92 10 00 13 mov %l3, %o1 <== NOT EXECUTED 40051f84: 94 10 00 08 mov %o0, %o2 <== NOT EXECUTED 40051f88: 11 10 02 19 sethi %hi(0x40086400), %o0 <== NOT EXECUTED 40051f8c: 7f ff a7 6f call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051f90: 90 12 23 f8 or %o0, 0x3f8, %o0 ! 400867f8 <== NOT EXECUTED if (rc == ENXIO) 40051f94: 10 bf ff c5 b 40051ea8 <== NOT EXECUTED 40051f98: 80 a4 e0 06 cmp %l3, 6 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: " 40051f9c: 40 00 49 81 call 400645a0 <== NOT EXECUTED 40051fa0: 90 10 00 13 mov %l3, %o0 <== NOT EXECUTED 40051fa4: 96 10 00 08 mov %o0, %o3 <== NOT EXECUTED 40051fa8: d0 07 bf 98 ld [ %fp + -104 ], %o0 <== NOT EXECUTED 40051fac: 94 10 00 13 mov %l3, %o2 <== NOT EXECUTED 40051fb0: 7f ff a7 66 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051fb4: 92 10 00 10 mov %l0, %o1 <== NOT EXECUTED if (rc == ENXIO) 40051fb8: 10 bf ff 9e b 40051e30 <== NOT EXECUTED 40051fbc: 80 a4 e0 06 cmp %l3, 6 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO)) 40051fc0: 40 00 17 f8 call 40057fa0 <== NOT EXECUTED 40051fc4: 13 01 00 00 sethi %hi(0x4000000), %o1 <== NOT EXECUTED 40051fc8: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40051fcc: 22 bf ff ba be,a 40051eb4 <== NOT EXECUTED 40051fd0: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " block=%" PRId32 ": %d: %s\n", 40051fd4: fa 06 60 08 ld [ %i1 + 8 ], %i5 <== NOT EXECUTED 40051fd8: f8 07 bf a0 ld [ %fp + -96 ], %i4 <== NOT EXECUTED 40051fdc: 40 00 49 71 call 400645a0 <== NOT EXECUTED 40051fe0: 90 10 00 13 mov %l3, %o0 <== NOT EXECUTED 40051fe4: 96 10 00 13 mov %l3, %o3 <== NOT EXECUTED 40051fe8: 98 10 00 08 mov %o0, %o4 <== NOT EXECUTED 40051fec: 94 10 00 1c mov %i4, %o2 <== NOT EXECUTED 40051ff0: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED 40051ff4: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 40051ff8: 7f ff a7 54 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40051ffc: 90 12 20 70 or %o0, 0x70, %o0 ! 40086870 <== NOT EXECUTED 40052000: 10 bf ff ad b 40051eb4 <== NOT EXECUTED 40052004: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED *offset = rtems_rfs_block_map_pos (fs, &map); 40052008: 92 07 bf c0 add %fp, -64, %o1 <== NOT EXECUTED 4005200c: 7f ff f8 ab call 400502b8 <== NOT EXECUTED 40052010: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 40052014: d2 27 40 00 st %o1, [ %i5 ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_FOUND)) 40052018: 90 10 20 00 clr %o0 <== NOT EXECUTED 4005201c: 40 00 17 e1 call 40057fa0 <== NOT EXECUTED 40052020: 13 04 00 00 sethi %hi(0x10000000), %o1 <== NOT EXECUTED 40052024: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052028: 02 80 00 09 be 4005204c <== NOT EXECUTED 4005202c: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: " 40052030: d6 07 40 00 ld [ %i5 ], %o3 <== NOT EXECUTED 40052034: d4 07 00 00 ld [ %i4 ], %o2 <== NOT EXECUTED 40052038: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED 4005203c: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 40052040: 7f ff a7 42 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052044: 90 12 21 68 or %o0, 0x168, %o0 ! 40086968 <== NOT EXECUTED 40052048: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 4005204c: 7f ff fd 96 call 400516a4 <== NOT EXECUTED 40052050: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 40052054: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED handle->dirty = false; 40052058: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED 4005205c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->bnum = 0; 40052060: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED return 0; 40052064: a6 10 20 00 clr %l3 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 40052068: 7f ff f9 0d call 4005049c <== NOT EXECUTED 4005206c: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED return 0; 40052070: 30 bf fe d8 b,a 40051bd0 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO)) 40052074: 40 00 17 cb call 40057fa0 <== NOT EXECUTED 40052078: 13 01 00 00 sethi %hi(0x4000000), %o1 <== NOT EXECUTED 4005207c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052080: 22 bf ff 8c be,a 40051eb0 <== NOT EXECUTED 40052084: a6 10 20 05 mov 5, %l3 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: block is 0 in ino %" PRIu32 ": %d: %s\n", 40052088: fa 06 60 08 ld [ %i1 + 8 ], %i5 <== NOT EXECUTED 4005208c: 40 00 49 45 call 400645a0 <== NOT EXECUTED 40052090: 90 10 20 05 mov 5, %o0 <== NOT EXECUTED 40052094: 94 10 20 05 mov 5, %o2 <== NOT EXECUTED 40052098: 96 10 00 08 mov %o0, %o3 <== NOT EXECUTED 4005209c: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED rc = EIO; 400520a0: a6 10 20 05 mov 5, %l3 <== NOT EXECUTED printf ("rtems-rfs: dir-lookup-ino: block is 0 in ino %" PRIu32 ": %d: %s\n", 400520a4: 11 10 02 1a sethi %hi(0x40086800), %o0 <== NOT EXECUTED 400520a8: 7f ff a7 28 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 400520ac: 90 12 22 00 or %o0, 0x200, %o0 ! 40086a00 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 400520b0: 10 bf ff 81 b 40051eb4 <== NOT EXECUTED 400520b4: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED =============================================================================== 40052918 : rtems_rfs_dir_read (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir, rtems_rfs_pos_rel offset, struct dirent* dirent, size_t* length) { 40052918: 9d e3 bf 40 save %sp, -192, %sp <== NOT EXECUTED rtems_rfs_block_map map; rtems_rfs_buffer_handle buffer; rtems_rfs_block_no block; int rc; if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ)) 4005291c: 90 10 20 00 clr %o0 <== NOT EXECUTED 40052920: 13 20 00 00 sethi %hi(0x80000000), %o1 <== NOT EXECUTED 40052924: 40 00 15 9f call 40057fa0 <== NOT EXECUTED 40052928: a4 10 00 1a mov %i2, %l2 <== NOT EXECUTED 4005292c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052930: 12 80 00 29 bne 400529d4 <== NOT EXECUTED 40052934: a6 10 00 1b mov %i3, %l3 <== NOT EXECUTED printf ("rtems-rfs: dir-read: dir=%" PRId32 " offset=%" PRId64 "\n", rtems_rfs_inode_ino (dir), offset); *length = 0; 40052938: c0 27 40 00 clr [ %i5 ] <== NOT EXECUTED rc = rtems_rfs_block_map_open (fs, dir, &map); 4005293c: 92 10 00 19 mov %i1, %o1 <== NOT EXECUTED 40052940: 94 07 bf b0 add %fp, -80, %o2 <== NOT EXECUTED 40052944: 7f ff f6 77 call 40050320 <== NOT EXECUTED 40052948: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 4005294c: b6 92 20 00 orcc %o0, 0, %i3 <== NOT EXECUTED 40052950: 24 80 00 04 ble,a 40052960 <== NOT EXECUTED 40052954: e0 06 20 08 ld [ %i0 + 8 ], %l0 <== NOT EXECUTED } rtems_rfs_buffer_handle_close (fs, &buffer); rtems_rfs_block_map_close (fs, &map); return rc; } 40052958: 81 c7 e0 08 ret <== NOT EXECUTED 4005295c: 91 e8 00 1b restore %g0, %i3, %o0 <== NOT EXECUTED if (((rtems_rfs_fs_block_size (fs) - 40052960: b4 10 20 00 clr %i2 <== NOT EXECUTED (offset % rtems_rfs_fs_block_size (fs))) <= RTEMS_RFS_DIR_ENTRY_SIZE)) 40052964: 90 10 00 12 mov %l2, %o0 <== NOT EXECUTED 40052968: 92 10 00 13 mov %l3, %o1 <== NOT EXECUTED 4005296c: 94 10 00 1a mov %i2, %o2 <== NOT EXECUTED 40052970: 40 00 9d 00 call 40079d70 <__moddi3> <== NOT EXECUTED 40052974: 96 10 00 10 mov %l0, %o3 <== NOT EXECUTED if (((rtems_rfs_fs_block_size (fs) - 40052978: 86 a4 00 09 subcc %l0, %o1, %g3 <== NOT EXECUTED 4005297c: 84 66 80 08 subx %i2, %o0, %g2 <== NOT EXECUTED 40052980: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 40052984: 04 80 00 1c ble 400529f4 <== NOT EXECUTED 40052988: b6 10 00 10 mov %l0, %i3 <== NOT EXECUTED rc = rtems_rfs_block_map_seek (fs, &map, offset, &block); 4005298c: 94 10 00 12 mov %l2, %o2 <== NOT EXECUTED 40052990: 96 10 00 13 mov %l3, %o3 <== NOT EXECUTED 40052994: 98 07 bf a0 add %fp, -96, %o4 <== NOT EXECUTED 40052998: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 4005299c: 7f ff f7 8c call 400507cc <== NOT EXECUTED 400529a0: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 400529a4: b6 92 20 00 orcc %o0, 0, %i3 <== NOT EXECUTED 400529a8: 24 80 00 2d ble,a 40052a5c <== NOT EXECUTED 400529ac: 35 00 00 3f sethi %hi(0xfc00), %i2 <== NOT EXECUTED if (rc == ENXIO) 400529b0: 80 a6 e0 06 cmp %i3, 6 <== NOT EXECUTED 400529b4: 22 80 00 02 be,a 400529bc <== NOT EXECUTED 400529b8: b6 10 20 02 mov 2, %i3 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 400529bc: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 400529c0: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 400529c4: 7f ff f6 b6 call 4005049c <== NOT EXECUTED 400529c8: b0 10 00 1b mov %i3, %i0 <== NOT EXECUTED } 400529cc: 81 c7 e0 08 ret <== NOT EXECUTED 400529d0: 81 e8 00 00 restore <== NOT EXECUTED printf ("rtems-rfs: dir-read: dir=%" PRId32 " offset=%" PRId64 "\n", 400529d4: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED 400529d8: 94 10 00 1a mov %i2, %o2 <== NOT EXECUTED 400529dc: 96 10 00 1b mov %i3, %o3 <== NOT EXECUTED 400529e0: 11 10 02 1b sethi %hi(0x40086c00), %o0 <== NOT EXECUTED 400529e4: 7f ff a4 d9 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 400529e8: 90 12 21 20 or %o0, 0x120, %o0 ! 40086d20 <== NOT EXECUTED *length = 0; 400529ec: 10 bf ff d4 b 4005293c <== NOT EXECUTED 400529f0: c0 27 40 00 clr [ %i5 ] <== NOT EXECUTED if (((rtems_rfs_fs_block_size (fs) - 400529f4: 12 80 00 06 bne 40052a0c <== NOT EXECUTED 400529f8: 96 10 00 1b mov %i3, %o3 <== NOT EXECUTED 400529fc: 80 a0 e0 0a cmp %g3, 0xa <== NOT EXECUTED 40052a00: 38 bf ff e4 bgu,a 40052990 <== NOT EXECUTED 40052a04: 94 10 00 12 mov %l2, %o2 <== NOT EXECUTED offset = (((offset / rtems_rfs_fs_block_size (fs)) + 1) * 40052a08: 96 10 00 1b mov %i3, %o3 <== NOT EXECUTED 40052a0c: 90 10 00 12 mov %l2, %o0 <== NOT EXECUTED 40052a10: 92 10 00 13 mov %l3, %o1 <== NOT EXECUTED 40052a14: 40 00 9c 4c call 40079b44 <__divdi3> <== NOT EXECUTED 40052a18: 94 10 00 1a mov %i2, %o2 <== NOT EXECUTED 40052a1c: 86 82 60 01 addcc %o1, 1, %g3 <== NOT EXECUTED 40052a20: 84 42 20 00 addx %o0, 0, %g2 <== NOT EXECUTED 40052a24: 82 58 80 10 smul %g2, %l0, %g1 <== NOT EXECUTED 40052a28: a6 54 00 03 umul %l0, %g3, %l3 <== NOT EXECUTED 40052a2c: a5 40 00 00 rd %y, %l2 <== NOT EXECUTED rc = rtems_rfs_block_map_seek (fs, &map, offset, &block); 40052a30: 98 07 bf a0 add %fp, -96, %o4 <== NOT EXECUTED offset = (((offset / rtems_rfs_fs_block_size (fs)) + 1) * 40052a34: a4 00 40 12 add %g1, %l2, %l2 <== NOT EXECUTED rc = rtems_rfs_block_map_seek (fs, &map, offset, &block); 40052a38: 96 10 00 13 mov %l3, %o3 <== NOT EXECUTED 40052a3c: 94 10 00 12 mov %l2, %o2 <== NOT EXECUTED 40052a40: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40052a44: 7f ff f7 62 call 400507cc <== NOT EXECUTED 40052a48: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052a4c: b6 92 20 00 orcc %o0, 0, %i3 <== NOT EXECUTED 40052a50: 14 bf ff d9 bg 400529b4 <== NOT EXECUTED 40052a54: 80 a6 e0 06 cmp %i3, 6 <== NOT EXECUTED if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY) 40052a58: 35 00 00 3f sethi %hi(0xfc00), %i2 <== NOT EXECUTED printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n", 40052a5c: 2d 10 02 1b sethi %hi(0x40086c00), %l6 <== NOT EXECUTED handle->dirty = false; 40052a60: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY) 40052a64: b4 16 a3 ff or %i2, 0x3ff, %i2 <== NOT EXECUTED handle->bnum = 0; 40052a68: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ)) 40052a6c: a8 10 20 00 clr %l4 <== NOT EXECUTED handle->buffer = NULL; 40052a70: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED 40052a74: 2b 20 00 00 sethi %hi(0x80000000), %l5 <== NOT EXECUTED printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n", 40052a78: 10 80 00 0b b 40052aa4 <== NOT EXECUTED 40052a7c: ac 15 a1 d0 or %l6, 0x1d0, %l6 <== NOT EXECUTED rc = rtems_rfs_block_map_next_block (fs, &map, &block); 40052a80: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED 40052a84: 7f ff f7 70 call 40050844 <== NOT EXECUTED 40052a88: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc == ENXIO) 40052a8c: 80 a2 20 06 cmp %o0, 6 <== NOT EXECUTED 40052a90: 02 80 00 90 be 40052cd0 <== NOT EXECUTED 40052a94: b6 10 00 08 mov %o0, %i3 <== NOT EXECUTED while (rc == 0) 40052a98: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052a9c: 12 80 00 60 bne 40052c1c <== NOT EXECUTED 40052aa0: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true); 40052aa4: d4 07 bf a0 ld [ %fp + -96 ], %o2 <== NOT EXECUTED 40052aa8: 96 10 20 01 mov 1, %o3 <== NOT EXECUTED 40052aac: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 40052ab0: 7f ff fa 36 call 40051388 <== NOT EXECUTED 40052ab4: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 40052ab8: b6 92 20 00 orcc %o0, 0, %i3 <== NOT EXECUTED 40052abc: 14 80 00 57 bg 40052c18 <== NOT EXECUTED 40052ac0: c2 07 bf ac ld [ %fp + -84 ], %g1 <== NOT EXECUTED entry = rtems_rfs_buffer_data (&buffer); 40052ac4: e0 00 60 1c ld [ %g1 + 0x1c ], %l0 <== NOT EXECUTED entry += map.bpos.boff; 40052ac8: c6 07 bf c4 ld [ %fp + -60 ], %g3 <== NOT EXECUTED 40052acc: a0 04 00 03 add %l0, %g3, %l0 <== NOT EXECUTED 40052ad0: c2 0c 20 08 ldub [ %l0 + 8 ], %g1 <== NOT EXECUTED 40052ad4: e2 0c 20 09 ldub [ %l0 + 9 ], %l1 <== NOT EXECUTED 40052ad8: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED elength = rtems_rfs_dir_entry_length (entry); 40052adc: a2 14 40 01 or %l1, %g1, %l1 <== NOT EXECUTED if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY) 40052ae0: 80 a4 40 1a cmp %l1, %i2 <== NOT EXECUTED 40052ae4: 12 80 00 59 bne 40052c48 <== NOT EXECUTED 40052ae8: 90 10 00 14 mov %l4, %o0 <== NOT EXECUTED *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff; 40052aec: c4 06 20 08 ld [ %i0 + 8 ], %g2 <== NOT EXECUTED 40052af0: c2 07 40 00 ld [ %i5 ], %g1 <== NOT EXECUTED 40052af4: 84 20 80 03 sub %g2, %g3, %g2 <== NOT EXECUTED 40052af8: 82 00 40 02 add %g1, %g2, %g1 <== NOT EXECUTED 40052afc: c2 27 40 00 st %g1, [ %i5 ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ)) 40052b00: 40 00 15 28 call 40057fa0 <== NOT EXECUTED 40052b04: 92 10 00 15 mov %l5, %o1 <== NOT EXECUTED 40052b08: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052b0c: 22 bf ff dd be,a 40052a80 <== NOT EXECUTED 40052b10: 94 07 bf a0 add %fp, -96, %o2 <== NOT EXECUTED printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n", 40052b14: d6 07 40 00 ld [ %i5 ], %o3 <== NOT EXECUTED 40052b18: 92 10 00 12 mov %l2, %o1 <== NOT EXECUTED 40052b1c: 94 10 00 13 mov %l3, %o2 <== NOT EXECUTED 40052b20: 7f ff a4 8a call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052b24: 90 10 00 16 mov %l6, %o0 <== NOT EXECUTED rc = rtems_rfs_block_map_next_block (fs, &map, &block); 40052b28: 10 bf ff d6 b 40052a80 <== NOT EXECUTED 40052b2c: 94 07 bf a0 add %fp, -96, %o2 <== NOT EXECUTED if (rtems_rfs_dir_entry_valid (fs, elength, eino)) 40052b30: 80 a0 40 1a cmp %g1, %i2 <== NOT EXECUTED 40052b34: 0a 80 00 58 bcs 40052c94 <== NOT EXECUTED 40052b38: 90 10 20 00 clr %o0 <== NOT EXECUTED memset (dirent, 0, sizeof (struct dirent)); 40052b3c: 94 10 21 18 mov 0x118, %o2 <== NOT EXECUTED 40052b40: 92 10 20 00 clr %o1 <== NOT EXECUTED 40052b44: 40 00 39 ad call 400611f8 <== NOT EXECUTED 40052b48: 90 10 00 1c mov %i4, %o0 <== NOT EXECUTED dirent->d_off = rtems_rfs_block_get_pos (fs, &map.bpos); 40052b4c: 92 07 bf c0 add %fp, -64, %o1 <== NOT EXECUTED 40052b50: 7f ff f5 da call 400502b8 <== NOT EXECUTED 40052b54: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED *length += elength; 40052b58: c2 07 40 00 ld [ %i5 ], %g1 <== NOT EXECUTED dirent->d_reclen = sizeof (struct dirent); 40052b5c: 84 10 21 18 mov 0x118, %g2 <== NOT EXECUTED dirent->d_off = rtems_rfs_block_get_pos (fs, &map.bpos); 40052b60: d0 3f 20 08 std %o0, [ %i4 + 8 ] <== NOT EXECUTED *length += elength; 40052b64: 82 04 40 01 add %l1, %g1, %g1 <== NOT EXECUTED dirent->d_reclen = sizeof (struct dirent); 40052b68: c4 37 20 10 sth %g2, [ %i4 + 0x10 ] <== NOT EXECUTED *length += elength; 40052b6c: c2 27 40 00 st %g1, [ %i5 ] <== NOT EXECUTED remaining = rtems_rfs_fs_block_size (fs) - (map.bpos.boff + elength); 40052b70: c6 07 bf c4 ld [ %fp + -60 ], %g3 <== NOT EXECUTED 40052b74: c4 06 20 08 ld [ %i0 + 8 ], %g2 <== NOT EXECUTED 40052b78: 84 20 80 03 sub %g2, %g3, %g2 <== NOT EXECUTED 40052b7c: 84 20 80 11 sub %g2, %l1, %g2 <== NOT EXECUTED if (remaining <= RTEMS_RFS_DIR_ENTRY_SIZE) 40052b80: 80 a0 a0 0a cmp %g2, 0xa <== NOT EXECUTED 40052b84: 14 80 00 04 bg 40052b94 <== NOT EXECUTED 40052b88: a2 04 7f f6 add %l1, -10, %l1 <== NOT EXECUTED *length += remaining; 40052b8c: 82 00 40 02 add %g1, %g2, %g1 <== NOT EXECUTED 40052b90: c2 27 40 00 st %g1, [ %i5 ] <== NOT EXECUTED 40052b94: 80 a4 60 ff cmp %l1, 0xff <== NOT EXECUTED 40052b98: 34 80 00 02 bg,a 40052ba0 <== NOT EXECUTED 40052b9c: a2 10 20 ff mov 0xff, %l1 <== NOT EXECUTED memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength); 40052ba0: 94 10 00 11 mov %l1, %o2 <== NOT EXECUTED 40052ba4: 92 04 20 0a add %l0, 0xa, %o1 <== NOT EXECUTED 40052ba8: ba 07 20 14 add %i4, 0x14, %i5 <== NOT EXECUTED 40052bac: 40 00 39 09 call 40060fd0 <== NOT EXECUTED 40052bb0: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED dirent->d_ino = rtems_rfs_dir_entry_ino (entry); 40052bb4: c8 0c 00 00 ldub [ %l0 ], %g4 <== NOT EXECUTED 40052bb8: c4 0c 20 01 ldub [ %l0 + 1 ], %g2 <== NOT EXECUTED 40052bbc: c2 0c 20 02 ldub [ %l0 + 2 ], %g1 <== NOT EXECUTED 40052bc0: c6 0c 20 03 ldub [ %l0 + 3 ], %g3 <== NOT EXECUTED 40052bc4: 89 29 20 18 sll %g4, 0x18, %g4 <== NOT EXECUTED 40052bc8: 85 28 a0 10 sll %g2, 0x10, %g2 <== NOT EXECUTED 40052bcc: 83 28 60 08 sll %g1, 8, %g1 <== NOT EXECUTED 40052bd0: 84 10 80 04 or %g2, %g4, %g2 <== NOT EXECUTED dirent->d_namlen = elength; 40052bd4: e2 37 20 12 sth %l1, [ %i4 + 0x12 ] <== NOT EXECUTED dirent->d_ino = rtems_rfs_dir_entry_ino (entry); 40052bd8: 82 10 40 02 or %g1, %g2, %g1 <== NOT EXECUTED 40052bdc: 82 10 c0 01 or %g3, %g1, %g1 <== NOT EXECUTED 40052be0: c2 27 00 00 st %g1, [ %i4 ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ)) 40052be4: 90 10 20 00 clr %o0 <== NOT EXECUTED 40052be8: 40 00 14 ee call 40057fa0 <== NOT EXECUTED 40052bec: 13 20 00 00 sethi %hi(0x80000000), %o1 <== NOT EXECUTED 40052bf0: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052bf4: 02 80 00 0a be 40052c1c <== NOT EXECUTED 40052bf8: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED printf ("rtems-rfs: dir-read: found off:%" PRIooff_t " ino:%ld name=%s\n", 40052bfc: d6 07 00 00 ld [ %i4 ], %o3 <== NOT EXECUTED 40052c00: d2 07 20 08 ld [ %i4 + 8 ], %o1 <== NOT EXECUTED 40052c04: d4 07 20 0c ld [ %i4 + 0xc ], %o2 <== NOT EXECUTED 40052c08: 11 10 02 1b sethi %hi(0x40086c00), %o0 <== NOT EXECUTED 40052c0c: 98 10 00 1d mov %i5, %o4 <== NOT EXECUTED 40052c10: 7f ff a4 4e call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052c14: 90 12 21 98 or %o0, 0x198, %o0 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40052c18: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED 40052c1c: 7f ff fa a2 call 400516a4 <== NOT EXECUTED 40052c20: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 40052c24: 92 07 bf b0 add %fp, -80, %o1 <== NOT EXECUTED handle->dirty = false; 40052c28: c0 2f bf a4 clrb [ %fp + -92 ] <== NOT EXECUTED 40052c2c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->bnum = 0; 40052c30: c0 27 bf a8 clr [ %fp + -88 ] <== NOT EXECUTED } 40052c34: b0 10 00 1b mov %i3, %i0 <== NOT EXECUTED rtems_rfs_block_map_close (fs, &map); 40052c38: 7f ff f6 19 call 4005049c <== NOT EXECUTED 40052c3c: c0 27 bf ac clr [ %fp + -84 ] <== NOT EXECUTED } 40052c40: 81 c7 e0 08 ret <== NOT EXECUTED 40052c44: 81 e8 00 00 restore <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052c48: c4 0c 00 00 ldub [ %l0 ], %g2 <== NOT EXECUTED 40052c4c: c2 0c 20 01 ldub [ %l0 + 1 ], %g1 <== NOT EXECUTED 40052c50: d6 0c 20 02 ldub [ %l0 + 2 ], %o3 <== NOT EXECUTED 40052c54: c6 0c 20 03 ldub [ %l0 + 3 ], %g3 <== NOT EXECUTED 40052c58: 85 28 a0 18 sll %g2, 0x18, %g2 <== NOT EXECUTED 40052c5c: 83 28 60 10 sll %g1, 0x10, %g1 <== NOT EXECUTED 40052c60: 97 2a e0 08 sll %o3, 8, %o3 <== NOT EXECUTED 40052c64: 82 10 40 02 or %g1, %g2, %g1 <== NOT EXECUTED if (rtems_rfs_dir_entry_valid (fs, elength, eino)) 40052c68: 80 a4 60 0a cmp %l1, 0xa <== NOT EXECUTED eino = rtems_rfs_dir_entry_ino (entry); 40052c6c: 96 12 c0 01 or %o3, %g1, %o3 <== NOT EXECUTED if (rtems_rfs_dir_entry_valid (fs, elength, eino)) 40052c70: 04 80 00 08 ble 40052c90 <== NOT EXECUTED 40052c74: b4 10 c0 0b or %g3, %o3, %i2 <== NOT EXECUTED 40052c78: c2 06 20 1c ld [ %i0 + 0x1c ], %g1 <== NOT EXECUTED 40052c7c: 80 a4 40 01 cmp %l1, %g1 <== NOT EXECUTED 40052c80: 1a 80 00 04 bcc 40052c90 <== NOT EXECUTED 40052c84: 80 a6 a0 00 cmp %i2, 0 <== NOT EXECUTED 40052c88: 32 bf ff aa bne,a 40052b30 <== NOT EXECUTED 40052c8c: c2 06 20 14 ld [ %i0 + 0x14 ], %g1 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ)) 40052c90: 90 10 20 00 clr %o0 <== NOT EXECUTED 40052c94: 13 20 00 00 sethi %hi(0x80000000), %o1 <== NOT EXECUTED 40052c98: 40 00 14 c2 call 40057fa0 <== NOT EXECUTED 40052c9c: b6 10 20 05 mov 5, %i3 <== NOT EXECUTED 40052ca0: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40052ca4: 22 bf ff de be,a 40052c1c <== NOT EXECUTED 40052ca8: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED printf ("rtems-rfs: dir-read: " 40052cac: d8 07 bf c4 ld [ %fp + -60 ], %o4 <== NOT EXECUTED 40052cb0: d2 06 60 08 ld [ %i1 + 8 ], %o1 <== NOT EXECUTED 40052cb4: 96 10 00 1a mov %i2, %o3 <== NOT EXECUTED 40052cb8: 94 10 00 11 mov %l1, %o2 <== NOT EXECUTED 40052cbc: 11 10 02 1b sethi %hi(0x40086c00), %o0 <== NOT EXECUTED 40052cc0: 7f ff a4 22 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40052cc4: 90 12 21 50 or %o0, 0x150, %o0 ! 40086d50 <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 40052cc8: 10 bf ff d5 b 40052c1c <== NOT EXECUTED 40052ccc: 92 07 bf a4 add %fp, -92, %o1 <== NOT EXECUTED rc = ENOENT; 40052cd0: 10 bf ff d2 b 40052c18 <== NOT EXECUTED 40052cd4: b6 10 20 02 mov 2, %i3 <== NOT EXECUTED =============================================================================== 4005328c : { 4005328c: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE)) 40053290: 90 10 20 10 mov 0x10, %o0 <== NOT EXECUTED 40053294: 40 00 13 43 call 40057fa0 <== NOT EXECUTED 40053298: 92 10 20 00 clr %o1 <== NOT EXECUTED 4005329c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400532a0: 32 80 00 79 bne,a 40053484 <== NOT EXECUTED 400532a4: c2 06 60 1c ld [ %i1 + 0x1c ], %g1 <== NOT EXECUTED if (handle->shared->references > 0) 400532a8: d2 06 60 1c ld [ %i1 + 0x1c ], %o1 <== NOT EXECUTED 400532ac: fa 02 60 08 ld [ %o1 + 8 ], %i5 <== NOT EXECUTED 400532b0: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED 400532b4: 04 80 00 05 ble 400532c8 <== NOT EXECUTED 400532b8: 01 00 00 00 nop <== NOT EXECUTED handle->shared->references--; 400532bc: ba 07 7f ff add %i5, -1, %i5 <== NOT EXECUTED 400532c0: fa 22 60 08 st %i5, [ %o1 + 8 ] <== NOT EXECUTED if (handle->shared->references == 0) 400532c4: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED 400532c8: 02 80 00 0b be 400532f4 <== NOT EXECUTED 400532cc: b8 06 60 04 add %i1, 4, %i4 <== NOT EXECUTED 400532d0: 92 10 00 1c mov %i4, %o1 <== NOT EXECUTED 400532d4: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 400532d8: 7f ff f8 f3 call 400516a4 <== NOT EXECUTED 400532dc: ba 10 20 00 clr %i5 <== NOT EXECUTED free (handle); 400532e0: 90 10 00 19 mov %i1, %o0 <== NOT EXECUTED 400532e4: 7f fe e0 e7 call 4000b680 <== NOT EXECUTED 400532e8: b0 10 00 1d mov %i5, %i0 <== NOT EXECUTED } 400532ec: 81 c7 e0 08 ret <== NOT EXECUTED 400532f0: 81 e8 00 00 restore <== NOT EXECUTED if (!rtems_rfs_inode_is_loaded (&handle->shared->inode)) 400532f4: c4 02 60 18 ld [ %o1 + 0x18 ], %g2 <== NOT EXECUTED 400532f8: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 400532fc: 22 80 00 87 be,a 40053518 <== NOT EXECUTED 40053300: 92 02 60 0c add %o1, 0xc, %o1 <== NOT EXECUTED rtems_rfs_inode_set_atime (&handle->shared->inode, 40053304: c2 02 60 8c ld [ %o1 + 0x8c ], %g1 <== NOT EXECUTED rtems_rfs_write_u32 (&handle->node->atime, atime); 40053308: 87 30 60 18 srl %g1, 0x18, %g3 <== NOT EXECUTED 4005330c: c6 28 a0 10 stb %g3, [ %g2 + 0x10 ] <== NOT EXECUTED 40053310: 87 30 60 10 srl %g1, 0x10, %g3 <== NOT EXECUTED 40053314: c4 02 60 18 ld [ %o1 + 0x18 ], %g2 <== NOT EXECUTED 40053318: c6 28 a0 11 stb %g3, [ %g2 + 0x11 ] <== NOT EXECUTED 4005331c: 87 30 60 08 srl %g1, 8, %g3 <== NOT EXECUTED 40053320: c4 02 60 18 ld [ %o1 + 0x18 ], %g2 <== NOT EXECUTED 40053324: c6 28 a0 12 stb %g3, [ %g2 + 0x12 ] <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (&handle->buffer); 40053328: 88 10 20 01 mov 1, %g4 <== NOT EXECUTED rtems_rfs_write_u32 (&handle->node->atime, atime); 4005332c: c4 02 60 18 ld [ %o1 + 0x18 ], %g2 <== NOT EXECUTED 40053330: c2 28 a0 13 stb %g1, [ %g2 + 0x13 ] <== NOT EXECUTED rtems_rfs_inode_set_mtime (&handle->shared->inode, 40053334: c4 06 60 1c ld [ %i1 + 0x1c ], %g2 <== NOT EXECUTED 40053338: c2 00 a0 90 ld [ %g2 + 0x90 ], %g1 <== NOT EXECUTED rtems_rfs_write_u32 (&handle->node->mtime, mtime); 4005333c: c6 00 a0 18 ld [ %g2 + 0x18 ], %g3 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (&handle->buffer); 40053340: c8 2a 60 1c stb %g4, [ %o1 + 0x1c ] <== NOT EXECUTED rtems_rfs_write_u32 (&handle->node->mtime, mtime); 40053344: b7 30 60 18 srl %g1, 0x18, %i3 <== NOT EXECUTED 40053348: f6 28 e0 14 stb %i3, [ %g3 + 0x14 ] <== NOT EXECUTED 4005334c: b7 30 60 10 srl %g1, 0x10, %i3 <== NOT EXECUTED 40053350: c6 00 a0 18 ld [ %g2 + 0x18 ], %g3 <== NOT EXECUTED 40053354: f6 28 e0 15 stb %i3, [ %g3 + 0x15 ] <== NOT EXECUTED 40053358: b7 30 60 08 srl %g1, 8, %i3 <== NOT EXECUTED 4005335c: c6 00 a0 18 ld [ %g2 + 0x18 ], %g3 <== NOT EXECUTED 40053360: f6 28 e0 16 stb %i3, [ %g3 + 0x16 ] <== NOT EXECUTED 40053364: c6 00 a0 18 ld [ %g2 + 0x18 ], %g3 <== NOT EXECUTED 40053368: c2 28 e0 17 stb %g1, [ %g3 + 0x17 ] <== NOT EXECUTED rtems_rfs_inode_set_ctime (&handle->shared->inode, 4005336c: c2 06 60 1c ld [ %i1 + 0x1c ], %g1 <== NOT EXECUTED 40053370: c6 00 60 94 ld [ %g1 + 0x94 ], %g3 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (&handle->buffer); 40053374: c8 28 a0 1c stb %g4, [ %g2 + 0x1c ] <== NOT EXECUTED rtems_rfs_write_u32 (&handle->node->ctime, ctime); 40053378: b7 30 e0 18 srl %g3, 0x18, %i3 <== NOT EXECUTED 4005337c: c4 00 60 18 ld [ %g1 + 0x18 ], %g2 <== NOT EXECUTED 40053380: f6 28 a0 18 stb %i3, [ %g2 + 0x18 ] <== NOT EXECUTED 40053384: b7 30 e0 10 srl %g3, 0x10, %i3 <== NOT EXECUTED 40053388: c4 00 60 18 ld [ %g1 + 0x18 ], %g2 <== NOT EXECUTED 4005338c: f6 28 a0 19 stb %i3, [ %g2 + 0x19 ] <== NOT EXECUTED 40053390: b7 30 e0 08 srl %g3, 8, %i3 <== NOT EXECUTED 40053394: c4 00 60 18 ld [ %g1 + 0x18 ], %g2 <== NOT EXECUTED 40053398: f6 28 a0 1a stb %i3, [ %g2 + 0x1a ] <== NOT EXECUTED 4005339c: c4 00 60 18 ld [ %g1 + 0x18 ], %g2 <== NOT EXECUTED 400533a0: c6 28 a0 1b stb %g3, [ %g2 + 0x1b ] <== NOT EXECUTED if (!rtems_rfs_block_size_equal (&handle->shared->size, 400533a4: d2 06 60 1c ld [ %i1 + 0x1c ], %o1 <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (&handle->buffer); 400533a8: c8 28 60 1c stb %g4, [ %g1 + 0x1c ] <== NOT EXECUTED 400533ac: c2 02 60 84 ld [ %o1 + 0x84 ], %g1 <== NOT EXECUTED 400533b0: c4 02 60 3c ld [ %o1 + 0x3c ], %g2 <== NOT EXECUTED 400533b4: 80 a0 40 02 cmp %g1, %g2 <== NOT EXECUTED 400533b8: 02 80 00 75 be 4005358c <== NOT EXECUTED 400533bc: c4 02 60 88 ld [ %o1 + 0x88 ], %g2 <== NOT EXECUTED */ static inline void rtems_rfs_block_map_set_size (rtems_rfs_block_map* map, rtems_rfs_block_size* size) { rtems_rfs_block_copy_size (&map->size, size); 400533c0: c2 22 60 3c st %g1, [ %o1 + 0x3c ] <== NOT EXECUTED map->dirty = true; 400533c4: 82 10 20 01 mov 1, %g1 <== NOT EXECUTED rtems_rfs_block_copy_size (&map->size, size); 400533c8: c4 22 60 40 st %g2, [ %o1 + 0x40 ] <== NOT EXECUTED map->dirty = true; 400533cc: c2 2a 60 34 stb %g1, [ %o1 + 0x34 ] <== NOT EXECUTED rc = rtems_rfs_block_map_close (fs, &handle->shared->map); 400533d0: 92 02 60 34 add %o1, 0x34, %o1 <== NOT EXECUTED 400533d4: 7f ff f4 32 call 4005049c <== NOT EXECUTED 400533d8: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 400533dc: b6 92 20 00 orcc %o0, 0, %i3 <== NOT EXECUTED 400533e0: 14 80 00 44 bg 400534f0 <== NOT EXECUTED 400533e4: 90 10 20 10 mov 0x10, %o0 <== NOT EXECUTED rc = rtems_rfs_inode_close (fs, &handle->shared->inode); 400533e8: d2 06 60 1c ld [ %i1 + 0x1c ], %o1 <== NOT EXECUTED 400533ec: 92 02 60 0c add %o1, 0xc, %o1 <== NOT EXECUTED 400533f0: 40 00 0b e3 call 4005637c <== NOT EXECUTED 400533f4: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rc > 0) 400533f8: b6 92 20 00 orcc %o0, 0, %i3 <== NOT EXECUTED 400533fc: 34 80 00 28 bg,a 4005349c <== NOT EXECUTED 40053400: 90 10 20 10 mov 0x10, %o0 <== NOT EXECUTED 40053404: d0 06 60 1c ld [ %i1 + 0x1c ], %o0 <== NOT EXECUTED 40053408: c4 02 00 00 ld [ %o0 ], %g2 <== NOT EXECUTED 4005340c: c2 02 20 04 ld [ %o0 + 4 ], %g1 <== NOT EXECUTED next->previous = previous; 40053410: c2 20 a0 04 st %g1, [ %g2 + 4 ] <== NOT EXECUTED free (handle->shared); 40053414: 7f fe e0 9b call 4000b680 <== NOT EXECUTED 40053418: c4 20 40 00 st %g2, [ %g1 ] <== NOT EXECUTED 4005341c: 92 10 00 1c mov %i4, %o1 <== NOT EXECUTED 40053420: 7f ff f8 a1 call 400516a4 <== NOT EXECUTED 40053424: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->dirty = false; 40053428: c0 2e 60 04 clrb [ %i1 + 4 ] <== NOT EXECUTED if (rrc > 0) 4005342c: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED handle->bnum = 0; 40053430: c0 26 60 08 clr [ %i1 + 8 ] <== NOT EXECUTED 40053434: 04 bf ff ab ble 400532e0 <== NOT EXECUTED 40053438: c0 26 60 0c clr [ %i1 + 0xc ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE)) 4005343c: 90 10 20 10 mov 0x10, %o0 <== NOT EXECUTED 40053440: 40 00 12 d8 call 40057fa0 <== NOT EXECUTED 40053444: 92 10 20 00 clr %o1 <== NOT EXECUTED 40053448: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 4005344c: 22 bf ff a6 be,a 400532e4 <== NOT EXECUTED 40053450: 90 10 00 19 mov %i1, %o0 <== NOT EXECUTED printf ("rtems-rfs: file-close: result: %d: %s\n", rrc, strerror (rrc)); 40053454: 40 00 44 53 call 400645a0 <== NOT EXECUTED 40053458: 90 10 00 1d mov %i5, %o0 <== NOT EXECUTED 4005345c: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED 40053460: 94 10 00 08 mov %o0, %o2 <== NOT EXECUTED 40053464: 11 10 02 1c sethi %hi(0x40087000), %o0 <== NOT EXECUTED 40053468: 7f ff a2 38 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 4005346c: 90 12 20 00 mov %o0, %o0 ! 40087000 <== NOT EXECUTED free (handle); 40053470: 90 10 00 19 mov %i1, %o0 <== NOT EXECUTED 40053474: 7f fe e0 83 call 4000b680 <== NOT EXECUTED 40053478: b0 10 00 1d mov %i5, %i0 <== NOT EXECUTED } 4005347c: 81 c7 e0 08 ret <== NOT EXECUTED 40053480: 81 e8 00 00 restore <== NOT EXECUTED printf ("rtems-rfs: file-close: entry: ino=%" PRId32 "\n", 40053484: d2 00 60 14 ld [ %g1 + 0x14 ], %o1 <== NOT EXECUTED 40053488: 11 10 02 1b sethi %hi(0x40086c00), %o0 <== NOT EXECUTED 4005348c: 7f ff a2 2f call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40053490: 90 12 23 58 or %o0, 0x358, %o0 ! 40086f58 <== NOT EXECUTED if (handle->shared->references > 0) 40053494: 10 bf ff 86 b 400532ac <== NOT EXECUTED 40053498: d2 06 60 1c ld [ %i1 + 0x1c ], %o1 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE)) 4005349c: 40 00 12 c1 call 40057fa0 <== NOT EXECUTED 400534a0: 92 10 20 00 clr %o1 <== NOT EXECUTED 400534a4: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400534a8: 32 80 00 23 bne,a 40053534 <== NOT EXECUTED 400534ac: c2 06 60 1c ld [ %i1 + 0x1c ], %g1 <== NOT EXECUTED 400534b0: d0 06 60 1c ld [ %i1 + 0x1c ], %o0 <== NOT EXECUTED 400534b4: c4 02 00 00 ld [ %o0 ], %g2 <== NOT EXECUTED if (rrc == 0) 400534b8: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED 400534bc: 12 bf ff d5 bne 40053410 <== NOT EXECUTED 400534c0: c2 02 20 04 ld [ %o0 + 4 ], %g1 <== NOT EXECUTED 400534c4: c2 20 a0 04 st %g1, [ %g2 + 4 ] <== NOT EXECUTED handle->buffer = NULL; 400534c8: ba 10 00 1b mov %i3, %i5 <== NOT EXECUTED free (handle->shared); 400534cc: 7f fe e0 6d call 4000b680 <== NOT EXECUTED 400534d0: c4 20 40 00 st %g2, [ %g1 ] <== NOT EXECUTED rtems_rfs_buffer_handle_release (fs, handle); 400534d4: 92 10 00 1c mov %i4, %o1 <== NOT EXECUTED 400534d8: 7f ff f8 73 call 400516a4 <== NOT EXECUTED 400534dc: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED handle->dirty = false; 400534e0: c0 2e 60 04 clrb [ %i1 + 4 ] <== NOT EXECUTED handle->bnum = 0; 400534e4: c0 26 60 08 clr [ %i1 + 8 ] <== NOT EXECUTED handle->buffer = NULL; 400534e8: 10 bf ff d5 b 4005343c <== NOT EXECUTED 400534ec: c0 26 60 0c clr [ %i1 + 0xc ] <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE)) 400534f0: 40 00 12 ac call 40057fa0 <== NOT EXECUTED 400534f4: 92 10 20 00 clr %o1 <== NOT EXECUTED 400534f8: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400534fc: 32 80 00 19 bne,a 40053560 <== NOT EXECUTED 40053500: c2 06 60 1c ld [ %i1 + 0x1c ], %g1 <== NOT EXECUTED if (rrc == 0) 40053504: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED 40053508: 22 bf ff b8 be,a 400533e8 <== NOT EXECUTED 4005350c: ba 10 00 1b mov %i3, %i5 <== NOT EXECUTED rc = rtems_rfs_inode_close (fs, &handle->shared->inode); 40053510: 10 bf ff b7 b 400533ec <== NOT EXECUTED 40053514: d2 06 60 1c ld [ %i1 + 0x1c ], %o1 <== NOT EXECUTED rrc = rtems_rfs_inode_load (fs, &handle->shared->inode); 40053518: 40 00 0a f5 call 400560ec <== NOT EXECUTED 4005351c: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED if (rrc == 0) 40053520: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40053524: 12 80 00 20 bne 400535a4 <== NOT EXECUTED 40053528: d2 06 60 1c ld [ %i1 + 0x1c ], %o1 <== NOT EXECUTED 4005352c: 10 bf ff 76 b 40053304 <== NOT EXECUTED 40053530: c4 02 60 18 ld [ %o1 + 0x18 ], %g2 <== NOT EXECUTED printf ("rtems-rfs: file-close: inode close error: ino=%" PRId32 ": %d: %s\n", 40053534: f4 00 60 14 ld [ %g1 + 0x14 ], %i2 <== NOT EXECUTED 40053538: 40 00 44 1a call 400645a0 <== NOT EXECUTED 4005353c: 90 10 00 1b mov %i3, %o0 <== NOT EXECUTED 40053540: 94 10 00 1b mov %i3, %o2 <== NOT EXECUTED 40053544: 96 10 00 08 mov %o0, %o3 <== NOT EXECUTED 40053548: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 4005354c: 11 10 02 1b sethi %hi(0x40086c00), %o0 <== NOT EXECUTED 40053550: 7f ff a1 fe call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40053554: 90 12 23 c0 or %o0, 0x3c0, %o0 ! 40086fc0 <== NOT EXECUTED 40053558: 10 bf ff d7 b 400534b4 <== NOT EXECUTED 4005355c: d0 06 60 1c ld [ %i1 + 0x1c ], %o0 <== NOT EXECUTED printf ("rtems-rfs: file-close: map close error: ino=%" PRId32 ": %d: %s\n", 40053560: f4 00 60 14 ld [ %g1 + 0x14 ], %i2 <== NOT EXECUTED 40053564: 40 00 44 0f call 400645a0 <== NOT EXECUTED 40053568: 90 10 00 1b mov %i3, %o0 <== NOT EXECUTED 4005356c: 94 10 00 1b mov %i3, %o2 <== NOT EXECUTED 40053570: 96 10 00 08 mov %o0, %o3 <== NOT EXECUTED 40053574: 92 10 00 1a mov %i2, %o1 <== NOT EXECUTED 40053578: 11 10 02 1b sethi %hi(0x40086c00), %o0 <== NOT EXECUTED 4005357c: 7f ff a1 f3 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40053580: 90 12 23 80 or %o0, 0x380, %o0 ! 40086f80 <== NOT EXECUTED if (rrc == 0) 40053584: 10 bf ff e1 b 40053508 <== NOT EXECUTED 40053588: 80 a7 60 00 cmp %i5, 0 <== NOT EXECUTED if (!rtems_rfs_block_size_equal (&handle->shared->size, 4005358c: c6 02 60 40 ld [ %o1 + 0x40 ], %g3 <== NOT EXECUTED 40053590: 80 a0 80 03 cmp %g2, %g3 <== NOT EXECUTED 40053594: 32 bf ff 8c bne,a 400533c4 <== NOT EXECUTED 40053598: c2 22 60 3c st %g1, [ %o1 + 0x3c ] <== NOT EXECUTED 4005359c: 10 bf ff 8e b 400533d4 <== NOT EXECUTED 400535a0: 92 02 60 34 add %o1, 0x34, %o1 <== NOT EXECUTED if (rrc == 0) 400535a4: 10 bf ff 8b b 400533d0 <== NOT EXECUTED 400535a8: ba 10 00 08 mov %o0, %i5 <== NOT EXECUTED =============================================================================== 40053f5c : return _Chain_Immutable_head( the_chain )->next; 40053f5c: c2 02 20 74 ld [ %o0 + 0x74 ], %g1 <== NOT EXECUTED return &the_chain->Tail.Node; 40053f60: 90 02 20 78 add %o0, 0x78, %o0 <== NOT EXECUTED while (!rtems_chain_is_tail (&fs->file_shares, node)) 40053f64: 80 a0 40 08 cmp %g1, %o0 <== NOT EXECUTED 40053f68: 22 80 00 10 be,a 40053fa8 <== NOT EXECUTED 40053f6c: 82 10 20 00 clr %g1 <== NOT EXECUTED if (shared->inode.ino == ino) 40053f70: c4 00 60 14 ld [ %g1 + 0x14 ], %g2 <== NOT EXECUTED 40053f74: 80 a2 40 02 cmp %o1, %g2 <== NOT EXECUTED 40053f78: 32 80 00 08 bne,a 40053f98 <== NOT EXECUTED 40053f7c: c2 00 40 00 ld [ %g1 ], %g1 <== NOT EXECUTED return shared; node = rtems_chain_next (node); } return NULL; } 40053f80: 81 c3 e0 08 retl <== NOT EXECUTED 40053f84: 90 10 00 01 mov %g1, %o0 <== NOT EXECUTED if (shared->inode.ino == ino) 40053f88: 80 a0 80 09 cmp %g2, %o1 <== NOT EXECUTED 40053f8c: 22 80 00 08 be,a 40053fac <== NOT EXECUTED 40053f90: 90 10 00 01 mov %g1, %o0 <== NOT EXECUTED 40053f94: c2 00 40 00 ld [ %g1 ], %g1 <== NOT EXECUTED while (!rtems_chain_is_tail (&fs->file_shares, node)) 40053f98: 80 a0 40 08 cmp %g1, %o0 <== NOT EXECUTED 40053f9c: 32 bf ff fb bne,a 40053f88 <== NOT EXECUTED 40053fa0: c4 00 60 14 ld [ %g1 + 0x14 ], %g2 <== NOT EXECUTED return NULL; 40053fa4: 82 10 20 00 clr %g1 <== NOT EXECUTED } 40053fa8: 90 10 00 01 mov %g1, %o0 <== NOT EXECUTED 40053fac: 81 c3 e0 08 retl <== NOT EXECUTED 40053fb0: 01 00 00 00 nop <== NOT EXECUTED =============================================================================== 40053838 : { 40053838: 9d e3 bf a0 save %sp, -96, %sp <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO)) 4005383c: 90 10 20 20 mov 0x20, %o0 <== NOT EXECUTED 40053840: 92 10 20 00 clr %o1 <== NOT EXECUTED 40053844: 40 00 11 d7 call 40057fa0 <== NOT EXECUTED 40053848: ba 10 00 18 mov %i0, %i5 <== NOT EXECUTED 4005384c: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 40053850: 22 80 00 0c be,a 40053880 <== NOT EXECUTED 40053854: c2 07 60 1c ld [ %i5 + 0x1c ], %g1 <== NOT EXECUTED printf ("rtems-rfs: file-io: end: %s size=%zu\n", 40053858: 80 a6 a0 00 cmp %i2, 0 <== NOT EXECUTED 4005385c: 12 80 00 35 bne 40053930 <== NOT EXECUTED 40053860: 13 10 02 18 sethi %hi(0x40086000), %o1 <== NOT EXECUTED 40053864: 13 10 01 f6 sethi %hi(0x4007d800), %o1 <== NOT EXECUTED 40053868: 92 12 60 10 or %o1, 0x10, %o1 ! 4007d810 <_Thread_queue_Operations_default+0x64> <== NOT EXECUTED 4005386c: 11 10 02 1c sethi %hi(0x40087000), %o0 <== NOT EXECUTED 40053870: 94 10 00 19 mov %i1, %o2 <== NOT EXECUTED 40053874: 7f ff a1 35 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40053878: 90 12 20 e0 or %o0, 0xe0, %o0 <== NOT EXECUTED 4005387c: c2 07 60 1c ld [ %i5 + 0x1c ], %g1 <== NOT EXECUTED if (rtems_rfs_buffer_handle_has_block (&handle->buffer)) 40053880: c4 07 60 0c ld [ %i5 + 0xc ], %g2 <== NOT EXECUTED 40053884: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 40053888: 02 80 00 2c be 40053938 <== NOT EXECUTED 4005388c: d0 00 60 98 ld [ %g1 + 0x98 ], %o0 <== NOT EXECUTED if (!read) 40053890: 80 a6 a0 00 cmp %i2, 0 <== NOT EXECUTED 40053894: 02 80 00 14 be 400538e4 <== NOT EXECUTED 40053898: 92 07 60 04 add %i5, 4, %o1 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 4005389c: 7f ff f7 82 call 400516a4 <== NOT EXECUTED 400538a0: 01 00 00 00 nop <== NOT EXECUTED if (rc > 0) 400538a4: b0 92 20 00 orcc %o0, 0, %i0 <== NOT EXECUTED 400538a8: 24 80 00 9b ble,a 40053b14 <== NOT EXECUTED 400538ac: c4 07 60 14 ld [ %i5 + 0x14 ], %g2 <== NOT EXECUTED printf ( 400538b0: 40 00 43 3c call 400645a0 <== NOT EXECUTED 400538b4: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 400538b8: 3b 10 02 18 sethi %hi(0x40086000), %i5 <== NOT EXECUTED 400538bc: 98 10 00 08 mov %o0, %o4 <== NOT EXECUTED 400538c0: ba 17 63 40 or %i5, 0x340, %i5 <== NOT EXECUTED 400538c4: 96 10 00 18 mov %i0, %o3 <== NOT EXECUTED 400538c8: 94 10 00 19 mov %i1, %o2 <== NOT EXECUTED 400538cc: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED 400538d0: 11 10 02 1c sethi %hi(0x40087000), %o0 <== NOT EXECUTED 400538d4: 7f ff a1 1d call 4003bd48 <__wrap_printf> <== NOT EXECUTED 400538d8: 90 12 21 08 or %o0, 0x108, %o0 ! 40087108 <== NOT EXECUTED return rc; 400538dc: 81 c7 e0 08 ret <== NOT EXECUTED 400538e0: 81 e8 00 00 restore <== NOT EXECUTED rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle)); 400538e4: 82 10 20 01 mov 1, %g1 <== NOT EXECUTED rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 400538e8: 7f ff f7 6f call 400516a4 <== NOT EXECUTED 400538ec: c2 2f 60 04 stb %g1, [ %i5 + 4 ] <== NOT EXECUTED if (rc > 0) 400538f0: b0 92 20 00 orcc %o0, 0, %i0 <== NOT EXECUTED 400538f4: 24 80 00 49 ble,a 40053a18 <== NOT EXECUTED 400538f8: c4 07 60 14 ld [ %i5 + 0x14 ], %g2 <== NOT EXECUTED printf ( 400538fc: 40 00 43 29 call 400645a0 <== NOT EXECUTED 40053900: 90 10 00 18 mov %i0, %o0 <== NOT EXECUTED 40053904: 3b 10 01 f6 sethi %hi(0x4007d800), %i5 <== NOT EXECUTED 40053908: 98 10 00 08 mov %o0, %o4 <== NOT EXECUTED 4005390c: ba 17 60 10 or %i5, 0x10, %i5 <== NOT EXECUTED 40053910: 96 10 00 18 mov %i0, %o3 <== NOT EXECUTED 40053914: 94 10 00 19 mov %i1, %o2 <== NOT EXECUTED 40053918: 92 10 00 1d mov %i5, %o1 <== NOT EXECUTED 4005391c: 11 10 02 1c sethi %hi(0x40087000), %o0 <== NOT EXECUTED 40053920: 7f ff a1 0a call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40053924: 90 12 21 08 or %o0, 0x108, %o0 ! 40087108 <== NOT EXECUTED return rc; 40053928: 81 c7 e0 08 ret <== NOT EXECUTED 4005392c: 81 e8 00 00 restore <== NOT EXECUTED printf ("rtems-rfs: file-io: end: %s size=%zu\n", 40053930: 10 bf ff cf b 4005386c <== NOT EXECUTED 40053934: 92 12 63 40 or %o1, 0x340, %o1 <== NOT EXECUTED handle->bpos.boff += size; 40053938: c4 07 60 14 ld [ %i5 + 0x14 ], %g2 <== NOT EXECUTED 4005393c: b2 06 40 02 add %i1, %g2, %i1 <== NOT EXECUTED 40053940: f2 27 60 14 st %i1, [ %i5 + 0x14 ] <== NOT EXECUTED 40053944: 86 1e a0 01 xor %i2, 1, %g3 <== NOT EXECUTED rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) 40053948: c4 02 20 08 ld [ %o0 + 8 ], %g2 <== NOT EXECUTED if (handle->bpos.boff >= 4005394c: 80 a6 40 02 cmp %i1, %g2 <== NOT EXECUTED 40053950: 1a 80 00 3a bcc 40053a38 <== NOT EXECUTED 40053954: b0 10 20 00 clr %i0 <== NOT EXECUTED if (!read && 40053958: 80 a6 a0 00 cmp %i2, 0 <== NOT EXECUTED 4005395c: 12 80 00 0e bne 40053994 <== NOT EXECUTED 40053960: 84 10 20 00 clr %g2 <== NOT EXECUTED rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle), 40053964: f8 07 60 10 ld [ %i5 + 0x10 ], %i4 <== NOT EXECUTED if (!read && 40053968: 80 a7 20 00 cmp %i4, 0 <== NOT EXECUTED 4005396c: 02 80 00 39 be 40053a50 <== NOT EXECUTED 40053970: c4 00 60 3c ld [ %g1 + 0x3c ], %g2 <== NOT EXECUTED rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle), 40053974: 80 a0 a0 00 cmp %g2, 0 <== NOT EXECUTED 40053978: 12 80 00 37 bne 40053a54 <== NOT EXECUTED 4005397c: 80 a7 00 02 cmp %i4, %g2 <== NOT EXECUTED 40053980: c8 07 60 14 ld [ %i5 + 0x14 ], %g4 <== NOT EXECUTED map->size.offset = offset; 40053984: c8 20 60 40 st %g4, [ %g1 + 0x40 ] <== NOT EXECUTED map->dirty = true; 40053988: 88 10 20 01 mov 1, %g4 <== NOT EXECUTED 4005398c: c8 28 60 34 stb %g4, [ %g1 + 0x34 ] <== NOT EXECUTED length = true; 40053990: 84 10 20 01 mov 1, %g2 <== NOT EXECUTED atime = rtems_rfs_file_update_atime (handle); 40053994: e0 07 40 00 ld [ %i5 ], %l0 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO)) 40053998: 90 10 20 20 mov 0x20, %o0 <== NOT EXECUTED 4005399c: 92 10 20 00 clr %o1 <== NOT EXECUTED atime = rtems_rfs_file_update_atime (handle); 400539a0: b2 38 00 10 xnor %g0, %l0, %i1 <== NOT EXECUTED mtime = rtems_rfs_file_update_mtime (handle) && mtime; 400539a4: b9 34 20 01 srl %l0, 1, %i4 <== NOT EXECUTED length = rtems_rfs_file_update_length (handle) && length; 400539a8: b7 34 20 02 srl %l0, 2, %i3 <== NOT EXECUTED mtime = rtems_rfs_file_update_mtime (handle) && mtime; 400539ac: b8 1f 20 01 xor %i4, 1, %i4 <== NOT EXECUTED length = rtems_rfs_file_update_length (handle) && length; 400539b0: b6 1e e0 01 xor %i3, 1, %i3 <== NOT EXECUTED mtime = rtems_rfs_file_update_mtime (handle) && mtime; 400539b4: b8 0f 20 01 and %i4, 1, %i4 <== NOT EXECUTED length = rtems_rfs_file_update_length (handle) && length; 400539b8: b6 0e e0 01 and %i3, 1, %i3 <== NOT EXECUTED mtime = rtems_rfs_file_update_mtime (handle) && mtime; 400539bc: b8 0f 00 03 and %i4, %g3, %i4 <== NOT EXECUTED length = rtems_rfs_file_update_length (handle) && length; 400539c0: b6 0e c0 02 and %i3, %g2, %i3 <== NOT EXECUTED if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO)) 400539c4: 40 00 11 77 call 40057fa0 <== NOT EXECUTED 400539c8: b2 0e 60 01 and %i1, 1, %i1 <== NOT EXECUTED 400539cc: 80 a2 20 00 cmp %o0, 0 <== NOT EXECUTED 400539d0: 32 80 00 30 bne,a 40053a90 <== NOT EXECUTED 400539d4: d4 07 60 14 ld [ %i5 + 0x14 ], %o2 <== NOT EXECUTED 400539d8: b8 0f 20 ff and %i4, 0xff, %i4 <== NOT EXECUTED 400539dc: b6 0e e0 ff and %i3, 0xff, %i3 <== NOT EXECUTED if (atime || mtime) 400539e0: b2 8e 60 ff andcc %i1, 0xff, %i1 <== NOT EXECUTED 400539e4: 12 80 00 3d bne 40053ad8 <== NOT EXECUTED 400539e8: 80 a7 20 00 cmp %i4, 0 <== NOT EXECUTED 400539ec: 12 80 00 3b bne 40053ad8 <== NOT EXECUTED 400539f0: 80 a6 e0 00 cmp %i3, 0 <== NOT EXECUTED if (length) 400539f4: 02 80 00 25 be 40053a88 <== NOT EXECUTED 400539f8: 01 00 00 00 nop <== NOT EXECUTED rtems_rfs_block_map_count (rtems_rfs_file_map (handle)); 400539fc: c2 07 60 1c ld [ %i5 + 0x1c ], %g1 <== NOT EXECUTED handle->shared->size.count = 40053a00: c6 00 60 3c ld [ %g1 + 0x3c ], %g3 <== NOT EXECUTED handle->shared->size.offset = 40053a04: c4 00 60 40 ld [ %g1 + 0x40 ], %g2 <== NOT EXECUTED handle->shared->size.count = 40053a08: c6 20 60 84 st %g3, [ %g1 + 0x84 ] <== NOT EXECUTED handle->shared->size.offset = 40053a0c: c4 20 60 88 st %g2, [ %g1 + 0x88 ] <== NOT EXECUTED 40053a10: 81 c7 e0 08 ret <== NOT EXECUTED 40053a14: 81 e8 00 00 restore <== NOT EXECUTED rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) 40053a18: c2 07 60 1c ld [ %i5 + 0x1c ], %g1 <== NOT EXECUTED handle->bpos.boff += size; 40053a1c: b2 06 40 02 add %i1, %g2, %i1 <== NOT EXECUTED rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) 40053a20: c4 00 60 98 ld [ %g1 + 0x98 ], %g2 <== NOT EXECUTED handle->bpos.boff += size; 40053a24: f2 27 60 14 st %i1, [ %i5 + 0x14 ] <== NOT EXECUTED rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) 40053a28: c4 00 a0 08 ld [ %g2 + 8 ], %g2 <== NOT EXECUTED if (handle->bpos.boff >= 40053a2c: 80 a0 80 19 cmp %g2, %i1 <== NOT EXECUTED 40053a30: 18 bf ff cd bgu 40053964 <== NOT EXECUTED 40053a34: 86 10 20 01 mov 1, %g3 <== NOT EXECUTED handle->bpos.bno++; 40053a38: c8 07 60 10 ld [ %i5 + 0x10 ], %g4 <== NOT EXECUTED 40053a3c: 88 01 20 01 inc %g4 <== NOT EXECUTED handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)); 40053a40: b2 26 40 02 sub %i1, %g2, %i1 <== NOT EXECUTED handle->bpos.bno++; 40053a44: c8 27 60 10 st %g4, [ %i5 + 0x10 ] <== NOT EXECUTED handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)); 40053a48: 10 bf ff c4 b 40053958 <== NOT EXECUTED 40053a4c: f2 27 60 14 st %i1, [ %i5 + 0x14 ] <== NOT EXECUTED rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle), 40053a50: 80 a7 00 02 cmp %i4, %g2 <== NOT EXECUTED 40053a54: 3a bf ff cc bcc,a 40053984 <== NOT EXECUTED 40053a58: c8 07 60 14 ld [ %i5 + 0x14 ], %g4 <== NOT EXECUTED 40053a5c: 88 00 bf ff add %g2, -1, %g4 <== NOT EXECUTED 40053a60: 80 a7 00 04 cmp %i4, %g4 <== NOT EXECUTED 40053a64: 12 bf ff cc bne 40053994 <== NOT EXECUTED 40053a68: 84 10 20 00 clr %g2 <== NOT EXECUTED 40053a6c: c8 07 60 14 ld [ %i5 + 0x14 ], %g4 <== NOT EXECUTED 40053a70: f8 00 60 40 ld [ %g1 + 0x40 ], %i4 <== NOT EXECUTED 40053a74: 80 a1 00 1c cmp %g4, %i4 <== NOT EXECUTED 40053a78: 28 bf ff c8 bleu,a 40053998 <== NOT EXECUTED 40053a7c: e0 07 40 00 ld [ %i5 ], %l0 <== NOT EXECUTED 40053a80: 10 bf ff c2 b 40053988 <== NOT EXECUTED 40053a84: c8 20 60 40 st %g4, [ %g1 + 0x40 ] <== NOT EXECUTED } 40053a88: 81 c7 e0 08 ret <== NOT EXECUTED 40053a8c: 81 e8 00 00 restore <== NOT EXECUTED printf ("rtems-rfs: file-io: end: pos=%" PRIu32 ":%" PRIu32 " %c %c %c\n", 40053a90: d2 07 60 10 ld [ %i5 + 0x10 ], %o1 <== NOT EXECUTED 40053a94: 96 0c 20 01 and %l0, 1, %o3 <== NOT EXECUTED 40053a98: b8 0f 20 ff and %i4, 0xff, %i4 <== NOT EXECUTED 40053a9c: b6 0e e0 ff and %i3, 0xff, %i3 <== NOT EXECUTED 40053aa0: 98 07 3f ff add %i4, -1, %o4 <== NOT EXECUTED 40053aa4: 9a 06 ff ff add %i3, -1, %o5 <== NOT EXECUTED 40053aa8: 96 20 00 0b neg %o3 <== NOT EXECUTED 40053aac: 98 0b 3f e0 and %o4, -32, %o4 <== NOT EXECUTED 40053ab0: 96 0a ff ec and %o3, -20, %o3 <== NOT EXECUTED 40053ab4: 98 03 20 4d add %o4, 0x4d, %o4 <== NOT EXECUTED 40053ab8: 9a 0b 7f e1 and %o5, -31, %o5 <== NOT EXECUTED 40053abc: 96 02 e0 41 add %o3, 0x41, %o3 <== NOT EXECUTED 40053ac0: 9a 03 60 4c add %o5, 0x4c, %o5 <== NOT EXECUTED 40053ac4: 11 10 02 1c sethi %hi(0x40087000), %o0 <== NOT EXECUTED 40053ac8: 7f ff a0 a0 call 4003bd48 <__wrap_printf> <== NOT EXECUTED 40053acc: 90 12 21 50 or %o0, 0x150, %o0 ! 40087150 <== NOT EXECUTED if (atime || mtime) 40053ad0: 10 bf ff c5 b 400539e4 <== NOT EXECUTED 40053ad4: b2 8e 60 ff andcc %i1, 0xff, %i1 <== NOT EXECUTED time_t now = time (NULL); 40053ad8: 40 00 5f df call 4006ba54