Lines Matching refs:use_data
71 struct object_use_data *use_data = &uses[object]; in startWrite() local
72 use_data->reader_count = 0; in startWrite()
73 use_data->writer_count = 1; in startWrite()
74 use_data->thread = tid; in startWrite()
76 struct object_use_data *use_data = &uses[object]; in startWrite() local
77 if (use_data->reader_count == 0) { in startWrite()
79 if (use_data->thread != tid) { in startWrite()
83 typeName, use_data->thread, tid); in startWrite()
90 struct object_use_data *use_data = &uses[object]; in startWrite() local
91 use_data->thread = tid; in startWrite()
92 use_data->reader_count = 0; in startWrite()
93 use_data->writer_count = 1; in startWrite()
96 use_data->thread = tid; in startWrite()
97 use_data->writer_count += 1; in startWrite()
102 use_data->writer_count += 1; in startWrite()
106 if (use_data->thread != tid) { in startWrite()
110 typeName, use_data->thread, tid); in startWrite()
117 struct object_use_data *use_data = &uses[object]; in startWrite() local
118 use_data->thread = tid; in startWrite()
119 use_data->reader_count = 0; in startWrite()
120 use_data->writer_count = 1; in startWrite()
123 use_data->thread = tid; in startWrite()
124 use_data->writer_count += 1; in startWrite()
129 use_data->writer_count += 1; in startWrite()
154 struct object_use_data *use_data = &uses[object]; in startRead() local
155 use_data->reader_count = 1; in startRead()
156 use_data->writer_count = 0; in startRead()
157 use_data->thread = tid; in startRead()
170 struct object_use_data *use_data = &uses[object]; in startRead() local
171 use_data->reader_count = 1; in startRead()
172 use_data->writer_count = 0; in startRead()
173 use_data->thread = tid; in startRead()