| /OK3568_Linux_fs/u-boot/arch/powerpc/lib/ |
| H A D | bat_rw.c | 5 * SPDX-License-Identifier: GPL-2.0+ 20 int write_bat (ppc_bat_t bat, unsigned long upper, unsigned long lower) in write_bat() argument 22 __maybe_unused int batn = -1; in write_bat() 27 case DBAT0: in write_bat() 28 mtspr (DBAT0L, lower); in write_bat() 32 case IBAT0: in write_bat() 33 mtspr (IBAT0L, lower); in write_bat() 36 case DBAT1: in write_bat() 37 mtspr (DBAT1L, lower); in write_bat() 41 case IBAT1: in write_bat() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/kernel/ |
| H A D | module.c | 1 // SPDX-License-Identifier: GPL-2.0-only 77 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() 78 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() 81 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate() 88 u32 upper, lower, sign, j1, j2; in apply_relocate() local 91 offset = ELF32_R_SYM(rel->r_info); in apply_relocate() 92 if (offset < 0 || offset > (symsec->sh_size / sizeof(Elf32_Sym))) { in apply_relocate() 94 module->name, relindex, i); in apply_relocate() 95 return -ENOEXEC; in apply_relocate() 98 sym = ((Elf32_Sym *)symsec->sh_addr) + offset; in apply_relocate() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ |
| H A D | overlayfs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 overlay-filesystem functionality in Linux (sometimes referred to as 11 union-filesystems). An overlay-filesystem tries to present a 17 --------------- 25 While directories will report an st_dev from the overlay-filesystem, 26 non-directory objects may report an st_dev from the lower filesystem or 29 over the lifetime of a non-directory object. Many applications and 32 In the special case of all overlay layers on the same underlying 48 feature with the "-o xino=on" overlay mount option. That is useful for the 49 case of underlying filesystems like xfs and tmpfs, which use 64bit inode [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/algorithm/string/ |
| H A D | case_conv.hpp | 1 // Boost string_algo library case_conv.hpp header file ---------------------------// 3 // Copyright Pavol Droba 2002-2003. 27 Defines sequence case-conversion algorithms. 29 desired case using provided locales. 35 // to_lower -----------------------------------------------// 37 //! Convert to lower case 39 Each element of the input sequence is converted to lower 40 case. The result is a copy of the input converted to lower case. 50 \note The second variant of this function provides the strong exception-safety guarantee 67 //! Convert to lower case [all …]
|
| /OK3568_Linux_fs/kernel/drivers/thermal/ |
| H A D | gov_step_wise.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * step_wise.c - A step-by-step Thermal throttling governor 25 * d. if the trend is THERMAL_TREND_DROP_FULL, use lower limit 27 * If the temperature is lower than a trip point, 29 * b. if the trend is THERMAL_TREND_DROPPING, use lower cooling 31 * equals lower limit, deactivate the thermal instance 33 * d. if the trend is THERMAL_TREND_DROP_FULL, use lower limit, 34 * if the cooling state already equals lower limit, 40 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state() 49 cdev->ops->get_cur_state(cdev, &cur_state); in get_target_state() [all …]
|
| /OK3568_Linux_fs/kernel/fs/overlayfs/ |
| H A D | export.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2017-2018 CTERA Networks. All Rights Reserved. 41 * Before encoding a non-upper directory file handle from real layer N, we need 43 * lower decoded dentry. This is done by following the overlay ancestry up to a 53 * copied up and renamed, upper dir /a will be indexed by lower dir /a from 56 * dentry from the connected lower dentry /a/b/c. 61 * and when the time comes to decode the file handle from lower dentry /a/b/c, 66 * entry /a in the lower layers above layer N and find the indexed dir /a from 68 * will need to verify there are no redirects in lower layers above N. In the 82 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer() [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 An overlay filesystem combines two filesystems - an 'upper' filesystem 7 and a 'lower' filesystem. When a name exists in both filesystems, the 9 'lower' filesystem is either hidden or, in the case of directories, 19 redirects when renaming directories by default. In this case it is 50 the index directory to map lower inodes to upper inodes by default. 51 In this case it is still possible to turn off index globally with the 55 The inodes index feature prevents breaking of lower hardlinks on copy 72 In this case, it is still possible to turn off NFS export support 79 the same lower dir. The full index may incur some overhead on mount [all …]
|
| H A D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 if (attr->ia_valid & ATTR_SIZE) { in ovl_setattr() 35 err = -ETXTBSY; in ovl_setattr() 36 if (atomic_read(&realinode->i_writecount) < 0) in ovl_setattr() 52 if (attr->ia_valid & ATTR_SIZE) { in ovl_setattr() 59 if (attr->ia_valid & (ATTR_KILL_SUID|ATTR_KILL_SGID)) in ovl_setattr() 60 attr->ia_valid &= ~ATTR_MODE; in ovl_setattr() 65 * filesystem rely on attr->ia_file in ovl_setattr() 67 attr->ia_valid &= ~ATTR_FILE; in ovl_setattr() 70 * If open(O_TRUNC) is done, VFS calls ->setattr with ATTR_OPEN in ovl_setattr() [all …]
|
| H A D | super.c | 1 // SPDX-License-Identifier: GPL-2.0-only 66 for (i = 0; i < oe->numlower; i++) in ovl_entry_stack_free() 67 dput(oe->lowerstack[i].dentry); in ovl_entry_stack_free() 77 struct ovl_entry *oe = dentry->d_fsdata; in ovl_dentry_release() 88 struct dentry *real = NULL, *lower; in ovl_d_real() local 107 lower = ovl_dentry_lowerdata(dentry); in ovl_d_real() 108 if (!lower) in ovl_d_real() 110 real = lower; in ovl_d_real() 119 __func__, dentry, inode ? inode->i_sb->s_id : "NULL", in ovl_d_real() 120 inode ? inode->i_ino : 0, real, in ovl_d_real() [all …]
|
| H A D | namei.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() 43 * that will stop further lookup in lower layers (d->stop=true) in ovl_check_redirect() 45 * element and that should force continue lookup in lower in ovl_check_redirect() 46 * layers (reset d->stop). in ovl_check_redirect() 48 d->stop = false; in ovl_check_redirect() 52 memcpy(buf, d->name.name, prelen); in ovl_check_redirect() 56 kfree(d->redirect); in ovl_check_redirect() 57 d->redirect = buf; in ovl_check_redirect() 58 d->name.name = d->redirect; in ovl_check_redirect() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | ebb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 /* 2) clear MMCR0[PMAO] - docs say BESCR[PMEO] should do this */ in reset_ebb_with_clear_mask() 38 /* 3) set MMCR0[PMAE] - docs say BESCR[PME] should do this */ in reset_ebb_with_clear_mask() 48 /* 6) rfebb 1 - done in our caller */ in reset_ebb_with_clear_mask() 73 u64 count, upper, lower; in ebb_check_count() local 77 lower = ebb_state.stats.ebb_count * (sample_period - fudge); in ebb_check_count() 79 if (count < lower) { in ebb_check_count() 80 printf("PMC%d count (0x%llx) below lower limit 0x%llx (-0x%llx)\n", in ebb_check_count() 81 pmc, count, lower, lower - count); in ebb_check_count() 89 pmc, count, upper, count - upper); in ebb_check_count() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ecryptfs/ |
| H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 1997-2003 Erez Zadok 6 * Copyright (C) 2001-2003 Stony Brook University 7 * Copyright (C) 2004-2007 International Business Machines Corp. 86 * the lower dentry and the lower mount set 88 * eCryptfs only ever keeps a single open file for every lower 89 * inode. All I/O operations to the lower inode occur through that 91 * lower dentry for that inode is created, this function creates the 92 * lower file struct and associates it with the eCryptfs 96 * The lower file will be opened with read/write permissions, if [all …]
|
| H A D | file.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 1997-2004 Erez Zadok 6 * Copyright (C) 2001-2004 Stony Brook University 7 * Copyright (C) 2004-2007 International Business Machines Corp. 26 * doesn't give us a chance to update the atime of the lower layer 28 * updates the atime of the lower level inode if generic_file_read 37 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() 41 path = ecryptfs_dentry_to_lower_path(file->f_path.dentry); in ecryptfs_read_update_atime() 66 buf->filldir_called++; in ecryptfs_filldir() 68 buf->sb, lower_name, in ecryptfs_filldir() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/hal/ |
| H A D | odm_DIG.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 17 …rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TIMER_11N+2, 0x2710); /* 0x894[31:16]= 0x2710 Time durat… in odm_NHMCounterStatisticsInit() 18 …/* rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TIMER_11N+2, 0x4e20); 0x894[31:16]= 0x4e20 Time durat… in odm_NHMCounterStatisticsInit() 19 …rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N+2, 0xffff); /* 0x890[31:16]= 0xffff th_9, t… in odm_NHMCounterStatisticsInit() 20 …/* rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH3_TO_TH0_11N, 0xffffff5c); 0x898 = 0xffffff5c th_3… in odm_NHMCounterStatisticsInit() 21 …rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH3_TO_TH0_11N, 0xffffff52); /* 0x898 = 0xffffff52 th_3… in odm_NHMCounterStatisticsInit() 22 …rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH7_TO_TH4_11N, 0xffffffff); /* 0x89c = 0xffffffff th_7… in odm_NHMCounterStatisticsInit() 23 …PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_FPGA0_IQK_11N, bMaskByte0, 0xff); /* 0xe28[7:0]= 0xff th_… in odm_NHMCounterStatisticsInit() 24 …PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N, BIT10|BIT9|BIT8, 0x7); /* 0x890[9:8]=3 … in odm_NHMCounterStatisticsInit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dbus_usb.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 1999-2016, Broadcom Corporation 26 * <<Broadcom-WL-IPTag/Open:>> 28 * $Id: dbus_usb.c 565557 2015-06-22 19:29:44Z $ 55 #define USB_DEV_ISBAD(u) (u->pub->attrib.devid == 0xDEAD) 109 * These functions are called by the lower DBUS level (dbus_usb_os.c) to notify this DBUS level 156 static dbus_intf_t dbus_usb_intf; /** functions called by higher layer DBUS into lower layer */ 171 * lower level DBUS functions to call (in both dbus_usb.c and dbus_usb_os.c). 181 /* First, initialize all lower-level functions as default in dbus_usb_probe() 203 * On return, *intf contains this or lower-level DBUS functions to be called by higher [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dbus_usb.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 1999-2016, Broadcom Corporation 26 * <<Broadcom-WL-IPTag/Open:>> 28 * $Id: dbus_usb.c 565557 2015-06-22 19:29:44Z $ 54 #define USB_DEV_ISBAD(u) (u->pub->attrib.devid == 0xDEAD) 108 * These functions are called by the lower DBUS level (dbus_usb_os.c) to notify this DBUS level 155 static dbus_intf_t dbus_usb_intf; /** functions called by higher layer DBUS into lower layer */ 170 * lower level DBUS functions to call (in both dbus_usb.c and dbus_usb_os.c). 180 /* First, initialize all lower-level functions as default in dbus_usb_probe() 202 * On return, *intf contains this or lower-level DBUS functions to be called by higher [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dbus_usb.c | 4 * Copyright (C) 1999-2016, Broadcom Corporation 25 * <<Broadcom-WL-IPTag/Open:>> 27 * $Id: dbus_usb.c 565557 2015-06-22 19:29:44Z $ 54 #define USB_DEV_ISBAD(u) (u->pub->attrib.devid == 0xDEAD) 111 * These functions are called by the lower DBUS level (dbus_usb_os.c) to notify this DBUS level 154 static dbus_intf_t dbus_usb_intf; /** functions called by higher layer DBUS into lower layer */ 168 * lower level DBUS functions to call (in both dbus_usb.c and dbus_usb_os.c). 176 /* First, initialize all lower-level functions as default in dbus_usb_probe() 226 * On return, *intf contains this or lower-level DBUS functions to be called by higher 259 if ((g_dbusintf == NULL) || (g_dbusintf->attach == NULL)) in dbus_usb_attach() [all …]
|
| /OK3568_Linux_fs/kernel/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 1 // SPDX-License-Identifier: GPL-2.0 46 case RV_CTX_F_SEEN_S1: in bpf_to_rv_reg() 47 case RV_CTX_F_SEEN_S2: in bpf_to_rv_reg() 48 case RV_CTX_F_SEEN_S3: in bpf_to_rv_reg() 49 case RV_CTX_F_SEEN_S4: in bpf_to_rv_reg() 50 case RV_CTX_F_SEEN_S5: in bpf_to_rv_reg() 51 case RV_CTX_F_SEEN_S6: in bpf_to_rv_reg() 52 __set_bit(reg, &ctx->flags); in bpf_to_rv_reg() 60 case RV_CTX_F_SEEN_CALL: in seen_reg() 61 case RV_CTX_F_SEEN_S1: in seen_reg() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/shadow/files/ |
| H A D | shadow-relaxed-usernames.patch | 6 The groupadd from shadow does not allow upper case group names, the 10 restrictions to allow the upper case group names, and the relaxation is 12 characters from the portable filename character set [A-Za-z0-9._-]. 14 Upstream-Status: Pending 16 Signed-off-by: Shan Hai <shan.hai@windriver.com> 18 --- 19 libmisc/chkname.c | 30 ++++++++++++++++++------------ 20 man/groupadd.8.xml | 6 ------ 21 man/useradd.8.xml | 8 +------- 22 3 files changed, 19 insertions(+), 25 deletions(-) [all …]
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | backref.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include "disk-io.h" 14 #include "delayed-ref.h" 50 offset = extent_item_pos - data_offset; in check_extent_in_eb() 55 return -ENOMEM; in check_extent_in_eb() 57 e->next = *eie; in check_extent_in_eb() 58 e->inum = key->objectid; in check_extent_in_eb() 59 e->offset = key->offset + offset; in check_extent_in_eb() 70 eie_next = eie->next; in free_inode_elem_list() 132 * ref->count >0: [all …]
|
| H A D | backref.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include "disk-io.h" 103 btrfs_free_path(iter->path); in btrfs_backref_iter_free() 112 return iter->path->nodes[0]; in btrfs_backref_get_eb() 116 * For metadata with EXTENT_ITEM key (non-skinny) case, the first inline data 119 * This helper determines if that's the case. 124 if (iter->cur_key.type == BTRFS_EXTENT_ITEM_KEY && in btrfs_backref_has_tree_block_info() 125 iter->cur_ptr - iter->item_ptr == sizeof(struct btrfs_extent_item)) in btrfs_backref_has_tree_block_info() 137 if (iter->cur_key.type == BTRFS_EXTENT_ITEM_KEY || in btrfs_backref_iter_is_inline_ref() 138 iter->cur_key.type == BTRFS_METADATA_ITEM_KEY) in btrfs_backref_iter_is_inline_ref() [all …]
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | cifs_unicode.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * cifs_unicode: Unicode kernel case support 6 * Convert a unicode character to upper or lower case using 15 * The upper/lower functions are based on a table created by mkupr. 16 * This is a compressed table of upper and lower case conversion. 25 #define UNIUPR_NOLOWER /* Example to not expand lower case tables */ 123 ucs1--; /* Return to the null */ in UniStrcat() 161 return (int) *ucs1 - (int) *ucs2; in UniStrcmp() 215 ucs1--; /* point to null terminator of s1 */ in UniStrncat() 216 while (n-- && (*ucs1 = *ucs2)) { /* copy s2 after s1 */ in UniStrncat() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | xilinx-xadc-events.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 13 #include "xilinx-xadc.h" 19 case XADC_THRESHOLD_OT_MAX: in xadc_event_to_channel() 20 case XADC_THRESHOLD_TEMP_MAX: in xadc_event_to_channel() 21 return &indio_dev->channels[0]; in xadc_event_to_channel() 22 case XADC_THRESHOLD_VCCINT_MAX: in xadc_event_to_channel() 23 case XADC_THRESHOLD_VCCAUX_MAX: in xadc_event_to_channel() 24 return &indio_dev->channels[event]; in xadc_event_to_channel() 26 return &indio_dev->channels[event-1]; in xadc_event_to_channel() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/phydm/ |
| H A D | phydm_dig.c | 3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 36 pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable; in ODM_ChangeDynamicInitGainThresh() 40 pDM_DigTable->RssiHighThresh = DM_Value; in ODM_ChangeDynamicInitGainThresh() 44 pDM_DigTable->RssiLowThresh = DM_Value; in ODM_ChangeDynamicInitGainThresh() 48 pDM_DigTable->Dig_Enable_Flag = TRUE; in ODM_ChangeDynamicInitGainThresh() 52 pDM_DigTable->Dig_Enable_Flag = FALSE; in ODM_ChangeDynamicInitGainThresh() 58 pDM_DigTable->BackoffVal = (u1Byte)DM_Value; in ODM_ChangeDynamicInitGainThresh() 64 pDM_DigTable->rx_gain_range_min = (u1Byte)DM_Value; in ODM_ChangeDynamicInitGainThresh() 70 pDM_DigTable->rx_gain_range_max = (u1Byte)DM_Value; in ODM_ChangeDynamicInitGainThresh() 81 if ((ONERCCA_LOW_TH - value_IGI) < ONERCCA_LOW_DIFF) in getIGIForDiff() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/ |
| H A D | rtw_mp_ioctl.c | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 25 PADAPTER Adapter = (PADAPTER)(poid_par_priv->adapter_context); in oid_rt_wireless_mode_hdl() 28 if (poid_par_priv->information_buf_len < sizeof(u8)) in oid_rt_wireless_mode_hdl() 31 if (poid_par_priv->type_of_oid == SET_OID) in oid_rt_wireless_mode_hdl() 32 Adapter->registrypriv.wireless_mode = *(u8 *)poid_par_priv->information_buf; in oid_rt_wireless_mode_hdl() 33 else if (poid_par_priv->type_of_oid == QUERY_OID) { in oid_rt_wireless_mode_hdl() 34 *(u8 *)poid_par_priv->information_buf = Adapter->registrypriv.wireless_mode; in oid_rt_wireless_mode_hdl() 35 *poid_par_priv->bytes_rw = poid_par_priv->information_buf_len; in oid_rt_wireless_mode_hdl() 52 PADAPTER Adapter = (PADAPTER)(poid_par_priv->adapter_context); in oid_rt_pro_write_bb_reg_hdl() 56 if (poid_par_priv->type_of_oid != SET_OID) in oid_rt_pro_write_bb_reg_hdl() [all …]
|