119 |
struct grub_fshelp_node diropen; |
struct grub_fshelp_node diropen; |
120 |
|
|
121 |
}; |
}; |
122 |
|
|
123 |
|
#ifndef GRUB_UTIL |
124 |
|
static grub_dl_t my_mod; |
125 |
|
#endif |
126 |
|
|
127 |
|
|
128 |
|
|
129 |
/* Filetype information as used in inodes. */ |
/* Filetype information as used in inodes. */ |
305 |
grub_fshelp_node_t node)) |
grub_fshelp_node_t node)) |
306 |
{ |
{ |
307 |
struct grub_fshelp_node *diro = (struct grub_fshelp_node *) dir; |
struct grub_fshelp_node *diro = (struct grub_fshelp_node *) dir; |
308 |
|
auto int call_hook (grub_uint64_t ino, char *filename); |
309 |
|
|
310 |
int call_hook (grub_uint64_t ino, char *filename) |
int call_hook (grub_uint64_t ino, char *filename) |
311 |
{ |
{ |
376 |
|
|
377 |
de = ((struct grub_xfs_dir_entry *) |
de = ((struct grub_xfs_dir_entry *) |
378 |
(((char *) de)+ sizeof (struct grub_xfs_dir_entry) + de->len |
(((char *) de)+ sizeof (struct grub_xfs_dir_entry) + de->len |
379 |
+ (smallino ? (sizeof (grub_uint32_t) |
+ (smallino ? sizeof (grub_uint32_t) |
380 |
: sizeof (grub_uint64_t))) - 1)); |
: sizeof (grub_uint64_t))) - 1); |
381 |
} |
} |
382 |
break; |
break; |
383 |
} |
} |