Home
last modified time | relevance | path

Searched refs:rootdev (Results 1 – 25 of 27) sorted by relevance

12

/external/syslinux/gpxe/src/core/
Ddevice.c43 static int rootdev_probe ( struct root_device *rootdev ) { in rootdev_probe() argument
46 DBG ( "Adding %s root bus\n", rootdev->dev.name ); in rootdev_probe()
47 if ( ( rc = rootdev->driver->probe ( rootdev ) ) != 0 ) { in rootdev_probe()
49 rootdev->dev.name, strerror ( rc ) ); in rootdev_probe()
61 static void rootdev_remove ( struct root_device *rootdev ) { in rootdev_remove() argument
62 rootdev->driver->remove ( rootdev ); in rootdev_remove()
63 DBG ( "Removed %s root bus\n", rootdev->dev.name ); in rootdev_remove()
74 struct root_device *rootdev; in probe_devices() local
77 for_each_table_entry ( rootdev, ROOT_DEVICES ) { in probe_devices()
78 list_add ( &rootdev->dev.siblings, &devices ); in probe_devices()
[all …]
/external/autotest/server/site_tests/platform_CorruptRootfs/
Dplatform_CorruptRootfs.py63 rootdev = result.stdout.strip()
64 if os.path.basename(rootdev).startswith('mmc'):
65 dev = rootdev[:-2]
67 dev = rootdev[:-1]
68 kernelA = utils.get_kernel_partition(rootdev)
69 rootfsA = rootdev
70 kernelB = utils.get_free_kernel_partition(rootdev)
71 rootfsB = utils.get_free_root_partition(rootdev)
/external/syslinux/gpxe/src/drivers/bus/
Disa.c53 static void isabus_remove ( struct root_device *rootdev );
94 static int isabus_probe ( struct root_device *rootdev ) { in isabus_probe() argument
120 isa->dev.parent = &rootdev->dev; in isabus_probe()
122 &rootdev->dev.children ); in isabus_probe()
141 isabus_remove ( rootdev ); in isabus_probe()
150 static void isabus_remove ( struct root_device *rootdev ) { in isabus_remove() argument
154 list_for_each_entry_safe ( isa, tmp, &rootdev->dev.children, in isabus_remove()
Dmca.c18 static void mcabus_remove ( struct root_device *rootdev );
79 static int mcabus_probe ( struct root_device *rootdev ) { in mcabus_probe() argument
127 mca->dev.parent = &rootdev->dev; in mcabus_probe()
128 list_add ( &mca->dev.siblings, &rootdev->dev.children ); in mcabus_probe()
146 mcabus_remove ( rootdev ); in mcabus_probe()
155 static void mcabus_remove ( struct root_device *rootdev ) { in mcabus_remove() argument
159 list_for_each_entry_safe ( mca, tmp, &rootdev->dev.children, in mcabus_remove()
Deisa.c12 static void eisabus_remove ( struct root_device *rootdev );
98 static int eisabus_probe ( struct root_device *rootdev ) { in eisabus_probe() argument
132 eisa->dev.parent = &rootdev->dev; in eisabus_probe()
133 list_add ( &eisa->dev.siblings, &rootdev->dev.children ); in eisabus_probe()
151 eisabus_remove ( rootdev ); in eisabus_probe()
160 static void eisabus_remove ( struct root_device *rootdev ) { in eisabus_remove() argument
164 list_for_each_entry_safe ( eisa, tmp, &rootdev->dev.children, in eisabus_remove()
Dpci.c39 static void pcibus_remove ( struct root_device *rootdev );
231 static int pcibus_probe ( struct root_device *rootdev ) { in pcibus_probe() argument
290 pci->dev.parent = &rootdev->dev; in pcibus_probe()
291 list_add ( &pci->dev.siblings, &rootdev->dev.children); in pcibus_probe()
310 pcibus_remove ( rootdev ); in pcibus_probe()
319 static void pcibus_remove ( struct root_device *rootdev ) { in pcibus_remove() argument
323 list_for_each_entry_safe ( pci, tmp, &rootdev->dev.children, in pcibus_remove()
Disapnp.c77 static void isapnpbus_remove ( struct root_device *rootdev );
636 static int isapnpbus_probe ( struct root_device *rootdev ) { in isapnpbus_probe() argument
702 isapnp->dev.parent = &rootdev->dev; in isapnpbus_probe()
704 &rootdev->dev.children ); in isapnpbus_probe()
724 isapnpbus_remove ( rootdev ); in isapnpbus_probe()
733 static void isapnpbus_remove ( struct root_device *rootdev ) { in isapnpbus_remove() argument
737 list_for_each_entry_safe ( isapnp, tmp, &rootdev->dev.children, in isapnpbus_remove()
/external/rootdev/
DMakefile13 all: $(OUT)/rootdev $(OUT)/librootdev.so.1.0
15 $(OUT)/rootdev: main.c $(OUT)/librootdev.so.1.0
18 $(OUT)/librootdev.so.1.0: rootdev.c
25 rm -f $(OUT)/rootdev $(OUT)/librootdev.so*
DREADME.chromium1 Chromium OS version of rootdev
7 Prior to this commit, rootdev was derived from the above link. However, it has
10 chromeos-rootdev:
DAndroid.mk29 LOCAL_SRC_FILES := rootdev.c
35 LOCAL_MODULE := rootdev
Drootdev.h27 int rootdev(char *path, size_t size, bool full, bool strip);
Drootdev.c403 int rootdev(char *path, size_t size, bool full, bool strip) { in rootdev() function
Drootdev_test.sh73 ROOTDEV=${1:-./rootdev}
/external/syslinux/gpxe/src/drivers/net/
D3c509.c34 static void t509bus_remove ( struct root_device *rootdev );
340 static int t509bus_probe ( struct root_device *rootdev ) { in t509bus_probe() argument
380 t509->dev.parent = &rootdev->dev; in t509bus_probe()
381 list_add ( &t509->dev.siblings, &rootdev->dev.children ); in t509bus_probe()
399 t509bus_remove ( rootdev ); in t509bus_probe()
408 static void t509bus_remove ( struct root_device *rootdev ) { in t509bus_remove() argument
412 list_for_each_entry_safe ( t509, tmp, &rootdev->dev.children, in t509bus_remove()
/external/syslinux/gpxe/src/arch/i386/drivers/net/
Dundionly.c54 static int undibus_probe ( struct root_device *rootdev ) { in undibus_probe() argument
75 undi->dev.parent = &rootdev->dev; in undibus_probe()
76 list_add ( &undi->dev.siblings, &rootdev->dev.children); in undibus_probe()
95 static void undibus_remove ( struct root_device *rootdev __unused ) { in undibus_remove()
/external/toybox/toys/other/
Dswitch_root.c27 dev_t rootdev;
32 if (node->st.st_dev == TT.rootdev && dirtree_notdotdot(node)) {
68 TT.rootdev=st2.st_dev; in switch_root_main()
/external/autotest/client/cros/faft/
Drpc_functions.py606 rootdev = self._os_if.get_root_dev()
607 kernel_a = self._os_if.join_part(rootdev, '2')
608 kernel_b = self._os_if.join_part(rootdev, '4')
668 rootdev = self._system_get_root_dev()
669 self._cgpt_handler.read_device_info(rootdev)
670 return {'A': self._cgpt_handler.get_partition(rootdev, 'KERN-A'),
671 'B': self._cgpt_handler.get_partition(rootdev, 'KERN-B')}
675 rootdev = self._system_get_root_dev()
685 self._cgpt_handler.set_partition(rootdev, 'KERN-%s' % p, attr)
/external/syslinux/gpxe/src/include/gpxe/
Ddevice.h95 int ( * probe ) ( struct root_device *rootdev );
104 void ( * remove ) ( struct root_device *rootdev );
/external/autotest/client/site_tests/hardware_StorageTrim/
Dhardware_StorageTrim.py37 rootdev = utils.get_root_device()
38 if dev == rootdev:
/external/autotest/client/site_tests/platform_Rootdev/
Dcontrol7 PURPOSE = "Test rootdev correctness on x86 and arm"
9 Will check it with options to rootdev e.g. -d
/external/autotest/server/hosts/
Dcros_label.py287 rootdev = host.run(command=rootdev_cmd, ignore_status=True)
288 if rootdev.exit_status:
291 rootdev_str = rootdev.stdout.strip()
314 if re.match(scsi_pattern, rootdev.stdout):
Dcros_host.py2166 rootdev = self.run(command=rootdev_cmd, ignore_status=True)
2167 if rootdev.exit_status:
2170 rootdev_str = rootdev.stdout.strip()
2192 if re.match(scsi_pattern, rootdev.stdout):
/external/autotest/client/common_lib/cros/
Dautoupdater.py363 def rootdev(self, options=''): member in ChromiumOSUpdater
374 active_root = int(re.findall('\d+\Z', self.rootdev('-s'))[0])
454 part = self.rootdev('-s')
/external/kernel-headers/original/uapi/asm-arm/asm/
Dsetup.h35 __u32 rootdev; member
/external/f2fs-tools/lib/
Dlibf2fs.c506 static char rootdev[PATH_MAX + 1]; in get_rootdev() local
538 snprintf(rootdev, PATH_MAX + 1, "/dev/%s", buf); in get_rootdev()
540 return rootdev; in get_rootdev()

12