Home
last modified time | relevance | path

Searched refs:newid (Results 1 – 4 of 4) sorted by relevance

/third_party/selinux/libselinux/src/
Dlabel_file.c251 int newid; in load_mmap() local
278 newid = find_stem(data, buf, stem_len); in load_mmap()
279 if (newid < 0) { in load_mmap()
280 newid = store_stem(data, buf, stem_len); in load_mmap()
281 if (newid < 0) { in load_mmap()
282 rc = newid; in load_mmap()
285 data->stem_arr[newid].from_mmap = 1; in load_mmap()
287 stem_map[i] = newid; in load_mmap()
/third_party/littlefs/
Dlfs.c3914 uint16_t newid; local
3915 lfs_stag_t prevtag = lfs_dir_find(lfs, &newcwd, &newpath, &newid);
3917 !(prevtag == LFS_ERR_NOENT && newid != 0x3ff)) {
3937 if (samepair && newid <= newoldid) {
3942 } else if (samepair && newid == newoldid) {
3949 LFS_MKTAG(LFS_TYPE_STRUCT, newid, 8), prevpair);
3985 LFS_TYPE_DELETE, newid, 0), NULL},
3986 {LFS_MKTAG(LFS_TYPE_CREATE, newid, 0), NULL},
3987 {LFS_MKTAG(lfs_tag_type3(oldtag), newid, strlen(newpath)), newpath},
3988 {LFS_MKTAG(LFS_FROM_MOVE, newid, lfs_tag_id(oldtag)), &oldcwd},
/third_party/selinux/checkpolicy/
Dpolicy_define.c117 char *newid = 0; in insert_id() local
120 newid = strdup(id); in insert_id()
121 if (!newid) { in insert_id()
126 error = queue_push(id_queue, (queue_element_t) newid); in insert_id()
128 error = queue_insert(id_queue, (queue_element_t) newid); in insert_id()
132 free(newid); in insert_id()
/third_party/ltp/testcases/kernel/fs/fsstress/
Dfsstress.c810 void fix_parent(int oldid, int newid) in fix_parent() argument
820 fep->parent = newid; in fix_parent()