Searched defs:node (Results 51 - 75 of 604) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_set.c79 * Delete or update a particular child node
88 struct profile_node *section, *node; local
117 retval = profile_find_node(section, *cpp, old_value, 0, &state, &node);
120 retval = profile_set_relation_value(node, new_value);
122 retval = profile_remove_node(node);
140 struct profile_node *section, *node; local
162 retval = profile_find_node(section, *cpp, 0, 0, &state, &node);
165 retval = profile_remove_node(node);
186 struct profile_node *section, *node; local
212 retval = profile_find_node(section, *cpp, 0, 1, &state, &node);
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_search.c55 struct node { char *key; struct node *llink, *rlink; }; struct
56 typedef struct node NODE;
79 NODE *q; /* New node if key not found */
92 if (q != NULL) { /* Allocate new node */
93 *rootp = q; /* Link new node to old */
94 q->key = key; /* Initialize new node */
/illumos-gate/usr/src/lib/libnsctl/common/
H A Dhash.c47 hash_node_t *node; local
49 node = (hash_node_t *)malloc(sizeof (hash_node_t));
50 if (!node) {
53 node->key = strdup(key);
54 node->data = data;
61 node->next = hash[ index ];
62 hash[ index ] = node;
71 * Searches the hash to find a node.
75 * pointer to node if found.
81 hash_node_t *node; local
97 hash_node_t *node, *prev; local
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dcpu.c57 * requires as input a legal prom node pointer. If a NULL
85 get_ecache_size(Prom_node *node) argument
90 if (cache_size_p = (int *)get_prop_val(find_prop(node,
94 if (cache_size_p = (int *)get_prop_val(find_prop(node,
98 if (cache_size_p = (int *)get_prop_val(find_prop(node,
174 /* Do not display a failed CPU node */
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dtsearch.c41 typedef struct node { POINTER key; struct node *llink, *rlink; } NODE; struct
54 NODE *q; /* New node if key not found */
67 if (q != NULL) { /* Allocate new node */
68 *rootp = q; /* Link new node to old */
69 q->key = key; /* Initialize new node */
76 * Delete node with key key
86 NODE *p; /* Parent of node to be deleted */
87 NODE *q; /* Successor node */
88 NODE *r; /* Right son node */
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nbp.c103 uint8_t node; local
116 node = *p++;
138 "Net = %d, node = %d, sock = %d, enum = %d",
139 net, node, sock, enumer);
H A Dsnoop_rtmp.c72 uint8_t node; local
110 node = data[3]; /* assume id_len == 8 */
120 snet, node, runt != 0 ? " (short)" : ""); local
132 snet, node);
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddcam1394_link.c40 static int dcam1394_process(di_minor_t minor, di_node_t node);
93 * This function is called for every dcam1394 minor node.
98 dcam1394_process(di_minor_t minor, di_node_t node) argument
106 if (strcmp(di_driver_name(node), "dcam1394") != 0) {
125 "dcam1394_process: path %s\n", di_devfs_path(node));
127 (void) strcpy(p_path, devfspath = di_devfs_path(node));
151 (void) devfsadm_mklink(l_path, node, minor, 0);
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_cpu.c45 devinfo_cpu_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
63 * If it is x86, the software device tree node will have the
65 * NULL, check if the node has a PROM entry, and check the device_type
71 * in sparc, the device_type entry will in the PROM node
73 if (di_nodeid (node) == DI_PROM_NODEID) {
81 if (di_prom_prop_lookup_strings (phdl, node,
93 if (di_prom_prop_lookup_ints (phdl, node,
111 * This is a x86 arch, because software device tree node
116 if (di_prop_lookup_ints (DDI_DEV_T_ANY, node,
151 if (di_driver_name (node)
[all...]
H A Ddevinfo_misc.c73 devinfo_computer_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
127 devinfo_keyboard_add(HalDevice *parent, di_node_t node, char *devfs_path, argument
133 if (strcmp(di_node_name(node), "keyboard") != 0) {
139 devinfo_set_default_properties(d, parent, node, devfs_path);
164 devinfo_mouse_add(HalDevice *parent, di_node_t node, char *devfs_path, argument
170 if (strcmp(di_node_name(node), "mouse") != 0) {
176 devinfo_set_default_properties(d, parent, node, devfs_path);
199 devinfo_default_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
205 /* ignore all children of the 'pseudo' node except lofi */
210 driver_name = di_driver_name (node);
[all...]
H A Ddevinfo_pci.c31 HalDevice *devinfo_pci_add (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
42 HalDevice *devinfo_pci_add (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
63 devinfo_set_default_properties (d, parent, node, devfs_path);
68 if (di_prop_lookup_ints (DDI_DEV_T_ANY, node, "vendor-id", &i) > 0) {
71 if (di_prop_lookup_ints (DDI_DEV_T_ANY, node, "device-id", &i) > 0) {
74 if (di_prop_lookup_ints (DDI_DEV_T_ANY, node, "subsystem-vendor-id", &i) > 0) {
77 if (di_prop_lookup_ints (DDI_DEV_T_ANY, node, "subsystem-id", &i) > 0) {
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_tlist.c33 * - addition of node to the end of the list
34 * - atomic deletion of node anywhere in list
35 * - get and remove node from head of list
37 * - timeout feature, if enabled, will remove each node on the list which
39 * called for each node removed. The worst case time is around
42 * callback anywhere from 100uS to 150uS from when you added the node to
61 hci1394_tlist_node_t *node);
136 * Add the node to the tail of the linked list. The list is protected by a
141 hci1394_tlist_node_t *node)
144 ASSERT(node !
140 hci1394_tlist_add(hci1394_tlist_handle_t tlist_handle, hci1394_tlist_node_t *node) argument
200 hci1394_tlist_delete(hci1394_tlist_handle_t tlist_handle, hci1394_tlist_node_t *node) argument
237 hci1394_tlist_get(hci1394_tlist_handle_t tlist_handle, hci1394_tlist_node_t **node) argument
266 hci1394_tlist_peek(hci1394_tlist_handle_t tlist_handle, hci1394_tlist_node_t **node) argument
342 hci1394_tlist_node_t *node; local
459 hci1394_tlist_remove(hci1394_tlist_t *list, hci1394_tlist_node_t *node) argument
[all...]
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasRefreshInformation.c30 * Discover an HBA node with mtaching path.
35 match_smhba_sas_hba(di_node_t node, void *arg) argument
42 if (IS_STUB_NODE(node)) {
46 rval = di_prop_lookup_ints(DDI_DEV_T_ANY, node,
51 if ((devpath = di_devfs_path(node)) == NULL) {
60 if (devtree_get_one_hba(node) ==
65 /* Found a node. No need to walk any more. */
131 /* found the matching hba node and refresh hba ports and targets. */
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_serengeti.c59 prom_serengeti_attach_board(uint_t node, uint_t board) argument
68 ci[4] = p1275_uint2cell(node);
83 prom_serengeti_detach_board(uint_t node, uint_t board) argument
92 ci[4] = p1275_uint2cell(node);
107 prom_serengeti_tunnel_switch(uint_t node, uint_t board) argument
116 ci[4] = p1275_uint2cell(node);
131 prom_serengeti_cpu_off(pnode_t node) argument
139 ci[3] = p1275_dnode2cell(node);
200 prom_serengeti_wakeupcpu(pnode_t node) argument
208 ci[3] = p1275_dnode2cell(node); /* Arg
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_directory.c131 /* lookup node - to ensure that it does NOT exist */
382 smb_node_t *node; local
428 node = fqi->fq_fnode;
429 if (!smb_node_is_dir(node)) {
432 smb_node_release(node);
436 if ((sr->smb_flg2 & SMB_FLAGS2_DFS) && smb_node_is_dfslink(node)) {
438 smb_node_release(node);
442 rc = smb_fsop_access(sr, sr->user_cr, node, FILE_TRAVERSE);
444 smb_node_release(node);
H A Dsmb_cmn_setfile.c56 smb_node_t *node = si->si_node; local
66 (!smb_node_is_dir(node)))
92 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr);
109 smb_node_t *node = si->si_node; local
116 if (smb_node_is_dir(node))
121 (void) smb_oplock_break(sr, node,
127 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr);
131 smb_oplock_break_levelII(node);
145 smb_node_t *node = si->si_node; local
152 if (smb_node_is_dir(node))
211 smb_node_t *node = si->si_node; local
[all...]
/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dproperty.c43 getproplen(common_data_t *cdp, fc_phandle_t node, char *propname, int inherit) argument
51 error = fc_run_priv(cdp, service, 2, 1, fc_phandle2cell(node),
60 getprop(common_data_t *cdp, fc_phandle_t node, char *propname, char *buf, argument
69 error = fc_run_priv(cdp, service, 3, 1, fc_phandle2cell(node),
78 os_get_prop_common(common_data_t *cdp, fc_phandle_t node, char *name, argument
84 i = getproplen(cdp, node, name, inherit);
97 j = getprop(cdp, node, name, bp, inherit);
118 fc_phandle_t node; local
131 node = pd->node;
[all...]
/illumos-gate/usr/src/lib/efcode/include/fcdriver/
H A Dfcdriver.h40 device_t *node; member in struct:NODEIDs
57 fc_phandle_t node; member in struct:MY_PRIVATE_DATA
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dfmd.c108 fmd_release(topo_mod_t *mp, tnode_t *node) argument
110 topo_method_unregister_all(mp, node);
127 fmd_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,Sun-Fire/ioboard/
H A Diob_platform.c45 platform_iob_label(topo_mod_t *mod, tnode_t *node, nvlist_t *ignored, argument
55 (void) snprintf(buf, 10, "N0.IB%d", topo_node_instance(node));
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,Sun-Fire-15000/ioboard/
H A Diob_platform.c45 platform_iob_label(topo_mod_t *mod, tnode_t *node, nvlist_t *ignored, argument
55 (void) snprintf(buf, 10, "IO%d", topo_node_instance(node));
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_serial.c205 get_dimm_serial(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
213 if (topo_prop_get_string_array(node, TOPO_PGROUP_IPMI, "entity_ref",
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/hostbridge/
H A Dhb_i86pc.c147 platform_hb_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out) argument
149 return (labelmethod_inherit(mod, node, in, out));
/illumos-gate/usr/src/lib/fm/topo/modules/sun4u/hostbridge/
H A Dhb_sun4u.c97 * As each node was examined, we then sorted these buses/root
180 platform_hb_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out) argument
182 return (labelmethod_inherit(mod, node, in, out));
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddlink_audit.c72 obj_list_t *node; local
75 * If we can't allocate the next node in our list, we'll try to emit a
78 if ((node = malloc(sizeof (obj_list_t))) == NULL) {
82 node->ol_next = list;
83 node->ol_name = strdup(lmp->l_name);
84 node->ol_addr = lmp->l_addr;
85 node->ol_lmid = lmid;
86 list = node;
111 obj_list_t *node = list; local
112 char *name = node
[all...]

Completed in 115 milliseconds

1234567891011>>