Lines Matching full:found
163 * If found, '*lepp' points to the matching entry, otherwise '*lepp' is
170 boolean_t found = B_FALSE; in logtab_findent() local
172 while (!found && (logtab_getent(fd, lepp) > 0)) { in logtab_findent()
173 found = B_TRUE; in logtab_findent()
175 found = strcmp(buffer, (*lepp)->le_buffer) == 0; in logtab_findent()
177 found = found && (strcmp(path, (*lepp)->le_path) == 0); in logtab_findent()
179 found = found && (strcmp(tag, (*lepp)->le_tag) == 0); in logtab_findent()
181 found = found && (state == (*lepp)->le_state); in logtab_findent()
182 if (!found) in logtab_findent()
186 return (found ? 0 : ENOENT); in logtab_findent()
204 * Entry not found is treated as success since it was going to be removed
214 boolean_t found; in logtab_rement() local
218 found = B_TRUE; in logtab_rement()
220 found = strcmp(buffer, lep->le_buffer) == 0; in logtab_rement()
222 found = found && (strcmp(path, lep->le_path) == 0); in logtab_rement()
224 found = found && (strcmp(tag, lep->le_tag) == 0); in logtab_rement()
226 found = found && (state == lep->le_state); in logtab_rement()
227 if (found) { in logtab_rement()
261 * Entry not found, nothing to do in logtab_rement()
296 boolean_t found; in logtab_deactivate() local
302 found = B_TRUE; in logtab_deactivate()
304 found = strcmp(buffer, lep->le_buffer) == 0; in logtab_deactivate()
306 found = found && (strcmp(path, lep->le_path) == 0); in logtab_deactivate()
308 found = found && (strcmp(tag, lep->le_tag) == 0); in logtab_deactivate()
309 if (found && (lep->le_state == LES_ACTIVE)) { in logtab_deactivate()