• Home
  • Raw
  • Download

Lines Matching refs:fl

199 	file_spec_t *prevfl, *fl;  in matchpathcon_filespec_add()  local
211 for (prevfl = &fl_head[h], fl = fl_head[h].next; fl; in matchpathcon_filespec_add()
212 prevfl = fl, fl = fl->next) { in matchpathcon_filespec_add()
213 if (ino == fl->ino) { in matchpathcon_filespec_add()
214 ret = lstat(fl->file, &sb); in matchpathcon_filespec_add()
216 fl->specind = specind; in matchpathcon_filespec_add()
217 free(fl->file); in matchpathcon_filespec_add()
218 fl->file = malloc(strlen(file) + 1); in matchpathcon_filespec_add()
219 if (!fl->file) in matchpathcon_filespec_add()
221 strcpy(fl->file, file); in matchpathcon_filespec_add()
222 return fl->specind; in matchpathcon_filespec_add()
226 if (!strcmp(con_array[fl->specind], in matchpathcon_filespec_add()
228 return fl->specind; in matchpathcon_filespec_add()
232 __FUNCTION__, file, fl->file, in matchpathcon_filespec_add()
233 con_array[fl->specind]); in matchpathcon_filespec_add()
234 free(fl->file); in matchpathcon_filespec_add()
235 fl->file = malloc(strlen(file) + 1); in matchpathcon_filespec_add()
236 if (!fl->file) in matchpathcon_filespec_add()
238 strcpy(fl->file, file); in matchpathcon_filespec_add()
239 return fl->specind; in matchpathcon_filespec_add()
242 if (ino > fl->ino) in matchpathcon_filespec_add()
246 fl = malloc(sizeof(file_spec_t)); in matchpathcon_filespec_add()
247 if (!fl) in matchpathcon_filespec_add()
249 fl->ino = ino; in matchpathcon_filespec_add()
250 fl->specind = specind; in matchpathcon_filespec_add()
251 fl->file = malloc(strlen(file) + 1); in matchpathcon_filespec_add()
252 if (!fl->file) in matchpathcon_filespec_add()
254 strcpy(fl->file, file); in matchpathcon_filespec_add()
255 fl->next = prevfl->next; in matchpathcon_filespec_add()
256 prevfl->next = fl; in matchpathcon_filespec_add()
257 return fl->specind; in matchpathcon_filespec_add()
259 free(fl); in matchpathcon_filespec_add()
271 file_spec_t *fl; in matchpathcon_filespec_eval() local
282 for (fl = fl_head[h].next; fl; fl = fl->next) { in matchpathcon_filespec_eval()
302 file_spec_t *fl, *tmp; in matchpathcon_filespec_destroy() local
311 fl = fl_head[h].next; in matchpathcon_filespec_destroy()
312 while (fl) { in matchpathcon_filespec_destroy()
313 tmp = fl; in matchpathcon_filespec_destroy()
314 fl = fl->next; in matchpathcon_filespec_destroy()