| /OK3568_Linux_fs/kernel/fs/nfs/flexfilelayout/ |
| H A D | flexfilelayout.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2014, Primary Data, Inc. All rights reserved. 43 struct nfs4_ff_layout_mirror *mirror); 52 pnfs_init_ds_commit_info(&ffl->commit_info); in ff_layout_alloc_layout_hdr() 53 INIT_LIST_HEAD(&ffl->error_list); in ff_layout_alloc_layout_hdr() 54 INIT_LIST_HEAD(&ffl->mirrors); in ff_layout_alloc_layout_hdr() 55 ffl->last_report_time = ktime_get(); in ff_layout_alloc_layout_hdr() 56 ffl->commit_info.ops = &ff_layout_commit_ops; in ff_layout_alloc_layout_hdr() 57 return &ffl->generic_hdr; in ff_layout_alloc_layout_hdr() 68 list_for_each_entry_safe(err, n, &ffl->error_list, list) { in ff_layout_free_layout_hdr() [all …]
|
| H A D | flexfilelayoutdev.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2014, Primary Data, Inc. All rights reserved. 29 nfs4_put_deviceid_node(&mirror_ds->id_node); in nfs4_ff_layout_put_deviceid() 34 nfs4_print_deviceid(&mirror_ds->id_node.deviceid); in nfs4_ff_layout_free_deviceid() 35 nfs4_pnfs_ds_put(mirror_ds->ds); in nfs4_ff_layout_free_deviceid() 36 kfree(mirror_ds->ds_versions); in nfs4_ff_layout_free_deviceid() 40 /* Decode opaque device data and construct new_ds using it */ 55 int i, ret = -ENOMEM; in nfs4_ff_alloc_deviceid_node() 66 nfs4_init_deviceid_node(&new_ds->id_node, in nfs4_ff_alloc_deviceid_node() 68 &pdev->dev_id); in nfs4_ff_alloc_deviceid_node() [all …]
|
| H A D | flexfilelayout.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * NFSv4 flexfile layout driver data structures. 5 * Copyright (c) 2014, Primary Data, Inc. All rights reserved. 20 /* XXX: Let's filter out insanely large mirror count for now to avoid oom 45 struct list_head list; /* linked in mirror error_list */ 146 if (idx < fls->mirror_array_cnt) in FF_LAYOUT_COMP() 147 return fls->mirror_array[idx]; in FF_LAYOUT_COMP() 154 struct nfs4_ff_layout_mirror *mirror = FF_LAYOUT_COMP(lseg, idx); in FF_LAYOUT_DEVID_NODE() local 156 if (mirror != NULL) { in FF_LAYOUT_DEVID_NODE() 157 struct nfs4_ff_layout_ds *mirror_ds = mirror->mirror_ds; in FF_LAYOUT_DEVID_NODE() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | buildoptions.py | 2 # SPDX-License-Identifier: MIT 21 bitbake("-c clean core-image-minimal") 23 self.append_config('IMAGE_FEATURES += "ssh-server-openssh"') 24 bitbake("core-image-minimal") 25 … log_data_file = os.path.join(get_bb_var("WORKDIR", "core-image-minimal"), "temp/log.do_rootfs") 27 …incremental_created = re.search(r"Installing\s*:\s*packagegroup-core-ssh-openssh", log_data_create… 28 self.remove_config('IMAGE_FEATURES += "ssh-server-openssh"') 30 bitbake("core-image-minimal") 32 … incremental_removed = re.search(r"Erasing\s*:\s*packagegroup-core-ssh-openssh", log_data_removed) 36 bitbake("ccache-native") [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/vm/ |
| H A D | hmm-tests.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * the linux kernel to help device drivers mirror a process address space in 6 * makes communication and data exchange a lot easier. 38 void *mirror; member 50 #define ALIGN(x, a) (((x) + (a - 1)) & (~((a) - 1))) 82 self->page_size = sysconf(_SC_PAGE_SIZE); in FIXTURE_SETUP() 83 self->page_shift = ffs(self->page_size) - 1; in FIXTURE_SETUP() 85 self->fd = hmm_open(0); in FIXTURE_SETUP() 86 ASSERT_GE(self->fd, 0); in FIXTURE_SETUP() 91 self->page_size = sysconf(_SC_PAGE_SIZE); in FIXTURE_SETUP() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/classes/ |
| H A D | archiver.bbclass | 2 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 8 # 4) source mirror: ARCHIVER_MODE[src] = "mirror" 12 # ARCHIVER_MODE[diff-exclude] ?= ".pc autom4te.cache patches" 13 # 6) The environment data, similar to 'bitbake -e recipe': 25 # 11) The source mirror mode: 26 # ARCHIVER_MODE[mirror] = "split" (default): Sources are split into 27 # per-recipe directories in a similar way to other archiver modes. 28 # Post-processing may be required to produce a single mirror directory. 31 # ARCHIVER_MODE[mirror] = "combined": All sources are placed into a single 32 # directory suitable for direct use as a mirror. Duplicate sources are [all …]
|
| H A D | sanity.bbclass | 109 if start != -1 and (len(bbpath_line) != (start + 1)): 141 # Handle rename of meta-yocto -> meta-poky 142 # This marks the start of separate version numbers but code is needed in OE-Core 146 if 'meta-yocto' in layers: 149 index, meta_yocto_line = sanity_conf_find_line(r'.*meta-yocto[\'"\s\n]', lines) 151 lines[index] = meta_yocto_line.replace('meta-yocto', 'meta-poky') 182 bb.fatal(""" OE-core's config sanity checker detected a potential misconfiguration. 189 def check_toolchain_tune(data, tune, multilib): 193 localdata = bb.data.createCopy(data) 196 overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + multilib [all …]
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-raid1.c | 3 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. 8 #include "dm-bio-record.h" 16 #include <linux/device-mapper.h> 17 #include <linux/dm-io.h> 18 #include <linux/dm-dirty-log.h> 19 #include <linux/dm-kcopyd.h> 20 #include <linux/dm-region-hash.h> 30 #define errors_handled(p) ((p)->features & DM_RAID1_HANDLE_ERRORS) 31 #define keep_log(p) ((p)->features & DM_RAID1_KEEP_LOG) 35 /*----------------------------------------------------------------- [all …]
|
| H A D | raid1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * RAID-1 management functions. 11 * Better read-balancing code written by Mika Kuoppala <miku@iki.fi>, 2000 19 * - bitmap marked during normal i/o 20 * - bitmap used to skip nondirty blocks during sync 22 * Additions to bitmap code, (C) 2003-2004 Paul Clements, SteelEye Technology: 23 * - persistent bitmap code 38 #include "md-bitmap.h" 50 do { if ((md)->queue) blk_add_trace_msg((md)->queue, "raid1 " fmt, ##args); } while (0) 52 #include "raid1-10.c" [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap1/ |
| H A D | lcd_dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/lcd_dma.c 5 * Extracted from arch/arm/plat-omap/dma.c 6 * Copyright (C) 2003 - 2008 Nokia Corporation 11 * OMAP2/3 support Copyright (C) 2004-2007 Texas Instruments, Inc. 13 * Some functions based on earlier dma-omap.c Copyright (C) 2001 RidgeRun, Inc. 16 * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 26 #include <linux/omap-dma.h> 52 void (*callback)(u16 status, void *data); 59 int mirror; member [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptpf_ucode.c | 1 // SPDX-License-Identifier: GPL-2.0 25 /* tar header as defined in POSIX 1003.1-1990. */ 64 if (eng_grp->g->engs_num > OTX_CPT_MAX_ENGINES) { in get_cores_bmap() 66 eng_grp->g->engs_num); in get_cores_bmap() 71 if (eng_grp->engs[i].type) { in get_cores_bmap() 73 eng_grp->engs[i].bmap, in get_cores_bmap() 74 eng_grp->g->engs_num); in get_cores_bmap() 75 bmap.size = eng_grp->g->engs_num; in get_cores_bmap() 82 eng_grp->idx); in get_cores_bmap() 94 return is_eng_type(eng_grps->eng_types_supported, eng_type); in dev_supports_eng_type() [all …]
|
| /OK3568_Linux_fs/kernel/fs/nfs/ |
| H A D | pagelist.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 if (desc->pg_ops->pg_get_mirror) in nfs_pgio_get_mirror() 38 return desc->pg_ops->pg_get_mirror(desc, idx); in nfs_pgio_get_mirror() 39 return &desc->pg_mirrors[0]; in nfs_pgio_get_mirror() 45 return nfs_pgio_get_mirror(desc, desc->pg_mirror_idx); in nfs_pgio_current_mirror() 52 if (desc->pg_ops->pg_set_mirror) in nfs_pgio_set_current_mirror() 53 return desc->pg_ops->pg_set_mirror(desc, idx); in nfs_pgio_set_current_mirror() 54 return desc->pg_mirror_idx; in nfs_pgio_set_current_mirror() 61 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); in nfs_pgheader_init() local 64 hdr->req = nfs_list_entry(mirror->pg_list.next); in nfs_pgheader_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_acl_flex_actions.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2017-2018 Mellanox Technologies. All rights reserved */ 34 * group - When set, the binding is of an ACL group. When cleared, 144 return jhash2((u32 *) fa_cookie->cookie, in mlxsw_afa_cookie_hash() 145 fa_cookie->cookie_len / sizeof(u32), seed); in mlxsw_afa_cookie_hash() 148 static u32 mlxsw_afa_cookie_key_hashfn(const void *data, u32 len, u32 seed) in mlxsw_afa_cookie_key_hashfn() argument 150 const struct flow_action_cookie *fa_cookie = data; in mlxsw_afa_cookie_key_hashfn() 155 static u32 mlxsw_afa_cookie_obj_hashfn(const void *data, u32 len, u32 seed) in mlxsw_afa_cookie_obj_hashfn() argument 157 const struct mlxsw_afa_cookie *cookie = data; in mlxsw_afa_cookie_obj_hashfn() 159 return mlxsw_afa_cookie_hash(&cookie->fa_cookie, seed); in mlxsw_afa_cookie_obj_hashfn() [all …]
|
| /OK3568_Linux_fs/yocto/poky/documentation/ref-manual/ |
| H A D | faq.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 11 :term:`OpenEmbedded-Core (OE-Core)` and :term:`BitBake`. Thus, the 14 OpenEmbedded, with changes always being merged to OE-Core or BitBake 25 ":ref:`ref-manual/system-requirements:required git, tar, python and gcc versions`" 28 **Q:** How can you claim Poky / OpenEmbedded-Core is stable? 32 - The Yocto Project team keeps :term:`OpenEmbedded-Core (OE-Core)` small and 37 - The Yocto Project team runs manual and automated tests using a small, 40 - The Yocto Project uses an autobuilder, which provides continuous 48 ":ref:`dev-manual/common-tasks:understanding and creating layers`" 50 :doc:`/bsp-guide/index`. [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/ |
| H A D | RkAiqManager.cpp | 2 * Copyright (c) 2019-2021 Rockchip Eletronics Co., Ltd. 8 * http://www.apache.org/licenses/LICENSE-2.0 45 const static int32_t timeout = -1; in loop() 56 switch (msg->cmd) { in loop() 58 if (msg->sync) in loop() 59 msg->mutex->lock(); in loop() 60 mAiqMng->swWorkingModeDyn(msg->data.sw_wk_mode.mode); in loop() 61 mAiqMng->mWkSwitching = false; in loop() 62 if (msg->sync) { in loop() 63 msg->cond->broadcast (); in loop() [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/doc/bitbake-user-manual/ |
| H A D | bitbake-user-manual-ref-variables.rst | 1 .. SPDX-License-Identifier: CC-BY-2.5 17 - The variables listed in this glossary are specific to BitBake. 20 - Also, variables exist in other systems that use BitBake (e.g. The 34 In OpenEmbedded-Core, :term:`ASSUME_PROVIDED` mostly specifies native 35 tools that should not be built. An example is ``git-native``, which 37 rather than building ``git-native``. 41 :ref:`Azure Storage fetcher <bitbake-user-manual/bitbake-user-manual-fetching:fetchers>` 43 and gain access to non-public artifacts. 46 AZ_SAS = ""se=2021-01-01&sp=r&sv=2018-11-09&sr=c&skoid=<skoid>&sig=<signature>"" 49 https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/fbtft/ |
| H A D | fb_uc1611.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * The display is 4-bit grayscale (16 shades) 240x160. 29 * V_LCD = (C_V0 + C_PM × pot) * (1 + (T - 25) * temp) 34 /* BR -> actual ratio: 0-3 -> 5, 10, 11, 13 */ 37 MODULE_PARM_DESC(ratio, "BR[1:0] Bias voltage ratio: 0-3 (default: 2)"); 41 MODULE_PARM_DESC(gain, "GN[1:0] Bias voltage gain: 0-3 (default: 3)"); 45 MODULE_PARM_DESC(pot, "PM[6:0] Bias voltage pot.: 0-63 (default: 16)"); 47 /* TC -> % compensation per deg C: 0-3 -> -.05, -.10, -.015, -.20 */ 50 MODULE_PARM_DESC(temp, "TC[1:0] Temperature compensation: 0-3 (default: 0)"); 52 /* PC[1:0] -> LCD capacitance: 0-3 -> <20nF, 20-28 nF, 29-40 nF, 40-56 nF */ [all …]
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | disk-io.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 static inline u64 btrfs_sb_offset(int mirror) in btrfs_sb_offset() argument 33 if (mirror) in btrfs_sb_offset() 34 return start << (BTRFS_SUPER_MIRROR_SHIFT * mirror); in btrfs_sb_offset() 84 int mirror); 96 * fs_info->subvol_srcu 102 if (refcount_inc_not_zero(&root->refs)) in btrfs_grab_root() 131 int btree_lock_page_hook(struct page *page, void *data,
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/video/ |
| H A D | rockchip_lcdc.txt | 1 Device-Tree bindings for Rockchip SoC display controller (VOP / LCDC) 3 ROCKCHIP series of SoCs which transfers the image data from a video memory 7 - compatible: value should be one of the following 8 "rockchip,rk3288-lcdc"; /* for RK3288 SoCs */ 9 "rockchip,rk3368-lcdc"; /* for RK3368 SoCs */ 10 "rockchip,rk322x-lcdc"; /* for RK322X SoCs */ 11 "rockchip,rk3399-lcdc"; /* for RK3399 SoCs */ 12 - rockchip,prop: set the lcdc as primary or extend display. 13 - rochchip,pwr18: set the controller IO voltage,0 is 3.3v,1 is 1.8v. 14 - reg: physical base address and length of the LCDC registers set. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/ |
| H A D | gpio-detection.c | 49 struct gpio_data *data; member 54 int mirror; member 66 * gpio_det_notifier_call_chain - notify clients of gpio_det_events 76 * gpio_det_register_notifier - register a client notifier 88 * gpio_det_unregister_client - unregister a client notifier 102 struct gpio_detection *gpio_det = gpiod->parent; in gpio_det_report_event() 106 event.val = gpiod->val; in gpio_det_report_event() 107 event.name = gpiod->name; in gpio_det_report_event() 109 gpiod->name, event.val ? "over" : "on"); in gpio_det_report_event() 112 wake_lock_timeout(&gpio_det->wake_lock, in gpio_det_report_event() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/omap/ |
| H A D | omap_voutdef.h | 14 #include <media/videobuf2-dma-contig.h> 15 #include <media/v4l2-ctrls.h> 119 /* common v4l buffer stuff -- must be first */ 131 /* per-device data structure */ 151 /* Lock to protect the shared data structures in ioctl */ 155 bool mirror; member 186 return (vout->rotation == dss_rotation_90_degree || in is_rotation_90_or_270() 187 vout->rotation == dss_rotation_270_degree); in is_rotation_90_or_270() 195 return vout->rotation || vout->mirror; in is_rotation_enabled() 203 if (!vout->mirror) in calc_rotation() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/ |
| H A D | dm-clone.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 4 dm-clone 10 dm-clone is a device mapper target which produces a one-to-one copy of an 11 existing, read-only source device into a writable destination device: It 12 presents a virtual block device which makes all data appear immediately, and 15 The main use case of dm-clone is to clone a potentially remote, high-latency, 16 read-only, archival-type block device into a writable, fast, primary-type device 17 for fast, low-latency I/O. The cloned device is visible/mountable immediately 21 For example, one could restore an application backup from a read-only copy, 26 When the cloning completes, the dm-clone table can be removed altogether and be [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/rk_eink/ |
| H A D | rk_eink_display.c | 4 * SPDX-License-Identifier: GPL-2.0+ 5 * Author: Wenping Zhang <wenping.zhang@rock-chips.com> 16 #include <dm/uclass-id.h> 105 static volatile int last_logo_type = -1; 113 ret = vendor_storage_read(EINK_VCOM_ID, vcom_str, (EINK_VCOM_MAX - 1)); in read_vcom_from_vendor() 135 return -EIO; in read_waveform() 139 return -ENODEV; in read_waveform() 141 cnt = plat->lut_pbuf_size / RK_BLK_SIZE; in read_waveform() 143 ret = blk_dread(dev_desc, start, cnt, (void *)plat->lut_pbuf); in read_waveform() 148 flush_dcache_range((ulong)plat->lut_pbuf, in read_waveform() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc83xx/ |
| H A D | ecc.c | 2 * Copyright (C) 2007-2011 Freescale Semiconductor, Inc. 7 * SPDX-License-Identifier: GPL-2.0+ 19 struct ccsr_ddr __iomem *ddr = &immap->ddr; in ecc_print_status() 21 ddr83xx_t *ddr = &immap->ddr; in ecc_print_status() 25 (ddr->sdram_cfg & SDRAM_CFG_ECC_EN) ? "ON" : "OFF"); in ecc_print_status() 29 printf(" Multiple-Bit Error Interrupt Enable: %d\n", in ecc_print_status() 30 (ddr->err_int_en & ECC_ERR_INT_EN_MBEE) ? 1 : 0); in ecc_print_status() 31 printf(" Single-Bit Error Interrupt Enable: %d\n", in ecc_print_status() 32 (ddr->err_int_en & ECC_ERR_INT_EN_SBEE) ? 1 : 0); in ecc_print_status() 34 (ddr->err_int_en & ECC_ERR_INT_EN_MSEE) ? 1 : 0); in ecc_print_status() [all …]
|
| /OK3568_Linux_fs/buildroot/package/oprofile/ |
| H A D | 0001-musl.patch | 1 Remove non-Posix use of FTW_ACTIONRETVAL 8 https://github.com/openwrt-mirror/openwrt/blob/f22d5e25660106a48727c7aa5d1a73e4171a7987/package/dev… 15 https://github.com/openwrt-mirror/openwrt/commit/aaf46a8524e138e1673a398e8d2dd9357405b313#diff-fe14… 19 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> 21 --- a/pe_profiling/operf.cpp 23 @@ -857,11 +857,14 @@ static int __delete_old_previous_sample_ 31 perror("sample data removal error"); 32 - return FTW_STOP; 35 - return FTW_CONTINUE; 40 @@ -896,7 +899,7 @@ static void convert_sample_data(void) [all …]
|