Home
last modified time | relevance | path

Searched +full:parent +full:- +full:child (Results 1 – 25 of 1048) sorted by relevance

12345678910>>...42

/freebsd-src/contrib/unbound/util/
H A Drbtree.c2 * rbtree.c -- generic red black tree
4 * Copyright (c) 2001-2007, NLnet Labs. All rights reserved.
54 RBTREE_NULL, /* Parent. */
68 static void rbtree_delete_fixup(rbtree_type* rbtree, rbnode_type* child,
98 rbtree->root = RBTREE_NULL; in rbtree_init()
99 rbtree->count = 0; in rbtree_init()
100 rbtree->cmp = cmpf; in rbtree_init()
110 rbnode_type *right = node->right; in rbtree_rotate_left()
111 node->right = right->left; in rbtree_rotate_left()
112 if (right->left != RBTREE_NULL) in rbtree_rotate_left()
[all …]
/freebsd-src/tests/sys/kern/
H A Dreaper.c1 /*-
32 #include <atf-c.h>
45 pid_t parent, child, grandchild, pid; in ATF_TC_BODY() local
50 pid = waitpid(-1, NULL, WNOHANG); in ATF_TC_BODY()
51 ATF_REQUIRE(pid == -1 && errno == ECHILD); in ATF_TC_BODY()
53 parent = getpid(); in ATF_TC_BODY()
54 r = procctl(P_PID, parent, PROC_REAP_ACQUIRE, NULL); in ATF_TC_BODY()
60 child = fork(); in ATF_TC_BODY()
61 ATF_REQUIRE(child != -1); in ATF_TC_BODY()
62 if (child == 0) { in ATF_TC_BODY()
[all …]
/freebsd-src/contrib/ldns/
H A Drbtree.c2 * rbtree.c -- generic red black tree
6 * Copyright (c) 2001-2008, NLnet Labs. All rights reserved.
56 LDNS_RBTREE_NULL, /* Parent. */
71 static void ldns_rbtree_delete_fixup(ldns_rbtree_t* rbtree, ldns_rbnode_t* child, ldns_rbnode_t* ch…
100 rbtree->root = LDNS_RBTREE_NULL; in ldns_rbtree_init()
101 rbtree->count = 0; in ldns_rbtree_init()
102 rbtree->cmp = cmpf; in ldns_rbtree_init()
118 ldns_rbnode_t *right = node->right; in ldns_rbtree_rotate_left()
119 node->right = right->left; in ldns_rbtree_rotate_left()
120 if (right->left != LDNS_RBTREE_NULL) in ldns_rbtree_rotate_left()
[all …]
/freebsd-src/lib/libsys/
H A Dfork.246 The new process (child process) is an exact copy of the
47 calling process (parent process) except for the following:
48 .Bl -bullet -offset indent
50 The child process has a unique process ID.
52 The child process has a different parent
53 process ID (i.e., the process ID of the parent process).
55 The child process has its own copy of the parent'
[all...]
H A Drfork.225 invoking process (parent) are shared
26 by the new process (child) or initialized to
38 .Bl -tag -width ".Dv RFLINUXTHPN"
43 If set, the child process will be dissociated from the parent.
45 exit the child will not leave a status for the parent to collect.
59 with its parent.
68 The child
69 will thus inherit and share all the segments the parent process owns,
72 not split (both the parent and child return on the same stack) and thus
86 child and the parent.
[all …]
/freebsd-src/sys/contrib/openzfs/module/avl/
H A Davl.c9 * or https://opensource.org/licenses/CDDL-1.0.
32 * AVL - generic AVL tree implementation for kernel use
46 * rotations, which bring unbalanced subtrees back into the semi-balanced state.
50 * - The AVL specific data structures are physically embedded as fields
55 * - Since the AVL data is always embedded in other structures, there is
61 * - The implementation uses iteration instead of explicit recursion,
64 * there is an explicit "parent" link in the avl_node_t.
66 * - The left/right children pointers of a node are in an array.
76 * int left_heavy; // -1 when left subtree is taller at some node,
80 * int right_heavy;// will be the opposite of left_heavy (-1 or 1)
[all …]
/freebsd-src/sys/kern/
H A Dsubr_bus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
103 devclass_t parent; /* parent in devclass hierarchy */
141 TAILQ_ENTRY(_device) link; /**< list of devices in parent */
143 device_t parent; /**< parent o
96 devclass_t parent; /* parent in devclass hierarchy */ global() member
126 device_t parent; /**< parent of this device */ global() member
595 devclass_t parent; devclass_driver_added() local
718 devclass_t parent; devclass_driver_deleted() local
1306 make_device(device_t parent,const char * name,int unit) make_device() argument
1367 device_print_child(device_t dev,device_t child) device_print_child() argument
1424 device_t child; device_add_child_ordered() local
1474 device_delete_child(device_t dev,device_t child) device_delete_child() argument
1520 device_t child; device_delete_children() local
1555 device_t child; device_find_child() local
1606 device_probe_child(device_t dev,device_t child) device_probe_child() argument
1791 device_t child; device_get_children() local
3015 resource_list_reserve(struct resource_list * rl,device_t bus,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) resource_list_reserve() argument
3072 resource_list_alloc(struct resource_list * rl,device_t bus,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) resource_list_alloc() argument
3143 resource_list_release(struct resource_list * rl,device_t bus,device_t child,struct resource * res) resource_list_release() argument
3199 resource_list_release_active(struct resource_list * rl,device_t bus,device_t child,int type) resource_list_release_active() argument
3239 resource_list_unreserve(struct resource_list * rl,device_t bus,device_t child,int type,int rid) resource_list_unreserve() argument
3373 device_t child; bus_generic_attach() local
3408 device_t child; bus_generic_detach() local
3436 device_t child; bus_generic_shutdown() local
3455 bus_generic_suspend_child(device_t dev,device_t child) bus_generic_suspend_child() argument
3477 bus_generic_resume_child(device_t dev,device_t child) bus_generic_resume_child() argument
3498 device_t child; bus_generic_suspend() local
3530 device_t child; bus_generic_resume() local
3552 device_t child; bus_helper_reset_post() local
3568 bus_helper_reset_prepare_rollback(device_t dev,device_t child,int flags) bus_helper_reset_prepare_rollback() argument
3596 device_t child; bus_helper_reset_prepare() local
3636 bus_print_child_header(device_t dev,device_t child) bus_print_child_header() argument
3659 bus_print_child_footer(device_t dev,device_t child) bus_print_child_footer() argument
3672 bus_print_child_domain(device_t dev,device_t child) bus_print_child_domain() argument
3692 bus_generic_print_child(device_t dev,device_t child) bus_generic_print_child() argument
3709 bus_generic_read_ivar(device_t dev,device_t child,int index,uintptr_t * result) bus_generic_read_ivar() argument
3721 bus_generic_write_ivar(device_t dev,device_t child,int index,uintptr_t value) bus_generic_write_ivar() argument
3734 bus_generic_get_property(device_t dev,device_t child,const char * propname,void * propvalue,size_t size,device_property_type_t type) bus_generic_get_property() argument
3750 bus_generic_get_resource_list(device_t dev,device_t child) bus_generic_get_resource_list() argument
3765 device_t child; bus_generic_driver_added() local
3789 device_t child; bus_generic_new_pass() local
3811 bus_generic_setup_intr(device_t dev,device_t child,struct resource * irq,int flags,driver_filter_t * filter,driver_intr_t * intr,void * arg,void ** cookiep) bus_generic_setup_intr() argument
3829 bus_generic_teardown_intr(device_t dev,device_t child,struct resource * irq,void * cookie) bus_generic_teardown_intr() argument
3845 bus_generic_suspend_intr(device_t dev,device_t child,struct resource * irq) bus_generic_suspend_intr() argument
3860 bus_generic_resume_intr(device_t dev,device_t child,struct resource * irq) bus_generic_resume_intr() argument
3875 bus_generic_adjust_resource(device_t dev,device_t child,struct resource * r,rman_res_t start,rman_res_t end) bus_generic_adjust_resource() argument
3909 bus_generic_alloc_resource(device_t dev,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) bus_generic_alloc_resource() argument
3926 bus_generic_release_resource(device_t dev,device_t child,struct resource * r) bus_generic_release_resource() argument
3941 bus_generic_activate_resource(device_t dev,device_t child,struct resource * r) bus_generic_activate_resource() argument
3956 bus_generic_deactivate_resource(device_t dev,device_t child,struct resource * r) bus_generic_deactivate_resource() argument
3972 bus_generic_map_resource(device_t dev,device_t child,struct resource * r,struct resource_map_request * args,struct resource_map * map) bus_generic_map_resource() argument
3988 bus_generic_unmap_resource(device_t dev,device_t child,struct resource * r,struct resource_map * map) bus_generic_unmap_resource() argument
4004 bus_generic_bind_intr(device_t dev,device_t child,struct resource * irq,int cpu) bus_generic_bind_intr() argument
4036 bus_generic_describe_intr(device_t dev,device_t child,struct resource * irq,void * cookie,const char * descr) bus_generic_describe_intr() argument
4053 bus_generic_get_cpus(device_t dev,device_t child,enum cpu_sets op,size_t setsize,cpuset_t * cpuset) bus_generic_get_cpus() argument
4069 bus_generic_get_dma_tag(device_t dev,device_t child) bus_generic_get_dma_tag() argument
4084 bus_generic_get_bus_tag(device_t dev,device_t child) bus_generic_get_bus_tag() argument
4101 bus_generic_rl_get_resource(device_t dev,device_t child,int type,int rid,rman_res_t * startp,rman_res_t * countp) bus_generic_rl_get_resource() argument
4132 bus_generic_rl_set_resource(device_t dev,device_t child,int type,int rid,rman_res_t start,rman_res_t count) bus_generic_rl_set_resource() argument
4155 bus_generic_rl_delete_resource(device_t dev,device_t child,int type,int rid) bus_generic_rl_delete_resource() argument
4176 bus_generic_rl_release_resource(device_t dev,device_t child,struct resource * r) bus_generic_rl_release_resource() argument
4199 bus_generic_rl_alloc_resource(device_t dev,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) bus_generic_rl_alloc_resource() argument
4224 bus_generic_rman_alloc_resource(device_t dev,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) bus_generic_rman_alloc_resource() argument
4259 bus_generic_rman_adjust_resource(device_t dev,device_t child,struct resource * r,rman_res_t start,rman_res_t end) bus_generic_rman_adjust_resource() argument
4279 bus_generic_rman_release_resource(device_t dev,device_t child,struct resource * r) bus_generic_rman_release_resource() argument
4308 bus_generic_rman_activate_resource(device_t dev,device_t child,struct resource * r) bus_generic_rman_activate_resource() argument
4348 bus_generic_rman_deactivate_resource(device_t dev,device_t child,struct resource * r) bus_generic_rman_deactivate_resource() argument
4383 bus_generic_child_present(device_t dev,device_t child) bus_generic_child_present() argument
4396 bus_generic_get_domain(device_t dev,device_t child,int * domain) bus_generic_get_domain() argument
4416 bus_generic_get_device_path(device_t bus,device_t child,const char * locator,struct sbuf * sb) bus_generic_get_device_path() argument
4420 device_t parent; bus_generic_get_device_path() local
4852 bus_child_present(device_t child) bus_child_present() argument
4864 bus_child_pnpinfo(device_t child,struct sbuf * sb) bus_child_pnpinfo() argument
4866 device_t parent; bus_child_pnpinfo() local
4881 bus_generic_child_pnpinfo(device_t dev,device_t child,struct sbuf * sb) bus_generic_child_pnpinfo() argument
4893 bus_child_location(device_t child,struct sbuf * sb) bus_child_location() argument
4895 device_t parent; bus_child_location() local
4910 bus_generic_child_location(device_t dev,device_t child,struct sbuf * sb) bus_generic_child_location() argument
4924 device_t parent; bus_get_cpus() local
4941 device_t parent; bus_get_dma_tag() local
4958 device_t parent; bus_get_bus_tag() local
4992 root_print_child(device_t dev,device_t child) root_print_child() argument
5003 root_setup_intr(device_t dev,device_t child,struct resource * irq,int flags,driver_filter_t * filter,driver_intr_t * intr,void * arg,void ** cookiep) root_setup_intr() argument
5020 root_child_present(device_t dev,device_t child) root_child_present() argument
5026 root_get_cpus(device_t dev,device_t child,enum cpu_sets op,size_t setsize,cpuset_t * cpuset) root_get_cpus() argument
5256 device_t child; print_device_tree_short() local
5272 device_t child; print_device_tree() local
5544 device_t child; device_gen_nomatch() local
5589 device_t parent; device_get_path() local
5828 device_t parent; devctl2_ioctl() local
[all...]
H A Dbus_if.m1 #-
2 # Copyright (c) 1998-2004 Doug Rabson
33 * @defgroup BUS bus - KObj methods for drivers of devices with children
35 * child devices.
45 null_alloc_resource(device_t dev, device_t child,
90 * @brief Print a description of a child device
93 * device. It should describe the attachment that the child has with
94 * the parent. For instance the TurboLaser bus prints which node the
98 * @param _dev the device whose child is being printed
99 * @param _child the child devic
[all...]
/freebsd-src/contrib/ofed/libibverbs/
H A Dmemory.c15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
54 struct ibv_mem_node *parent; member
107 n = sscanf(buf, "%" SCNxPTR "-%" SCNxPTR, &range_start, &range_end); in get_page_size()
148 tmp_aligned = (void *) ((uintptr_t) tmp & ~(size - 1)); in ibv_fork_init()
166 mm_root->parent = NULL; in ibv_fork_init()
167 mm_root->left = NULL; in ibv_fork_init()
168 mm_root->right = NULL; in ibv_fork_init()
169 mm_root->color = IBV_BLACK; in ibv_fork_init()
170 mm_root->start = 0; in ibv_fork_init()
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/
H A Dzfs_change-key_inherit.ksh1 #!/bin/ksh -p
22 . $STF_SUITE/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib
26 # 'zfs change-key -i' should cause a dataset to inherit its parent key
29 # 1. Create a parent encrypted dataset
30 # 2. Create a child dataset as an encryption root
31 # 3. Attempt to inherit the parent key
33 # 5. Unmount the parent and unload its key
34 # 6. Verify the key is unavailable for parent and child
35 # 7. Load the parent key
36 # 8. Verify the key is available for parent and child
[all …]
/freebsd-src/sys/sys/
H A Dtree.h4 /*-
5 * SPDX-License-Identifier: BSD-2-Clause
38 * splay trees and rank-balanced trees.
40 * A splay tree is a self-organizing data structure. Every operation
52 * A rank-balanced tree is a binary search tree with an integer
53 * rank-difference as an attribute of each pointer from parent to child.
54 * The sum of the rank-differences on any path from a node down to null is
56 * is -1.
59 * including "red-black" and "AVL" trees. The set of conditions applied here
60 * are the "weak-AVL" conditions of Haeupler, Sen and Tarjan presented in in
[all …]
/freebsd-src/sys/dev/bhnd/
H A Dbhnd_bus_if.m1 #-
2 # Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org>
65 bhnd_bus_null_get_chipid(device_t dev, device_t child)
71 bhnd_bus_null_read_ioctl(device_t dev, device_t child, uint16_t *ioctl)
78 bhnd_bus_null_write_ioctl(device_t dev, device_t child, uint16_t value,
86 bhnd_bus_null_read_iost(device_t dev, device_t child, uint16_t *iost)
92 bhnd_bus_null_is_hw_suspended(device_t dev, device_t child)
98 bhnd_bus_null_reset_hw(device_t dev, device_t child, uint16_t ioctl,
106 bhnd_bus_null_suspend_hw(device_t dev, device_t child)
112 bhnd_bus_null_get_attach_type(device_t dev, device_t child)
[all …]
/freebsd-src/sys/netpfil/ipfilter/netinet/
H A Dipf_rb.h16 struct _t *parent; \
40 _t *parent, *tmp1, *tmp2; \
42 parent = node->_f.parent; \
43 tmp1 = node->_f.right; \
44 tmp2 = tmp1->_f.left; \
45 node->_f.right = tmp2; \
47 tmp2->_f.parent = node; \
48 if (parent == & _n##_rb_zero) \
49 head->top._f.right = tmp1; \
50 else if (parent->_f.right == node) \
[all …]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DArchive.h1 //===- Archive.h - ar archive file format --------
41 AbstractArchiveMemberHeader(const Archive * Parent) AbstractArchiveMemberHeader() argument
73 const Archive *Parent; global() variable
79 CommonArchiveMemberHeader(const Archive * Parent,const T * RawHeaderPtr) CommonArchiveMemberHeader() argument
164 const Archive *Parent; global() variable
177 Child(const Child &C) Child() function
183 Child(Child &&C) { Child() function
290 const Archive *Parent; global() variable
[all...]
/freebsd-src/sys/dev/bhnd/bhndb/
H A Dbhndb_bus_if.m1 #-
2 # Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org>
30 # Parent bus interface required by attached bhndb bridge devices.
45 bhndb_null_get_chipid(device_t dev, device_t child)
51 bhndb_null_get_generic_hwcfg(device_t dev, device_t child)
57 bhndb_null_get_hardware_table(device_t dev, device_t child)
63 bhndb_null_get_hardware_prio(device_t dev, device_t child)
69 bhndb_null_is_core_disabled(device_t dev, device_t child,
80 * @param dev The parent device.
81 * @param child The attached bhndb device.
[all …]
H A Dbhnd_bhndb.c1 /*-
2 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org>
47 * bhnd(4) driver mix-in providing a shared common methods for
52 bhnd_bhndb_read_board_info(device_t dev, device_t child, in bhnd_bhndb_read_board_info() argument
57 /* Initialize with NVRAM-derived values */ in bhnd_bhndb_read_board_info()
58 if ((error = bhnd_bus_generic_read_board_info(dev, child, info))) in bhnd_bhndb_read_board_info()
66 bhnd_bhndb_get_attach_type(device_t dev, device_t child) in bhnd_bhndb_get_attach_type() argument
73 bhnd_bhndb_is_hw_disabled(device_t dev, device_t child) in bhnd_bhndb_is_hw_disabled() argument
75 struct bhnd_core_info core = bhnd_get_core_info(child); in bhnd_bhndb_is_hw_disabled()
77 /* Delegate to parent bridge */ in bhnd_bhndb_is_hw_disabled()
[all …]
/freebsd-src/contrib/netbsd-tests/kernel/
H A Dt_ptrace_wait.c3 /*-
51 #include <atf-c.h>
59 ATF_REQUIRE(msg_write_child(info " to child " # fds, &fds, &msg, sizeof(msg)) == 0)
62 FORKEE_ASSERT(msg_read_parent(info " from parent " # fds, &fds, &msg, sizeof(msg)) == 0)
65 FORKEE_ASSERT(msg_write_parent(info " to parent " # fds, &fds, &msg, sizeof(msg)) == 0)
68 ATF_REQUIRE(msg_read_child(info " from parent " # fds, &fds, &msg, sizeof(msg)) == 0)
75 "Verify SIGSTOP followed by _exit(2) in a child"); in ATF_TC_HEAD()
82 pid_t child, wpid; in ATF_TC_BODY() local
88 ATF_REQUIRE((child = fork()) != -1); in ATF_TC_BODY()
89 if (child == 0) { in ATF_TC_BODY()
[all …]
/freebsd-src/contrib/mandoc/
H A Deqn_term.c48 p->flags &= ~TERMP_NOSPACE; in term_eqn()
54 const struct eqn_box *child; in eqn_box() local
60 if ((bp->type == EQN_LIST && bp->expectargs > 1) || in eqn_box()
61 (bp->type == EQN_PILE && (bp->prev || bp->next)) || in eqn_box()
62 (bp->parent != NULL && (bp->parent->pos == EQNPOS_SQRT || in eqn_box()
64 ((bp->top != NULL || bp->bottom != NULL) && in eqn_box()
65 bp->parent->type == EQN_SUBEXPR && in eqn_box()
66 bp->parent->pos != EQNPOS_OVER && bp->next != NULL) || in eqn_box()
68 (bp->type == EQN_SUBEXPR && bp->pos != EQNPOS_SQRT && in eqn_box()
69 ((bp->parent->type == EQN_LIST && bp->expectargs == 1) || in eqn_box()
[all …]
/freebsd-src/sys/cam/
H A Dcam_queue.c1 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
54 camq->array_size = size; in camq_init()
55 if (camq->array_size != 0) { in camq_init()
60 camq->queue_array = malloc((size + 1) * sizeof(cam_pinfo*), in camq_init()
62 if (camq->queue_array == NULL) { in camq_init()
63 printf("camq_init: - cannot malloc array!\n"); in camq_init()
79 if (queue->queue_array != NULL) { in camq_fini()
80 free(queue->queue_array, M_CAMQ); in camq_fini()
89 KASSERT(new_size >= queue->entries, ("camq_resize: " in camq_resize()
[all …]
/freebsd-src/tests/sys/file/
H A Dflock_helper.c1 /*-
132 return -1; \
140 * Test 1 - F_GETLK on unlocked region
159 printf("1 - F_GETLK on unlocked region: "); in test1()
173 * Test 2 - F_SETLK on locked region
182 * We create a child process to hold the lock which we will in test2()
183 * test. We use a pipe to communicate with the child. in test2()
205 * We are the child. We set a write lock and then in test2()
206 * write one byte back to the parent to tell it. The in test2()
207 * parent will kill us when its done. in test2()
[all …]
/freebsd-src/sys/dev/smbus/
H A Dsmbus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
69 mtx_init(&sc->lock, device_get_nameunit(dev), "smbus", MTX_DEF); in smbus_attach()
86 mtx_destroy(&sc->lock); in smbus_detach()
100 device_t child; in smbus_add_child()
102 child = device_add_child_ordered(dev, order, name, unit); in smbus_add_child()
103 if (child in smbus_add_child()
101 device_t child; smbus_add_child() local
119 device_t child; smbus_hinted_child() local
137 smbus_child_location(device_t parent,device_t child,struct sbuf * sb) smbus_child_location() argument
148 smbus_print_child(device_t parent,device_t child) smbus_print_child() argument
163 smbus_read_ivar(device_t parent,device_t child,int which,uintptr_t * result) smbus_read_ivar() argument
182 smbus_write_ivar(device_t parent,device_t child,int which,uintptr_t value) smbus_write_ivar() argument
201 smbus_probe_nomatch(device_t bus,device_t child) smbus_probe_nomatch() argument
[all...]
/freebsd-src/contrib/tcpdump/
H A Dmakemib31 # This script will read either ASN.1-style MIB files or the ".defs" files
41 # order the structure declarations in defined-first order for the compiler
50 * struct mib somename = { desc, oid-octet, type, child-pointer, next-pointer
59 # for sanity, we prep the namespace with objects from RFC-1155
68 oidadd("mib-2", "mgmt", 1)
72 oidadd("ip", "mib-2", 4)
73 oidadd("transmission", "mib-
[all...]
/freebsd-src/contrib/capsicum-test/
H A Dprocdesc.cc21 #include "capsicum-test.h"
30 //------------------------------------------------
38 pid_t pid = -1; in pdwait4_()
49 fprintf(f, " User CPU time=%ld.%06ld\n", (long)ru->ru_utime.tv_sec, (long)ru->ru_utime.tv_usec); in print_rusage()
50 …fprintf(f, " System CPU time=%ld.%06ld\n", (long)ru->ru_stime.tv_sec, (long)ru->ru_stime.tv_usec); in print_rusage()
51 fprintf(f, " Max RSS=%ld\n", ru->ru_maxrss); in print_rusage()
62 (long)stat->st_dev, (long)stat->st_ino, stat->st_mode, in print_stat()
63 (long)stat->st_nlink, stat->st_uid, stat->st_gid, in print_stat()
64 (long)stat->st_rdev, (long)stat->st_size, (long)stat->st_blksize, in print_stat()
65 (long)stat->st_blocks, in print_stat()
[all …]
/freebsd-src/sys/xen/xenmem/
H A Dxenmem_if.m1 #-
37 xenmem_generic_alloc(device_t dev, device_t child, int *res_id,
40 device_t parent;
42 parent = device_get_parent(dev);
43 if (parent == NULL)
45 return (XENMEM_ALLOC(parent, child, res_id, size));
49 xenmem_generic_free(device_t dev, device_t child, int res_id,
52 device_t parent;
54 parent = device_get_parent(dev);
55 if (parent == NULL)
[all …]
/freebsd-src/sys/dev/mii/
H A Dmii.c3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
37 * MII bus layer, glues MII-capable network interface drivers to sharable
134 ma->mii_data = mii; in miibus_attach()
143 ifmedia_init(&mii->mii_media, IFM_IMASK, ivars->ifmedia_upd, in miibus_attach()
144 ivars->ifmedia_st in miibus_attach()
170 miibus_child_detached(device_t dev,device_t child) miibus_child_detached() argument
179 miibus_print_child(device_t dev,device_t child) miibus_print_child() argument
214 miibus_child_pnpinfo(device_t dev __unused,device_t child,struct sbuf * sb) miibus_child_pnpinfo() argument
226 miibus_child_location(device_t dev __unused,device_t child,struct sbuf * sb) miibus_child_location() argument
292 device_t parent; miibus_readreg() local
301 device_t parent; miibus_writereg() local
310 device_t parent; miibus_statchg() local
324 device_t parent; miibus_linkchg() local
551 struct mii_softc *child; mii_mediachg() local
587 struct mii_softc *child; mii_tick() local
607 struct mii_softc *child; mii_pollstat() local
654 mii_dev_mac_match(device_t parent,const char * name) mii_dev_mac_match() argument
669 mii_dev_mac_softc(device_t parent) mii_dev_mac_softc() argument
[all...]

12345678910>>...42