Lines Matching refs:queue
906 som_initialize_reloc_queue (struct reloc_queue *queue) in som_initialize_reloc_queue() argument
908 queue[0].reloc = NULL; in som_initialize_reloc_queue()
909 queue[0].size = 0; in som_initialize_reloc_queue()
910 queue[1].reloc = NULL; in som_initialize_reloc_queue()
911 queue[1].size = 0; in som_initialize_reloc_queue()
912 queue[2].reloc = NULL; in som_initialize_reloc_queue()
913 queue[2].size = 0; in som_initialize_reloc_queue()
914 queue[3].reloc = NULL; in som_initialize_reloc_queue()
915 queue[3].size = 0; in som_initialize_reloc_queue()
923 struct reloc_queue *queue) in som_reloc_queue_insert() argument
925 queue[3].reloc = queue[2].reloc; in som_reloc_queue_insert()
926 queue[3].size = queue[2].size; in som_reloc_queue_insert()
927 queue[2].reloc = queue[1].reloc; in som_reloc_queue_insert()
928 queue[2].size = queue[1].size; in som_reloc_queue_insert()
929 queue[1].reloc = queue[0].reloc; in som_reloc_queue_insert()
930 queue[1].size = queue[0].size; in som_reloc_queue_insert()
931 queue[0].reloc = p; in som_reloc_queue_insert()
932 queue[0].size = size; in som_reloc_queue_insert()
939 som_reloc_queue_fix (struct reloc_queue *queue, unsigned int idx) in som_reloc_queue_fix() argument
946 unsigned char *tmp1 = queue[0].reloc; in som_reloc_queue_fix()
947 unsigned int tmp2 = queue[0].size; in som_reloc_queue_fix()
949 queue[0].reloc = queue[1].reloc; in som_reloc_queue_fix()
950 queue[0].size = queue[1].size; in som_reloc_queue_fix()
951 queue[1].reloc = tmp1; in som_reloc_queue_fix()
952 queue[1].size = tmp2; in som_reloc_queue_fix()
958 unsigned char *tmp1 = queue[0].reloc; in som_reloc_queue_fix()
959 unsigned int tmp2 = queue[0].size; in som_reloc_queue_fix()
961 queue[0].reloc = queue[2].reloc; in som_reloc_queue_fix()
962 queue[0].size = queue[2].size; in som_reloc_queue_fix()
963 queue[2].reloc = queue[1].reloc; in som_reloc_queue_fix()
964 queue[2].size = queue[1].size; in som_reloc_queue_fix()
965 queue[1].reloc = tmp1; in som_reloc_queue_fix()
966 queue[1].size = tmp2; in som_reloc_queue_fix()
972 unsigned char *tmp1 = queue[0].reloc; in som_reloc_queue_fix()
973 unsigned int tmp2 = queue[0].size; in som_reloc_queue_fix()
975 queue[0].reloc = queue[3].reloc; in som_reloc_queue_fix()
976 queue[0].size = queue[3].size; in som_reloc_queue_fix()
977 queue[3].reloc = queue[2].reloc; in som_reloc_queue_fix()
978 queue[3].size = queue[2].size; in som_reloc_queue_fix()
979 queue[2].reloc = queue[1].reloc; in som_reloc_queue_fix()
980 queue[2].size = queue[1].size; in som_reloc_queue_fix()
981 queue[1].reloc = tmp1; in som_reloc_queue_fix()
982 queue[1].size = tmp2; in som_reloc_queue_fix()
993 struct reloc_queue *queue) in som_reloc_queue_find() argument
995 if (queue[0].reloc && !memcmp (p, queue[0].reloc, size) in som_reloc_queue_find()
996 && size == queue[0].size) in som_reloc_queue_find()
998 if (queue[1].reloc && !memcmp (p, queue[1].reloc, size) in som_reloc_queue_find()
999 && size == queue[1].size) in som_reloc_queue_find()
1001 if (queue[2].reloc && !memcmp (p, queue[2].reloc, size) in som_reloc_queue_find()
1002 && size == queue[2].size) in som_reloc_queue_find()
1004 if (queue[3].reloc && !memcmp (p, queue[3].reloc, size) in som_reloc_queue_find()
1005 && size == queue[3].size) in som_reloc_queue_find()
1015 struct reloc_queue *queue) in try_prev_fixup() argument
1017 int queue_index = som_reloc_queue_find (p, size, queue); in try_prev_fixup()
1027 som_reloc_queue_fix (queue, queue_index); in try_prev_fixup()
1031 som_reloc_queue_insert (p, size, queue); in try_prev_fixup()
1048 struct reloc_queue *queue) in som_reloc_skip() argument
1059 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 4, queue); in som_reloc_skip()
1088 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 2, queue); in som_reloc_skip()
1095 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 3, queue); in som_reloc_skip()
1104 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 4, queue); in som_reloc_skip()
1119 struct reloc_queue *queue) in som_reloc_addend() argument
1125 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 2, queue); in som_reloc_addend()
1131 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 3, queue); in som_reloc_addend()
1138 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 4, queue); in som_reloc_addend()
1144 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 5, queue); in som_reloc_addend()
1157 struct reloc_queue *queue) in som_reloc_call() argument
1214 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 2, queue); in som_reloc_call()
1248 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 3, queue); in som_reloc_call()
1254 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 5, queue); in som_reloc_call()