Lines Matching defs:fc
522 fs_file_cookie *fc;
540 fc = malloc(sizeof(fs_file_cookie));
541 if (!fc)
543 memset(fc, 0, sizeof(fs_file_cookie));
544 fc->node = node;
545 fc->omode = omode;
546 fc->type = S_IFREG;
547 err = SLL_INSERT(node->opened, next, fc);
554 *cookie = fc;
560 SLL_REMOVE(node->opened, next, fc);
562 free(fc);
1086 fs_file_cookie *fc;
1112 fc = malloc(sizeof(fs_file_cookie));
1113 if (!fc)
1115 memset(fc, 0, sizeof(fs_file_cookie));
1116 fc->node = node;
1117 fc->omode = omode;
1118 fc->type = S_ATTR;
1119 fc->attr = ae;
1120 err = SLL_INSERT(node->opened, next, fc);
1124 *cookie = fc;
1130 SLL_REMOVE(node->opened, next, fc);
1132 free(fc);