Home
last modified time | relevance | path

Searched refs:rootdir (Results 1 – 25 of 46) sorted by relevance

12

/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/unbound/unbound/
H A D0001-contrib-add-yocto-compatible-init-script.patch27 rootdir="/var/unbound"
30 [ -e ${rootdir}/dev/log ] || touch ${rootdir}/dev/log
31 mount --bind -n /dev/log ${rootdir}/dev/log >/dev/null 2>&1;
33 - if ! egrep -q '^/[^[:space:]]+[[:space:]]+'${rootdir}'/dev/urandom' /proc/mounts; then
34 + if ! egrep -q '^/[^[:space:]]+[[:space:]]+'${rootdir}'/dev/random' /proc/mounts; then
35 [ -d ${rootdir}/dev ] || mkdir -p ${rootdir}/dev ;
36 - [ -e ${rootdir}/dev/urandom ] || touch ${rootdir}/dev/urandom
37 - mount --bind -n /dev/urandom ${rootdir}/dev/urandom >/dev/null 2>&1;
38 + [ -e ${rootdir}/dev/random ] || touch ${rootdir}/dev/random
39 + mount --bind -n /dev/random ${rootdir}/dev/random >/dev/null 2>&1;
[all …]
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Duseradd_base.bbclass14 local rootdir="$1"
18 local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"
20 eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO groupadd \$opts\" || true
21 group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"
31 local rootdir="$1"
35 local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"
37 eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO useradd \$opts\" || true
38 user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"
48 local rootdir="$1"
54 …local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/gr…
[all …]
H A Dchrpath.bbclass4 def process_file_linux(cmd, fpath, rootdir, baseprefix, tmpdir, d, break_hardlinks = False):
40 …new_rpaths.append("$ORIGIN/" + os.path.relpath(rpath, os.path.dirname(fpath.replace(rootdir, "/"))…
56 def process_file_darwin(cmd, fpath, rootdir, baseprefix, tmpdir, d, break_hardlinks = False):
74 … newpath = "@loader_path/" + os.path.relpath(rpath, os.path.dirname(fpath.replace(rootdir, "/")))
78 def process_dir(rootdir, directory, d, break_hardlinks = False):
85 rootdir = os.path.normpath(rootdir)
108 process_dir(rootdir, fpath, d, break_hardlinks = break_hardlinks)
122 … process_file(cmd, fpath, rootdir, baseprefix, tmpdir, d, break_hardlinks = break_hardlinks)
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/
H A Dcrate.py26 def _cargo_bitbake_path(self, rootdir): argument
27 return os.path.join(rootdir, "cargo_home", "bitbake")
76 def unpack(self, ud, rootdir, d): argument
81 return self._crate_unpack(ud, rootdir, d)
83 super(Crate, self).unpack(ud, rootdir, d)
85 def _crate_unpack(self, ud, rootdir, d): argument
96 os.chdir(rootdir)
102 cargo_bitbake = self._cargo_bitbake_path(rootdir)
132 bbpath = self._cargo_bitbake_path(rootdir)
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/makedevs/makedevs/
H A Dmakedevs.c38 static char *rootdir = default_rootdir; variable
383 sprintf(path, "%s/%s", rootdir, name); in interpret_table_entry()
409 sprintf(path, "%s/%s%d", rootdir, name, i); in interpret_table_entry()
413 sprintf(path, "%s/%s\0", rootdir, buf); in interpret_table_entry()
469 if (lstat(rootdir, &sb)) { in parse_devtable()
470 perror_msg_and_die("%s", rootdir); in parse_devtable()
472 if (chdir(rootdir)) in parse_devtable()
473 perror_msg_and_die("%s", rootdir); in parse_devtable()
536 if (rootdir != default_rootdir) { in main()
547 rootdir = xstrdup(""); in main()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.c1284 struct dentry *rootdir) in wl1271_debugfs_add_files() argument
1288 DEBUGFS_ADD(tx_queue_len, rootdir); in wl1271_debugfs_add_files()
1289 DEBUGFS_ADD(retry_count, rootdir); in wl1271_debugfs_add_files()
1290 DEBUGFS_ADD(excessive_retries, rootdir); in wl1271_debugfs_add_files()
1292 DEBUGFS_ADD(gpio_power, rootdir); in wl1271_debugfs_add_files()
1293 DEBUGFS_ADD(start_recovery, rootdir); in wl1271_debugfs_add_files()
1294 DEBUGFS_ADD(driver_state, rootdir); in wl1271_debugfs_add_files()
1295 DEBUGFS_ADD(vifs_state, rootdir); in wl1271_debugfs_add_files()
1296 DEBUGFS_ADD(dtim_interval, rootdir); in wl1271_debugfs_add_files()
1297 DEBUGFS_ADD(suspend_dtim_interval, rootdir); in wl1271_debugfs_add_files()
[all …]
/OK3568_Linux_fs/buildroot/support/scripts/
H A Dfix-rpath140 # work with the --make-rpath-relative ${rootdir} invocation as
141 # the per-package host directory is not within ${rootdir}. So,
150 ${PATCHELF} --make-rpath-relative "${rootdir}" ${sanitize_extra_args[@]} "${file}"
153 done < <(find "${rootdir}" ${find_args[@]})
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Ddevice.c263 const char *rootdir = "/sys/bus/usb/devices"; in qmidevice_detect() local
270 pDir = opendir(rootdir); in qmidevice_detect()
272 dbg_time("opendir %s failed: %s", rootdir, strerror(errno)); in qmidevice_detect()
285 snprintf(pl->path, sizeof(pl->path), "%s/%s", rootdir, ent->d_name); in qmidevice_detect()
292 rootdir, ent->d_name, profile->usb_dev.idVendor, profile->usb_dev.idProduct, in qmidevice_detect()
301 snprintf(pl->path, sizeof(pl->path), "%s/%s:1.%d/net", rootdir, ent->d_name, netIntf); in qmidevice_detect()
311 snprintf(pl->path, sizeof(pl->path), "%s/%s:1.4/net:%s", rootdir, ent->d_name, n); in qmidevice_detect()
313 … snprintf(pl->path, sizeof(pl->path), "%s/%s:1.4/GobiQMI:%s", rootdir, ent->d_name, c); in qmidevice_detect()
317 snprintf(pl->path, sizeof(pl->path), "%s/%s:1.4", rootdir, ent->d_name); in qmidevice_detect()
331 snprintf(pl->path, sizeof(pl->path), "%s/%s:1.%d", rootdir, ent->d_name, netIntf); in qmidevice_detect()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/wcn36xx/
H A Ddebug.c143 mode, dfs->rootdir, \
157 dfs->rootdir = debugfs_create_dir(KBUILD_MODNAME, in wcn36xx_debugfs_init()
159 if (IS_ERR(dfs->rootdir)) { in wcn36xx_debugfs_init()
161 dfs->rootdir = NULL; in wcn36xx_debugfs_init()
171 debugfs_remove_recursive(dfs->rootdir); in wcn36xx_debugfs_exit()
H A Ddebug.h31 struct dentry *rootdir; member
/OK3568_Linux_fs/kernel/drivers/opp/
H A Ddebugfs.c19 static struct dentry *rootdir; variable
152 d = debugfs_create_dir(opp_table->dentry_name, rootdir); in opp_list_debug_create_dir()
166 opp_dev->dentry = debugfs_create_symlink(name, rootdir, in opp_list_debug_create_link()
205 dentry = debugfs_rename(rootdir, opp_dev->dentry, rootdir, in opp_migrate_dentry()
293 rootdir = debugfs_create_dir("opp", NULL); in opp_debug_init()
295 debugfs_create_file("opp_summary", 0444, rootdir, &opp_tables, in opp_debug_init()
/OK3568_Linux_fs/kernel/fs/qnx4/
H A Dinode.c154 struct qnx4_inode_entry *rootdir; in qnx4_checkroot() local
167 rootdir = (struct qnx4_inode_entry *) bh->b_data; in qnx4_checkroot()
168 for (i = 0; i < QNX4_INODES_PER_BLOCK; i++, rootdir++) { in qnx4_checkroot()
169 QNX4DEBUG((KERN_INFO "rootdir entry found : [%s]\n", rootdir->di_fname)); in qnx4_checkroot()
170 if (strcmp(rootdir->di_fname, QNX4_BMNAME) != 0) in qnx4_checkroot()
172 qnx4_sb(sb)->BitMap = kmemdup(rootdir, in qnx4_checkroot()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl1251/
H A Ddebugfs.c431 DEBUGFS_ADD(tx_queue_len, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
432 DEBUGFS_ADD(tx_queue_status, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
433 DEBUGFS_ADD(retry_count, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
434 DEBUGFS_ADD(excessive_retries, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
451 wl->debugfs.rootdir = debugfs_create_dir(KBUILD_MODNAME, NULL); in wl1251_debugfs_init()
454 wl->debugfs.rootdir); in wl1251_debugfs_init()
473 debugfs_remove(wl->debugfs.rootdir); in wl1251_debugfs_exit()
474 wl->debugfs.rootdir = NULL; in wl1251_debugfs_exit()
/OK3568_Linux_fs/kernel/kernel/power/
H A Denergy_model.c31 static struct dentry *rootdir; variable
72 d = debugfs_create_dir(dev_name(dev), rootdir); in em_debug_create_pd()
90 debug_dir = debugfs_lookup(dev_name(dev), rootdir); in em_debug_remove_pd()
97 rootdir = debugfs_create_dir("energy_model", NULL); in em_debug_init()
/OK3568_Linux_fs/buildroot/package/makedevs/
H A Dmakedevs.c461 char *rootdir = NULL; in main() local
479 if (optind >= argc || (rootdir=argv[optind])==NULL) { in main()
483 if (chdir(rootdir) != 0) { in main()
484 bb_perror_msg_and_die("Couldnt chdir to %s", rootdir); in main()
489 printf("rootdir=%s\n", rootdir); in main()
559 full_name = concat_path_file(rootdir, name); in main()
/OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/tests/
H A Dprocess_tree_test.py18 self.rootdir = os.path.join(os.path.dirname(sys.argv[0]), '../../examples/1/')
21 options, args = parser.parse_args(['--q', self.rootdir])
31 return os.path.join(self.rootdir, f)
H A Dparser_test.py24 self.rootdir = bootchart_dir
27 return os.path.join(self.rootdir, f)
/OK3568_Linux_fs/kernel/net/l2tp/
H A Dl2tp_debugfs.c32 static struct dentry *rootdir; variable
330 rootdir = debugfs_create_dir("l2tp", NULL); in l2tp_debugfs_init()
332 debugfs_create_file("tunnels", 0600, rootdir, NULL, &l2tp_dfs_fops); in l2tp_debugfs_init()
341 debugfs_remove_recursive(rootdir); in l2tp_debugfs_exit()
/OK3568_Linux_fs/u-boot/disk/
H A Dpart_iso.h47 unsigned char rootdir[34]; /* directory record for root dir */ member
85 unsigned char rootdir[34]; /* directory record for root dir */ member
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/ufw/ufw/
H A D0001-optimize-boot.patch36 if [ -s "${rootdir}#STATE_PREFIX#/ufw-init-functions" ]; then
37 . "${rootdir}#STATE_PREFIX#/ufw-init-functions"
/OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/libao/
H A Dlibao_1.2.0.bb24 rootdir = bb.data.expand('${libdir}/ao/plugins-4', d)
26 …do_split_packages(d, rootdir, r'^(.*)\.so$', output_pattern='${BPN}-plugin-%s', description='AO %s…
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43legacy/
H A Ddebugfs.c29 static struct dentry *rootdir; variable
395 e->subdir = debugfs_create_dir(devdir, rootdir); in b43legacy_debugfs_add_device()
464 rootdir = debugfs_create_dir(KBUILD_MODNAME, NULL); in b43legacy_debugfs_init()
469 debugfs_remove(rootdir); in b43legacy_debugfs_exit()
/OK3568_Linux_fs/kernel/drivers/thunderbolt/
H A Dproperty.c223 const struct tb_property_rootdir_entry *rootdir = in tb_property_parse_dir() local
226 if (rootdir->magic != TB_PROPERTY_ROOTDIR_MAGIC) in tb_property_parse_dir()
228 if (rootdir->length > block_len) in tb_property_parse_dir()
231 return __tb_property_parse_dir(block, block_len, 0, rootdir->length, in tb_property_parse_dir()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl12xx/
H A Ddebugfs.h12 struct dentry *rootdir);
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl18xx/
H A Ddebugfs.h12 struct dentry *rootdir);

12