OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:fdirent
(Results
1 - 4
of
4
) sorted by relevancy
/src/sys/fs/tmpfs/
tmpfs_rename.c
85
struct tmpfs_dirent *
fdirent
, *tdirent;
local in function:tmpfs_sane_rename
88
fdvp, fcnp, &
fdirent
, tdvp, tcnp, &tdirent,
/src/sys/ufs/chfs/
chfs_write.c
163
struct chfs_flash_dirent_node *
fdirent
;
local in function:chfs_write_flash_dirent
174
fdirent
= chfs_alloc_flash_dirent();
175
if (!
fdirent
)
178
size = sizeof(*
fdirent
) + fd->nsize;
179
namelen = CHFS_PAD(size) - sizeof(*
fdirent
);
184
fdirent
->magic = htole16(CHFS_FS_MAGIC_BITMASK);
185
fdirent
->type = htole16(CHFS_NODETYPE_DIRENT);
186
fdirent
->length = htole32(CHFS_PAD(size));
187
fdirent
->hdr_crc = htole32(crc32(0, (uint8_t *)
fdirent
,
[
all
...]
chfs_gc.c
705
struct chfs_flash_dirent_node *
fdirent
;
local in function:chfs_gcollect_pristine
759
fdirent
= (struct chfs_flash_dirent_node *)data;
760
crc = crc32(0, (uint8_t *)
fdirent
, sizeof(struct chfs_flash_dirent_node) - 4);
761
if (crc != le32toh(
fdirent
->node_crc)) {
766
crc = crc32(0,
fdirent
->name,
fdirent
->nsize);
767
if (crc != le32toh(
fdirent
->name_crc)) {
/src/usr.sbin/makefs/chfs/
chfs_mkfs.c
192
struct chfs_flash_dirent_node
fdirent
;
local in function:write_dirent
198
memset(&
fdirent
, 0, sizeof(
fdirent
));
199
fdirent
.magic = htole16(CHFS_FS_MAGIC_BITMASK);
200
fdirent
.type = htole16(CHFS_NODETYPE_DIRENT);
201
fdirent
.length = htole32(CHFS_PAD(sizeof(
fdirent
) + strlen(name)));
202
fdirent
.hdr_crc = htole32(crc32(0, (uint8_t *)&
fdirent
,
204
fdirent
.vno = htole64(node->inode->ino)
[
all
...]
Completed in 13 milliseconds
Indexes created Wed Oct 01 19:09:53 GMT 2025