Lines Matching refs:fc
534 fs_file_cookie *fc;
552 fc = malloc(sizeof(fs_file_cookie));
553 if (!fc)
555 memset(fc, 0, sizeof(fs_file_cookie));
556 fc->node = node;
557 fc->omode = omode;
558 fc->type = S_IFREG;
559 err = SLL_INSERT(node->opened, next, fc);
566 *cookie = (void *)fc;
572 // SLL_REMOVE(node->opened, next, fc);
574 free(fc);
1023 fs_file_cookie *fc;
1049 fc = malloc(sizeof(fs_file_cookie));
1050 if (!fc)
1052 memset(fc, 0, sizeof(fs_file_cookie));
1053 fc->node = node;
1054 fc->omode = omode;
1055 fc->type = S_ATTR;
1056 fc->attr = ae;
1057 err = SLL_INSERT(node->opened, next, fc);
1061 *cookie = (void *)fc;
1067 // SLL_REMOVE(node->opened, next, fc);
1069 free(fc);