• Home
  • Raw
  • Download

Lines Matching refs:fl

193 	file_spec_t *prevfl, *fl;  in matchpathcon_filespec_add()  local
205 for (prevfl = &fl_head[h], fl = fl_head[h].next; fl; in matchpathcon_filespec_add()
206 prevfl = fl, fl = fl->next) { in matchpathcon_filespec_add()
207 if (ino == fl->ino) { in matchpathcon_filespec_add()
208 ret = lstat(fl->file, &sb); in matchpathcon_filespec_add()
210 fl->specind = specind; in matchpathcon_filespec_add()
211 free(fl->file); in matchpathcon_filespec_add()
212 fl->file = malloc(strlen(file) + 1); in matchpathcon_filespec_add()
213 if (!fl->file) in matchpathcon_filespec_add()
215 strcpy(fl->file, file); in matchpathcon_filespec_add()
216 return fl->specind; in matchpathcon_filespec_add()
220 if (!strcmp(con_array[fl->specind], in matchpathcon_filespec_add()
222 return fl->specind; in matchpathcon_filespec_add()
226 __FUNCTION__, file, fl->file, in matchpathcon_filespec_add()
227 con_array[fl->specind]); in matchpathcon_filespec_add()
228 free(fl->file); in matchpathcon_filespec_add()
229 fl->file = malloc(strlen(file) + 1); in matchpathcon_filespec_add()
230 if (!fl->file) in matchpathcon_filespec_add()
232 strcpy(fl->file, file); in matchpathcon_filespec_add()
233 return fl->specind; in matchpathcon_filespec_add()
236 if (ino > fl->ino) in matchpathcon_filespec_add()
240 fl = malloc(sizeof(file_spec_t)); in matchpathcon_filespec_add()
241 if (!fl) in matchpathcon_filespec_add()
243 fl->ino = ino; in matchpathcon_filespec_add()
244 fl->specind = specind; in matchpathcon_filespec_add()
245 fl->file = malloc(strlen(file) + 1); in matchpathcon_filespec_add()
246 if (!fl->file) in matchpathcon_filespec_add()
248 strcpy(fl->file, file); in matchpathcon_filespec_add()
249 fl->next = prevfl->next; in matchpathcon_filespec_add()
250 prevfl->next = fl; in matchpathcon_filespec_add()
251 return fl->specind; in matchpathcon_filespec_add()
253 free(fl); in matchpathcon_filespec_add()
265 file_spec_t *fl; in matchpathcon_filespec_eval() local
276 for (fl = fl_head[h].next; fl; fl = fl->next) { in matchpathcon_filespec_eval()
296 file_spec_t *fl, *tmp; in matchpathcon_filespec_destroy() local
305 fl = fl_head[h].next; in matchpathcon_filespec_destroy()
306 while (fl) { in matchpathcon_filespec_destroy()
307 tmp = fl; in matchpathcon_filespec_destroy()
308 fl = fl->next; in matchpathcon_filespec_destroy()