Lines Matching defs:found
165 * If found, '*lepp' points to the matching entry, otherwise '*lepp' is
172 boolean_t found = B_FALSE;
174 while (!found && (logtab_getent(fd, lepp) > 0)) {
175 found = B_TRUE;
177 found = strcmp(buffer, (*lepp)->le_buffer) == 0;
179 found = found && (strcmp(path, (*lepp)->le_path) == 0);
181 found = found && (strcmp(tag, (*lepp)->le_tag) == 0);
183 found = found && (state == (*lepp)->le_state);
184 if (!found)
188 return (found ? 0 : ENOENT);
206 * Entry not found is treated as success since it was going to be removed
216 boolean_t found;
220 found = B_TRUE;
222 found = strcmp(buffer, lep->le_buffer) == 0;
224 found = found && (strcmp(path, lep->le_path) == 0);
226 found = found && (strcmp(tag, lep->le_tag) == 0);
228 found = found && (state == lep->le_state);
229 if (found) {
263 * Entry not found, nothing to do
298 boolean_t found;
304 found = B_TRUE;
306 found = strcmp(buffer, lep->le_buffer) == 0;
308 found = found && (strcmp(path, lep->le_path) == 0);
310 found = found && (strcmp(tag, lep->le_tag) == 0);
311 if (found && (lep->le_state == LES_ACTIVE)) {