Lines Matching refs:found
172 boolean_t found = B_FALSE; in logtab_findent() local
174 while (!found && (logtab_getent(fd, lepp) > 0)) { in logtab_findent()
175 found = B_TRUE; in logtab_findent()
177 found = strcmp(buffer, (*lepp)->le_buffer) == 0; in logtab_findent()
179 found = found && (strcmp(path, (*lepp)->le_path) == 0); in logtab_findent()
181 found = found && (strcmp(tag, (*lepp)->le_tag) == 0); in logtab_findent()
183 found = found && (state == (*lepp)->le_state); in logtab_findent()
184 if (!found) in logtab_findent()
188 return (found ? 0 : ENOENT); in logtab_findent()
216 boolean_t found; in logtab_rement() local
220 found = B_TRUE; in logtab_rement()
222 found = strcmp(buffer, lep->le_buffer) == 0; in logtab_rement()
224 found = found && (strcmp(path, lep->le_path) == 0); in logtab_rement()
226 found = found && (strcmp(tag, lep->le_tag) == 0); in logtab_rement()
228 found = found && (state == lep->le_state); in logtab_rement()
229 if (found) { in logtab_rement()
298 boolean_t found; in logtab_deactivate() local
304 found = B_TRUE; in logtab_deactivate()
306 found = strcmp(buffer, lep->le_buffer) == 0; in logtab_deactivate()
308 found = found && (strcmp(path, lep->le_path) == 0); in logtab_deactivate()
310 found = found && (strcmp(tag, lep->le_tag) == 0); in logtab_deactivate()
311 if (found && (lep->le_state == LES_ACTIVE)) { in logtab_deactivate()