| /src/tests/usr.bin/xlint/lint1/ |
| gcc_init_compound_literal.c | 32 struct node { struct 34 struct node *left; 35 struct node *right; 43 static const struct node guess = { 45 &(struct node){ 47 &(struct node){ 52 &(struct node){
|
| /src/sys/arch/macppc/dev/ |
| fancontrol.c | 88 struct sysctlnode *zone_node, *node; local 100 sysctl_createv(NULL, 0, NULL, (void *) &node, 109 sysctl_createv(NULL, 0, NULL, (void *) &node,
|
| ofw_i2c_machdep.c | 55 of_i2c_get_address(device_t dev, int i2c_node, i2c_tag_t tag, int node, 68 if (OF_getprop(node, "reg", ®, sizeof(reg)) != sizeof(reg)) { 73 if (OF_getprop(node, "i2c-address", ®, 90 * node and the i2c bus node are the same, then the devices for 109 int i2c_node, node; local 118 for (node = OF_child(i2c_node); node != 0; node = OF_peer(node)) { [all...] |
| /src/sys/arch/macppc/macppc/ |
| mainbus.c | 70 int node, cpus, i; local 74 node = OF_finddevice("/"); 75 if (node) { 76 if (OF_getprop(node, "model", name, sizeof(name)) > 0) { 79 node = 0; 82 if (node == 0) { 97 node = OF_child(cpus); 98 while (node != 0) { 101 ca.ca_nreg = OF_getprop(node, "reg", reg, sizeof(reg)); 104 node))); [all...] |
| rbus_machdep.c | 79 int node, reg[5]; local 83 node = pcidev_to_ofdev(pa->pa_pc, pa->pa_tag); 95 if (OF_getprop(node, "reserved-segment", &start, 4) == 4) { 100 OF_getprop(node, "assigned-addresses", reg, sizeof(reg));
|
| /src/sys/compat/common/ |
| compat_sysctl_09_43.c | 73 struct sysctlnode node; local 96 node = *rnode; 97 node.sysctl_data = &vfc; 98 return (sysctl_lookup(SYSCTLFN_CALL(&node)));
|
| /src/sys/dev/sbus/ |
| cgsix_sbus.c | 93 int node, isconsole; local 102 node = sa->sa_node; 109 fb_setsize_obp(fb, fb->fb_type.fb_depth, 1152, 900, node); 166 name = prom_getpropstring(node, "model"); 168 isconsole = fb_is_console(node); 174 sc->sc_ramsize = prom_getpropint(node, "vmsize", 1) * 1024 * 1024;
|
| cgthree_sbus.c | 136 int node = sa->sa_node; local 152 fb_setsize_obp(fb, fb->fb_type.fb_depth, 1152, 900, node); 169 isconsole = fb_is_console(node); 170 name = prom_getpropstring(node, "model");
|
| bwtwo_sbus.c | 139 int isconsole, node; local 143 node = sa->sa_node; 151 fb_setsize_obp(fb, fb->fb_type.fb_depth, 1152, 900, node); 172 isconsole = fb_is_console(node); 173 name = prom_getpropstring(node, "model");
|
| if_hme_sbus.c | 89 int node; local 92 node = sa->sa_node; 171 burst = prom_getpropint(node, "burst-sizes", -1);
|
| lebuffer.c | 80 int node; local 102 node = sc->sc_node = sa->sa_node; 111 sc->sc_burst = prom_getpropint(node, "burst-sizes", -1); 123 for (node = firstchild(node); node; node = nextsibling(node)) { 126 bt, dt, node, &sax); 128 CFARGS(.devhandle = prom_node_to_devhandle(selfh, node))); [all...] |
| /src/sys/external/bsd/drm2/dist/drm/virtio/ |
| virtgpu_debugfs.c | 50 struct drm_info_node *node = (struct drm_info_node *) m->private; local 51 struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; 63 struct drm_info_node *node = (struct drm_info_node *) m->private; local 64 struct virtio_gpu_device *vgdev = node->minor->dev->dev_private;
|
| /src/sys/kern/ |
| init_sysctl_base.c | 95 * this node is inserted so that the sysctl nodes in libc can 190 struct sysctlnode node = *rnode; local 195 node.sysctl_data = PROC_MACHINE_ARCH(l->l_proc); 196 node.sysctl_size = strlen(node.sysctl_data) + 1; 197 return sysctl_lookup(SYSCTLFN_CALL(&node));
|
| /src/sbin/mount_efs/ |
| mount_efs.c | 50 fprintf(stderr, "usage: %s [-o options] special node\n", getprogname()); 94 char special[MAXPATHLEN], node[MAXPATHLEN]; local 98 mount_efs_parseargs(argc, argv, &args, &mntflags, special, node); 100 if (mount(MOUNT_EFS, node, mntflags, &args, sizeof args) == -1) 101 err(EXIT_FAILURE, "%s on %s", special, node);
|
| /src/sys/arch/alpha/tlsb/ |
| tlsb.c | 78 * these are just the actual hard TL node IDS that we 93 aprint_normal("%s at %s node %d", 97 aprint_normal(" node %d: %s", tap->ta_node, 128 int node; local 143 * The highest priority I/O node has to be in 144 * node #8, and I want to find it *first*, since 148 for (node = 0; node <= TLSB_NODE_MAX; ++node) { 153 if (badaddr(TLSB_NODE_REG_ADDR(node, TLDEV), sizeof(uint32_t)) [all...] |
| /src/sys/arch/arm/acpi/ |
| acpi_iort.c | 45 acpi_iort_id_map(ACPI_IORT_NODE *node, uint32_t *id) 50 offset = le32toh(node->MappingOffset); 51 for (n = 0; n < le32toh(node->MappingCount); n++) { 52 map = ACPI_ADD_PTR(ACPI_IORT_ID_MAPPING, node, offset); 68 acpi_iort_find_ref(ACPI_TABLE_IORT *iort, ACPI_IORT_NODE *node, uint32_t *id) 72 map = acpi_iort_id_map(node, id); 83 ACPI_IORT_NODE *node; local 94 node = ACPI_ADD_PTR(ACPI_IORT_NODE, iort, offset); 95 if (node->Type == ACPI_IORT_NODE_PCI_ROOT_COMPLEX) { 96 root = (ACPI_IORT_ROOT_COMPLEX *)node->NodeData 116 ACPI_IORT_NODE *node; local 158 ACPI_IORT_NODE *node; local [all...] |
| /src/sys/arch/arm/ofw/ |
| ofwgencfg_machdep.c | 241 int node; local 244 if (!(node = OF_peer(0))) 247 aa.oba_phandle = node;
|
| /src/sys/compat/linux/common/ |
| linux_mod.c | 129 struct sysctlnode node; local 134 node = *rnode; 135 node.sysctl_data = &val; 137 error = sysctl_lookup(SYSCTLFN_CALL(&node));
|
| linux_sysctl.c | 75 * deal with a single root node. 92 const struct sysctlnode *node = &linux_sysctl_root; variable in typeref:struct:sysctlnode 94 sysctl_createv(&linux_clog, 0, &node, &node, 99 sysctl_createv(&linux_clog, 0, &node, NULL, 104 sysctl_createv(&linux_clog, 0, &node, NULL, 109 sysctl_createv(&linux_clog, 0, &node, NULL,
|
| /src/sys/compat/linux32/common/ |
| linux32_mod.c | 89 struct sysctlnode node; local 94 node = *rnode; 95 node.sysctl_data = &val; 97 error = sysctl_lookup(SYSCTLFN_CALL(&node));
|
| linux32_sysctl.c | 91 const struct sysctlnode *node = &linux32_sysctl_root; variable in typeref:struct:sysctlnode 134 sysctl_createv(&linux32_clog, 0, &node, &node, 140 sysctl_createv(&linux32_clog, 0, &node, NULL, 145 sysctl_createv(&linux32_clog, 0, &node, NULL, 150 sysctl_createv(&linux32_clog, 0, &node, NULL,
|
| /src/sys/crypto/chacha/ |
| chacha_impl.c | 47 struct sysctlnode node; local 49 node = *rnode; 50 node.sysctl_data = __UNCONST(chacha_impl->ci_name); 51 node.sysctl_size = strlen(chacha_impl->ci_name) + 1; 52 return sysctl_lookup(SYSCTLFN_CALL(&node));
|
| /src/sys/dev/ |
| keylock.c | 54 const struct sysctlnode *node = NULL; variable in typeref:struct:sysctlnode 56 sysctl_createv(clog, 0, NULL, &node, 63 if (node == NULL) 66 sysctl_createv(clog, 0, &node, NULL, 72 sysctl_createv(clog, 0, &node, NULL, 78 sysctl_createv(clog, 0, &node, NULL, 84 sysctl_createv(clog, 0, &node, NULL, 164 struct sysctlnode node; local 167 node = *rnode; 168 node.sysctl_data = &val 177 struct sysctlnode node; local 190 struct sysctlnode node; local [all...] |
| /src/sys/dev/ofw/ |
| ofw_i2c_subr.c | 47 * Iterate over the subtree of a i2c controller node. 55 int node, len; local 64 for (node = OF_child(ofnode); node; node = OF_peer(node)) { 65 if (OF_getprop(node, "name", name, sizeof(name)) <= 0) 67 len = OF_getproplen(node, "reg"); 70 if (OF_getprop(node, "reg", ®64, sizeof(reg64)) 82 if (OF_getprop(node, "reg", ®32, sizeof(reg32) [all...] |
| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_vma_manager.c | 69 * node, you must call drm_vma_node_allow(). Otherwise, an mmap() call on this 70 * open-file with the offset of the node will fail with -EACCES. To revoke 86 * against concurrent access. However, node allocation and destruction is left 87 * for the caller. While calling into the vma-manager, a given node must 116 * drm_vma_offset_lookup_locked() - Find node in offset space 121 * Find a node given a start address and object size. This returns the _best_ 122 * match for the given node. That is, @start may point somewhere into a valid 123 * region and the given node will be returned, as long as the node spans the 135 * node = drm_vma_offset_lookup_locked(mgr) 149 struct drm_mm_node *node, *best; local [all...] |