Searched defs:node (Results 201 - 225 of 262) sorted by relevance

1234567891011

/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dbfs.c429 struct grub_bfs_btree_node node; local
431 err = read_bfs_file (disk, sb, ino, node_off, &node, sizeof (node), 0);
435 + ALIGN_UP (sizeof (node) +
436 grub_bfs_to_cpu_treehead (node.
439 grub_bfs_to_cpu_treehead (node.count_keys) *
450 struct grub_bfs_btree_node node; local
451 err = read_bfs_file (disk, sb, ino, node_off, &node, sizeof (node), 0);
455 char key_data[grub_bfs_to_cpu_treehead (node
527 struct grub_bfs_btree_node node; local
[all...]
H A Dfat.c584 grub_fat_dir_node_t *node))
611 grub_fat_dir_node_t node; local
615 node.attr = grub_cpu_to_le32 (dir.type_specific.file.attr);
616 node.have_stream = 0;
632 node.first_cluster = grub_cpu_to_le32 (sec.type_specific.stream_extension.first_cluster);
633 node.valid_size
635 node.file_size
637 node.have_stream = 1;
659 if (hook (filename, &node))
582 grub_fat_iterate_dir(grub_disk_t disk, struct grub_fat_data *data, int (*hook) (const char *filename, grub_fat_dir_node_t *node)) argument
H A Dhfs.c48 /* Catalog node ID (CNID). */
58 /* A node descriptor. This is the header of every node. */
73 /* The number of the first node. */
317 struct grub_hfs_node node;
347 /* Lookup the root node of the extent overflow tree. */
358 /* Lookup the root node of the catalog tree. */
368 /* Lookup the root directory node in the catalog tree using the
655 /* Iterate the records in the node with index IDX in the mounted HFS
656 filesystem DATA. This node hold
316 struct grub_hfs_node node; member in struct:__anon397
667 struct grub_hfs_node node; member in union:__anon398
670 } node; local
[all...]
H A Diso9660.c155 struct grub_fshelp_node *node; member in struct:grub_iso9660_data
226 read_node (grub_fshelp_node_t node, grub_off_t off, grub_size_t len, char *buf)
234 while (i < node->have_dirents
235 && off >= grub_le_to_cpu32 (node->dirents[i].size))
237 off -= grub_le_to_cpu32 (node->dirents[i].size);
240 if (i == node->have_dirents)
242 toread = grub_le_to_cpu32 (node->dirents[i].size);
245 err = grub_disk_read (node->data->disk,
246 ((grub_disk_addr_t) grub_le_to_cpu32 (node->dirents[i].first_sector)) << GRUB_ISO9660_LOG2_BLKSZ,
261 grub_iso9660_susp_iterate (grub_fshelp_node_t node, grub_off_
225 read_node(grub_fshelp_node_t node, grub_off_t off, grub_size_t len, char *buf) argument
260 grub_iso9660_susp_iterate(grub_fshelp_node_t node, grub_off_t off, grub_ssize_t sua_size, grub_err_t (*hook) (struct grub_iso9660_susp_entry *entry)) argument
503 grub_iso9660_read_symlink(grub_fshelp_node_t node) argument
512 get_node_size(grub_fshelp_node_t node) argument
523 grub_iso9660_iterate_dir(grub_fshelp_node_t dir, int NESTED_FUNC_ATTR (*hook) (const char *filename, enum grub_fshelp_filetype filetype, grub_fshelp_node_t node)) argument
684 struct grub_fshelp_node *node; local
849 iterate(const char *filename, enum grub_fshelp_filetype filetype, grub_fshelp_node_t node) argument
[all...]
H A Dntfs.c362 grub_ntfs_read_block (grub_fshelp_node_t node, grub_disk_addr_t block) argument
366 ctx = (struct grub_ntfs_rlst *) node;
600 grub_fshelp_node_t node))
690 grub_ntfs_read_symlink (grub_fshelp_node_t node) argument
702 mft = (struct grub_ntfs_file *) node;
780 grub_fshelp_node_t node))
1013 grub_fshelp_node_t node);
1017 grub_fshelp_node_t node)
1023 info.mtime = grub_divmod64 (node->mtime, 10000000, 0)
1026 grub_free (node);
596 list_file(struct grub_ntfs_file *diro, char *pos, int NESTED_FUNC_ATTR (*hook) (const char *filename, enum grub_fshelp_filetype filetype, grub_fshelp_node_t node)) argument
776 grub_ntfs_iterate_dir(grub_fshelp_node_t dir, int NESTED_FUNC_ATTR (*hook) (const char *filename, enum grub_fshelp_filetype filetype, grub_fshelp_node_t node)) argument
1015 iterate(const char *filename, enum grub_fshelp_filetype filetype, grub_fshelp_node_t node) argument
[all...]
H A Dsquash4.c452 grub_squash_read_symlink (grub_fshelp_node_t node) argument
456 ret = grub_malloc (grub_le_to_cpu32 (node->ino.symlink.namelen) + 1);
458 err = read_chunk (node->data, ret,
459 grub_le_to_cpu32 (node->ino.symlink.namelen),
460 grub_le_to_cpu64 (node->data->sb.inodeoffset)
461 + node->ino_chunk,
462 node->ino_offset + (node->ino.symlink.name
463 - (char *) &node->ino));
469 ret[grub_le_to_cpu32 (node
474 grub_squash_iterate_dir(grub_fshelp_node_t dir, int NESTED_FUNC_ATTR (*hook) (const char *filename, enum grub_fshelp_filetype filetype, grub_fshelp_node_t node)) argument
519 struct grub_fshelp_node *node; local
606 iterate(const char *filename, enum grub_fshelp_filetype filetype, grub_fshelp_node_t node) argument
[all...]
H A Dxfs.c281 grub_xfs_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock)
288 if (node->inode.format == XFS_INODE_FORMAT_BTREE)
293 leaf = grub_malloc (node->data->bsize);
297 nrec = grub_be_to_cpu16 (node->inode.data.btree.numrecs);
298 keys = &node->inode.data.btree.keys[0];
299 if (node->inode.fork_offset)
300 recoffset = (node->inode.fork_offset
301 - ((char *) &node->inode.data.btree.keys - (char *) &node->inode))
304 recoffset = ((1 << node
279 grub_xfs_read_block(grub_fshelp_node_t node, grub_disk_addr_t fileblock) argument
383 grub_xfs_read_file(grub_fshelp_node_t node, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length), grub_off_t pos, grub_size_t len, char *buf) argument
397 grub_xfs_read_symlink(grub_fshelp_node_t node) argument
447 grub_xfs_iterate_dir(grub_fshelp_node_t dir, int NESTED_FUNC_ATTR (*hook) (const char *filename, enum grub_fshelp_filetype filetype, grub_fshelp_node_t node)) argument
706 iterate(const char *filename, enum grub_fshelp_filetype filetype, grub_fshelp_node_t node) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dregex_internal.c1353 /* Compare two node sets SET1 and SET2.
1646 re_token_t *node = dfa->nodes + nodes->elems[i];
1647 re_token_type_t type = node->type;
1648 if (type == CHARACTER && !node->constraint)
1651 newstate->accept_mb |= node->accept_mb;
1654 /* If the state has the halt node, the state is a halt state. */
1659 else if (type == ANCHOR || node->constraint)
1698 re_token_t *node = dfa->nodes + nodes->elems[i];
1699 re_token_type_t type = node->type;
1700 unsigned int constraint = node
1643 re_token_t *node = dfa->nodes + nodes->elems[i]; local
1695 re_token_t *node = dfa->nodes + nodes->elems[i]; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dhostdisk.c1487 struct dm_tree_node *node = NULL, *child; local
1506 node = dm_tree_find_node (tree, maj, min);
1507 if (! node)
1512 node_uuid = dm_tree_node_get_uuid (node);
1516 node = NULL;
1522 node = NULL;
1532 mapper_name = dm_tree_node_get_name (node);
1541 if ((node_name = dm_tree_node_get_name (node))
1553 node = NULL;
1561 child = dm_tree_next_child (&handle, node,
[all...]
/osnet-11/usr/src/grub/grub2/util/
H A Dgetroot.c905 struct dm_tree_node **node)
910 *node = NULL;
938 *node = dm_tree_find_node (*tree, maj, min);
939 if (! *node)
960 struct dm_tree_node *node; local
964 if (!grub_util_open_dm (os_dev, &tree, &node))
967 node_uuid = dm_tree_node_get_uuid (node);
1254 struct dm_tree_node *node; local
1259 if (!grub_util_open_dm (os_dev, &tree, &node))
1262 while ((child = dm_tree_next_child (&handle, node,
904 grub_util_open_dm(const char *os_dev, struct dm_tree **tree, struct dm_tree_node **node) argument
[all...]
/osnet-11/usr/src/lib/auditd_plugins/binfile/
H A Dbinfile.c225 dirlist_t *node; local
238 node = NULL;
245 node = malloc(sizeof (dirlist_t));
246 if (node == NULL)
249 node->dl_flags = 0;
250 node->dl_filename = NULL;
251 node->dl_fd = -1;
252 node->dl_space = PLENTY_SPACE;
254 node->dl_dirname = malloc((unsigned)strlen(dirname) + 1);
255 if (node
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c152 {ERRARG_BUS_DEV_CREATE, 1, 1, "failed to create device node: "},
154 "failed to create device node... Device may be unconfigurable: "},
540 * do di_init with DINFOFORCE flag and get to the input fp node
543 * In order to get the link between path_info node and scsi_vhci node
547 * scsi_vhci node support.
919 known_state(di_node_t node) argument
923 state = di_state(node);
/osnet-11/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c1151 sata_check_target_node(di_node_t node, void *arg) argument
1156 minorpath = di_devfs_minor_path(di_minor_next(node, DI_MINOR_NIL));
1178 chk_dev_fcn(di_node_t node, di_minor_t minor, void *arg) argument
1208 di_node_t node; local
1223 node = di_init(minor_path + strlen("/devices"), DINFOMINOR);
1227 if (node == DI_NODE_NIL)
1233 rv = di_walk_minor(node, NULL, 0, &chk_dev, chk_dev_fcn);
1235 di_fini(node);
1267 * Get target node path
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_ctl.c737 /* check bus node for property */
750 /* check device node for property */
775 /* check child node for property */
1446 add_dev(di_node_t node, void *arg) argument
1453 if (di_parent_node(node) == DI_NODE_NIL ||
1454 di_node_state(node) < DS_ATTACHED)
1457 if ((path = di_devfs_path(node)) == NULL) {
H A Dcfga_utils.c760 /* if anohter pi node is avaialble, return 0 */
878 /* Get client node path. */
1049 known_state(di_node_t node) argument
1053 state = di_state(node);
1098 * When path is specified, it's the node path without minor
1107 * line content must have minor node and filter out
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c57 HalDevice *devinfo_ide_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
58 static HalDevice *devinfo_ide_host_add(HalDevice *parent, di_node_t node, char *devfs_path);
59 static HalDevice *devinfo_ide_device_add(HalDevice *parent, di_node_t node, char *devfs_path);
60 static HalDevice *devinfo_ide_storage_add(HalDevice *parent, di_node_t node, char *devfs_path);
61 HalDevice *devinfo_scsi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
62 static HalDevice *devinfo_scsi_storage_add(HalDevice *parent, di_node_t node, char *devfs_path);
63 HalDevice *devinfo_pcata_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
64 static HalDevice *devinfo_pcata_storage_add(HalDevice *parent, di_node_t node, char *devfs_path);
65 HalDevice *devinfo_blkdev_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
66 static HalDevice *devinfo_blkdev_storage_add(HalDevice *parent, di_node_t node, cha
158 devinfo_ide_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
175 devinfo_ide_host_add(HalDevice *parent, di_node_t node, char *devfs_path) argument
192 devinfo_ide_device_add(HalDevice *parent, di_node_t node, char *devfs_path) argument
210 devinfo_ide_storage_add(HalDevice *parent, di_node_t node, char *devfs_path) argument
256 devinfo_scsi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
291 devinfo_scsi_storage_add(HalDevice *parent, di_node_t node, char *devfs_path) argument
381 devinfo_pcata_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
410 devinfo_pcata_storage_add(HalDevice *parent, di_node_t node, char *devfs_path) argument
448 devinfo_blkdev_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
477 devinfo_blkdev_storage_add(HalDevice *parent, di_node_t node, char *devfs_path) argument
516 devinfo_floppy_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
599 devinfo_floppy_add_volume(HalDevice *parent, di_node_t node) argument
627 di_node_t node; local
665 devinfo_lofi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
671 devinfo_lofi_add_major(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type, gboolean rescan, HalDevice *lofi_d) argument
745 devinfo_lofi_add_minor(HalDevice *parent, di_node_t node, char *minor_path, char *devlink, dev_t dev) argument
876 devinfo_storage_minors(HalDevice *parent, di_node_t node, gchar *devfs_path, gboolean rescan) argument
1054 devinfo_volume_add(HalDevice *parent, di_node_t node, devinfo_storage_minor_t *m) argument
1340 di_node_t node; local
[all...]
/osnet-11/usr/src/lib/libast/common/regex/
H A Dregcomp.c138 * allocate a new Rex_t node
142 #define node(a,b,c,d,e) node(a,b,c,d,e, const char* file, unsigned int line) macro
146 node(Cenv_t* env, int type, int lo, int hi, size_t extra) function
150 DEBUG_TEST(0x0800,(sfprintf(sfstdout, "%s:%d node(%d,%d,%d,%u)\n", file, line, type, lo, hi, sizeof(Rex_t) + extra)),(0));
168 #undef node macro
169 #define node(a,b,c,d,e) node(a,b,c,d,e,__FILE__,__LINE__) macro
173 * free a Trie_node_t node
188 * free a Rex_t node
[all...]
/osnet-11/usr/src/lib/libbsm/common/
H A Daudit_scf.c647 scf_pgrp_kva_node_t *node = NULL; local
673 pgrp_kva_ll_free(node);
681 pgrp_kva_ll_free(node);
690 if ((node = calloc(1, sizeof (scf_pgrp_kva_node_t))) == NULL) {
696 node->pgrp_name = pgrp_name_buf;
699 node_head = node;
702 node_prev->next = node;
703 node->prev = node_prev;
705 node_prev = node;
710 pgrp_kva_ll_free(node);
1728 pgrp_kva_ll_free(scf_pgrp_kva_node_t *node) argument
[all...]
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_prop.c536 zpropdef_node_t *node; local
541 while ((node = avl_destroy_nodes(&sublists_examined,
543 free(node);
800 zpropdef_node_t *pnode; /* property or previous sublist node */
801 zpropdef_node_t *snode = NULL; /* sublist node */
856 zpropdef_node_t *anode; /* alias node */
909 * names. For each dot we encounter, either find the sublist node for
911 * node.
1096 zpropdef_node_t *node; local
1099 while ((node
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsKeystoreUtil.c414 objlabel_t *node; local
416 while ((node = avl_destroy_nodes(tree, &cookie)) != NULL) {
417 free(node->label);
418 free(node);
427 objlabel_t *node; local
446 node = avl_find(tree, newnode, &where);
447 if (node == NULL) {
458 if (node->flags & DELETE_FLAG) {
459 avl_remove(tree, node);
460 free(node
809 objlabel_t *node; local
1054 objlabel_t *node; local
[all...]
/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare.c1410 sa_notification_node_t *node; local
1413 while ((node = avl_destroy_nodes(tree, &cookie)) != NULL) {
1414 nvlist_free(node->snn_return_codes);
1415 free(node);
1426 sa_notification_node_t *node; local
1579 node = calloc(1, sizeof (sa_notification_node_t));
1580 if (node == NULL) {
1584 node->snn_name = name;
1585 found = avl_find(&notified_shares, node, &index);
1587 if (nvlist_alloc(&node
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dio.c123 getaddrinfo(const char* node, const char* service, const struct addrinfo* hint, struct addrinfo **addr) argument
133 if (!(hp = gethostbyname(node)) || hp->h_addrtype!=AF_INET || hp->h_length>sizeof(struct in_addr))
H A Dmacro.c1037 Shnode_t node; member in union:__anon2513
1047 t.node.com.comarg = &d.arg;
1048 t.node.com.comline = shp->inlineno;
1052 comsubst((Mac_t*)shp->mac_context,&t.node,2);
H A Dname.c303 Namval_t node; local
542 memcpy(&node,L_ARGNOD,sizeof(node));
555 L_ARGNOD->nvalue.nrp = node.nvalue.nrp;
556 L_ARGNOD->nvflag = node.nvflag;
557 L_ARGNOD->nvfun = node.nvfun;
639 L_ARGNOD->nvalue.nrp = node.nvalue.nrp;
640 L_ARGNOD->nvflag = node.nvflag;
641 L_ARGNOD->nvfun = node.nvfun;
1184 * delete the node <n
[all...]
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c214 KMF_PLUGIN_LIST *node; local
221 node = handle->plugins;
224 while (node != NULL && node->plugin->type != kstype)
225 node = node->next;
227 if (node != NULL)
228 return (node->plugin);

Completed in 2498 milliseconds

1234567891011