Home
last modified time | relevance | path

Searched refs:ofs (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/linux/fs/overlayfs/
A Dsuper.c193 if (ofs) in ovl_put_super()
959 ofs->fs[ofs->numfs].sb = sb; in ovl_get_fsid()
960 ofs->fs[ofs->numfs].pseudo_dev = dev; in ovl_get_fsid()
961 ofs->fs[ofs->numfs].bad_uuid = bad_uuid; in ovl_get_fsid()
1006 ofs->fs[0].sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_get_layers()
1059 layers[ofs->numlayer].idx = ofs->numlayer; in ovl_get_layers()
1061 layers[ofs->numlayer].fs = &ofs->fs[fsid]; in ovl_get_layers()
1063 ofs->config.lowerdirs[ofs->numlayer] = l->name; in ovl_get_layers()
1078 if (ofs->numfs - !ovl_upper_mnt(ofs) == 1) { in ovl_get_layers()
1093 ofs->xino_mode = ilog2(ofs->numfs - 1) + 2; in ovl_get_layers()
[all …]
A Doverlayfs.h296 .mnt = ovl_upper_mnt(ofs), in ovl_getxattr_upper()
326 return ovl_do_setxattr(ofs, dentry, ovl_xattr(ofs, ox), value, size, 0); in ovl_setxattr()
340 return ovl_do_removexattr(ofs, dentry, ovl_xattr(ofs, ox)); in ovl_removexattr()
517 .mnt = ovl_upper_mnt(ofs), in ovl_upper_is_whiteout()
527 .mnt = ovl_upper_mnt(ofs), in ovl_check_origin_xattr()
580 .mnt = ovl_upper_mnt(ofs), in ovl_is_impuredir()
629 return (!ofs->config.index && !ofs->config.metacopy && in ovl_allow_offline_changes()
630 !ovl_redirect_dir(ofs) && !ovl_xino_warn(ofs)); in ovl_allow_offline_changes()
636 return ofs->xino_mode == 0; in ovl_same_fs()
647 return ovl_same_dev(ofs) ? ofs->xino_mode : 0; in ovl_xino_bits()
[all …]
A Dparams.c633 if (ofs) in ovl_free()
634 ovl_free_fs(ofs); in ovl_free()
680 struct ovl_fs *ofs; in ovl_init_fs_context() local
696 if (!ofs) in ovl_init_fs_context()
706 fc->s_fs_info = ofs; in ovl_init_fs_context()
724 dput(ofs->whiteout); in ovl_free_fs()
725 dput(ofs->workdir); in ovl_free_fs()
740 kfree(ofs->layers); in ovl_free_fs()
743 kfree(ofs->fs); in ovl_free_fs()
750 kfree(ofs); in ovl_free_fs()
[all …]
A Dnamei.c39 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() local
175 if (ovl_origin_uuid(ofs) ? in ovl_decode_real_fh()
407 layer = &ofs->layers[ofs->numlayer - ofs->numdatalayer]; in ovl_lookup_data_layers()
432 if (ofs->layers[i].fsid && in ovl_check_origin_fh()
436 origin = ovl_decode_real_fh(ofs, fh, ofs->layers[i].mnt, in ovl_check_origin_fh()
459 .layer = &ofs->layers[i] in ovl_check_origin_fh()
583 upper = ovl_decode_real_fh(ofs, fh, ovl_upper_mnt(ofs), connected); in ovl_index_upper()
929 if (!ofs->config.verity_mode || in ovl_maybe_validate_verity()
1067 d.layer = &ofs->layers[0]; in ovl_lookup()
1118 if (!ovl_redirect_follow(ofs)) in ovl_lookup()
[all …]
A Dutil.c61 return ofs->workdir; in ovl_workdir()
66 struct ovl_fs *ofs = OVL_FS(sb); in ovl_override_creds() local
92 struct ovl_fs *ofs = OVL_FS(sb); in ovl_indexdir() local
94 return ofs->config.index ? ofs->workdir : NULL; in ovl_indexdir()
100 struct ovl_fs *ofs = OVL_FS(sb); in ovl_index_all() local
102 return ofs->config.nfs_export && ofs->config.index; in ovl_index_all()
110 return ofs->config.nfs_export && ofs->config.index; in ovl_verify_lower()
879 if (ofs->noxattr) in ovl_check_setxattr()
886 ofs->noxattr = true; in ovl_check_setxattr()
1491 if (ovl_should_sync(ofs)) in ovl_sync_status()
[all …]
A Ddir.c73 if (!ofs->whiteout) { in ovl_whiteout()
84 ofs->whiteout = whiteout; in ovl_whiteout()
87 if (!ofs->no_shared_whiteout) { in ovl_whiteout()
92 err = ovl_do_link(ofs, ofs->whiteout, wdir, whiteout); in ovl_whiteout()
99 ofs->no_shared_whiteout = true; in ovl_whiteout()
103 whiteout = ofs->whiteout; in ovl_whiteout()
104 ofs->whiteout = NULL; in ovl_whiteout()
118 whiteout = ovl_whiteout(ofs); in ovl_cleanup_and_whiteout()
130 ovl_cleanup(ofs, wdir, dentry); in ovl_cleanup_and_whiteout()
137 ovl_cleanup(ofs, wdir, whiteout); in ovl_cleanup_and_whiteout()
[all …]
A Dcopy_up.c369 static int ovl_set_size(struct ovl_fs *ofs, in ovl_set_size() argument
464 if (ovl_origin_uuid(ofs)) in ovl_encode_real_fh()
509 fh = ovl_encode_real_fh(ofs, upper, true); in ovl_set_upper_fh()
527 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_index() local
559 err = ovl_set_upper_fh(ofs, upper, temp); in ovl_create_index()
572 ovl_cleanup(ofs, dir, temp); in ovl_create_index()
718 err = ovl_set_size(ofs, temp, &c->stat); in ovl_copy_up_metadata()
720 err = ovl_set_attr(ofs, temp, &c->stat); in ovl_copy_up_metadata()
858 ovl_cleanup(ofs, wdir, temp); in ovl_copy_up_workdir()
961 fh = ovl_get_origin_fh(ofs, origin); in ovl_do_copy_up()
[all …]
/linux/sound/soc/fsl/
A Dfsl_sai.h23 #define FSL_SAI_TCSR(ofs) (0x00 + ofs) /* SAI Transmit Control */ argument
24 #define FSL_SAI_TCR1(ofs) (0x04 + ofs) /* SAI Transmit Configuration 1 */ argument
25 #define FSL_SAI_TCR2(ofs) (0x08 + ofs) /* SAI Transmit Configuration 2 */ argument
26 #define FSL_SAI_TCR3(ofs) (0x0c + ofs) /* SAI Transmit Configuration 3 */ argument
50 #define FSL_SAI_RCSR(ofs) (0x80 + ofs) /* SAI Receive Control */ argument
81 #define FSL_SAI_xCSR(tx, ofs) (tx ? FSL_SAI_TCSR(ofs) : FSL_SAI_RCSR(ofs)) argument
82 #define FSL_SAI_xCR1(tx, ofs) (tx ? FSL_SAI_TCR1(ofs) : FSL_SAI_RCR1(ofs)) argument
83 #define FSL_SAI_xCR2(tx, ofs) (tx ? FSL_SAI_TCR2(ofs) : FSL_SAI_RCR2(ofs)) argument
84 #define FSL_SAI_xCR3(tx, ofs) (tx ? FSL_SAI_TCR3(ofs) : FSL_SAI_RCR3(ofs)) argument
85 #define FSL_SAI_xCR4(tx, ofs) (tx ? FSL_SAI_TCR4(ofs) : FSL_SAI_RCR4(ofs)) argument
[all …]
/linux/fs/jffs2/
A Dnodelist.c95 frag->ofs, frag->ofs + frag->size); in jffs2_truncate_fragtree()
133 if (newfrag->ofs > base->ofs) in jffs2_fragtree_insert()
135 else if (newfrag->ofs < base->ofs) in jffs2_fragtree_insert()
155 newfrag->ofs = ofs; in new_fragment()
251 this->ofs, this->ofs + this->size, in jffs2_add_frag_to_fragtree()
255 this->ofs, this->ofs + this->size); in jffs2_add_frag_to_fragtree()
260 if (newfrag->ofs > this->ofs) { in jffs2_add_frag_to_fragtree()
278 this->ofs, this->ofs+this->size); in jffs2_add_frag_to_fragtree()
315 newfrag, newfrag->ofs, newfrag->ofs+newfrag->size, this, this->ofs, this->ofs+this->size); in jffs2_add_frag_to_fragtree()
541 if (!prev || frag->ofs > prev->ofs) in jffs2_lookup_node_frag()
[all …]
A Dscan.c571 ofs = 0; in jffs2_scan_eraseblock()
575 ofs += 4; in jffs2_scan_eraseblock()
598 if (ofs) { in jffs2_scan_eraseblock()
628 ofs = PAD(ofs); in jffs2_scan_eraseblock()
633 ofs); in jffs2_scan_eraseblock()
636 ofs += 4; in jffs2_scan_eraseblock()
669 ofs += 4; in jffs2_scan_eraseblock()
689 ofs); in jffs2_scan_eraseblock()
726 ofs); in jffs2_scan_eraseblock()
729 ofs += 4; in jffs2_scan_eraseblock()
[all …]
A Dread.c25 int ofs, int len) in jffs2_read_dnode() argument
71 D1(if(ofs + len > je32_to_cpu(ri->dsize)) { in jffs2_read_dnode()
73 len, ofs, je32_to_cpu(ri->dsize)); in jffs2_read_dnode()
143 memcpy(buf, decomprbuf+ofs, len); in jffs2_read_dnode()
180 if (frag && frag->ofs > offset) { in jffs2_read_inode_range()
194 offset, holeend, frag->ofs, in jffs2_read_inode_range()
195 frag->ofs + frag->size); in jffs2_read_inode_range()
205 fragofs = offset - frag->ofs; in jffs2_read_inode_range()
208 frag->ofs+fragofs, in jffs2_read_inode_range()
209 frag->ofs + fragofs+readlen, in jffs2_read_inode_range()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-io.h11 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val);
12 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val);
13 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val);
14 u32 iwl_read32(struct iwl_trans *trans, u32 ofs);
36 u32 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs);
37 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs);
40 void iwl_write_prph_delay(struct iwl_trans *trans, u32 ofs,
44 iwl_write_prph_delay(trans, ofs, val, 0); in iwl_write_prph()
50 void iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 ofs,
67 return ofs + trans->trans_cfg->umac_prph_offset; in iwl_umac_prph()
[all …]
A Diwl-io.c19 trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val); in iwl_write8()
20 iwl_trans_write8(trans, ofs, val); in iwl_write8()
27 iwl_trans_write32(trans, ofs, val); in iwl_write32()
39 u32 iwl_read32(struct iwl_trans *trans, u32 ofs) in iwl_read32() argument
41 u32 val = iwl_trans_read32(trans, ofs); in iwl_read32()
116 u32 val = iwl_trans_read_prph(trans, ofs); in iwl_read_prph_no_grab()
125 iwl_trans_write_prph(trans, ofs, val); in iwl_write_prph_no_grab()
156 iwl_write_prph_no_grab(trans, ofs, val); in iwl_write_prph_delay()
180 iwl_write_prph_no_grab(trans, ofs, in iwl_set_bits_prph()
192 iwl_write_prph_no_grab(trans, ofs, in iwl_set_bits_mask_prph()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/
A Dmt792x_regs.h9 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) argument
18 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument
261 #define MT_WFDMA0(ofs) (MT_WFDMA0_BASE + (ofs)) argument
367 #define MT_SWDEF(ofs) (MT_SWDEF_BASE + (ofs)) argument
374 #define MT_TOP(ofs) (MT_TOP_BASE + (ofs)) argument
389 #define MT_CBTOP_RGU(ofs) (0x70002000 + (ofs)) argument
401 #define MT_PCIE_MAC(ofs) (MT_PCIE_MAC_BASE + (ofs)) argument
406 #define MT_DMA_SHDL(ofs) (0x7c026000 + (ofs)) argument
431 #define MT_UMAC(ofs) (0x74000000 + (ofs)) argument
460 #define MT_UWFDMA0(ofs) (0x7c024000 + (ofs)) argument
[all …]
/linux/drivers/mtd/spi-nor/
A Dswp.c71 *ofs = 0; in spi_nor_get_locked_range_sr()
83 *ofs = 0; in spi_nor_get_locked_range_sr()
85 *ofs = mtd->size - *len; in spi_nor_get_locked_range_sr()
104 offs_max = ofs + len; in spi_nor_check_lock_status_sr()
181 if (!spi_nor_is_locked_sr(nor, 0, ofs, status_old)) in spi_nor_sr_lock()
185 if (!spi_nor_is_locked_sr(nor, ofs + len, mtd->size - (ofs + len), in spi_nor_sr_lock()
197 lock_len = mtd->size - ofs; in spi_nor_sr_lock()
199 lock_len = ofs + len; in spi_nor_sr_lock()
275 if (!spi_nor_is_unlocked_sr(nor, ofs + len, mtd->size - (ofs + len), in spi_nor_sr_unlock()
287 lock_len = mtd->size - (ofs + len); in spi_nor_sr_unlock()
[all …]
/linux/drivers/tty/serial/
A Dstm32-usart.c42 .ofs = {
64 .ofs = {
87 .ofs = {
141 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_empty() local
226 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_config_rs485() local
351 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_pending_rx_pio() local
371 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_get_char_pio() local
384 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_receive_chars_pio() local
497 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_receive_chars() local
656 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_interrupt_enable() local
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dregs.h130 #define MT_MCU_WFDMA0(ofs) (MT_MCU_WFDMA0_BASE + (ofs)) argument
136 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) argument
146 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument
167 #define MT_PSE(ofs) (MT_PSE_BASE + (ofs)) argument
171 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument
575 #define MT_WFDMA0(ofs) (MT_WFDMA0_BASE + (ofs)) argument
607 #define MT_WFDMA1(ofs) (MT_WFDMA1_BASE + (ofs)) argument
1031 #define MT_SWDEF(ofs) (MT_SWDEF_BASE + (ofs)) argument
1089 #define MT_TOP(ofs) (MT_TOP_BASE + (ofs)) argument
1122 #define MT_SEMA(ofs) (MT_SEMA_BASE + (ofs)) argument
[all …]
/linux/fs/smb/server/
A Dasn1.c63 int index = *ofs; in encode_asn_tag()
79 len = len - (index - *ofs); in encode_asn_tag()
90 *ofs += (index - *ofs); in encode_asn_tag()
97 unsigned int ofs = 0; in build_spnego_ntlmssp_neg_blob() local
116 encode_asn_tag(buf, &ofs, 0xa0, 0x0a, 1); in build_spnego_ntlmssp_neg_blob()
117 buf[ofs++] = 1; in build_spnego_ntlmssp_neg_blob()
122 ofs += NTLMSSP_OID_LEN; in build_spnego_ntlmssp_neg_blob()
127 ofs += ntlm_blob_len; in build_spnego_ntlmssp_neg_blob()
138 unsigned int ofs = 0; in build_spnego_ntlmssp_auth_blob() local
153 buf[ofs++] = 2; in build_spnego_ntlmssp_auth_blob()
[all …]
/linux/drivers/media/pci/pt3/
A Dpt3_dma.c63 *ofs += PT3_ACCESS_UNIT; in next_unit()
65 *ofs -= DATA_BUF_SZ; in next_unit()
75 int idx, ofs; in pt3_proc_dma() local
78 ofs = adap->buf_ofs; in pt3_proc_dma()
100 adap->buf_ofs = ofs; in pt3_proc_dma()
107 int idx, ofs; in pt3_init_dmabuf() local
111 ofs = 0; in pt3_init_dmabuf()
118 ofs -= DATA_BUF_SZ; in pt3_init_dmabuf()
150 int idx, ofs; in pt3_alloc_dmabuf() local
170 ofs = 0; in pt3_alloc_dmabuf()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
A Dregs.h74 #define MT_RRO_TOP(ofs) (MT_RRO_TOP_BASE + (ofs)) argument
117 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument
134 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument
162 #define MT_WF_DMA(_band, ofs) (MT_WF_DMA_BASE(_band) + (ofs)) argument
284 #define MT_WF_UMIB(ofs) (MT_WF_UMIB_BASE + (ofs)) argument
290 #define MT_WTBLON_TOP(ofs) (MT_WTBLON_TOP_BASE + (ofs)) argument
388 #define MT_WFDMA0(ofs) (MT_WFDMA0_BASE + (ofs)) argument
604 #define MT_SWDEF(ofs) (MT_SWDEF_BASE + (ofs)) argument
650 #define MT_TOP(ofs) (MT_TOP_BASE + (ofs)) argument
673 #define MT_PCIE_MAC(ofs) (MT_PCIE_MAC_BASE + (ofs)) argument
[all …]
/linux/security/selinux/ss/
A Debitmap.h52 u32 ofs; in ebitmap_start_positive() local
56 if (ofs < EBITMAP_SIZE) in ebitmap_start_positive()
57 return (*n)->startbit + ofs; in ebitmap_start_positive()
70 u32 ofs; in ebitmap_next_positive() local
73 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive()
74 return ofs + (*n)->startbit; in ebitmap_next_positive()
78 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive()
79 return ofs + (*n)->startbit; in ebitmap_next_positive()
92 u32 ofs = EBITMAP_NODE_OFFSET(n, bit); in ebitmap_node_get_bit() local
103 u32 ofs = EBITMAP_NODE_OFFSET(n, bit); in ebitmap_node_set_bit() local
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
A Dregs.h36 #define MT_HW_INFO(ofs) (MT_HW_INFO_BASE + (ofs)) argument
52 #define MT_MCU(ofs) (MT_MCU_BASE + (ofs)) argument
65 #define MT_MCU_CIRQ(ofs) (MT_MCU_CIRQ_BASE + (ofs)) argument
88 #define MT_HIF2(ofs) (MT_HIF2_BASE + (ofs)) argument
195 #define MT_WF_PHY(ofs) (MT_WF_PHY_BASE + (ofs)) argument
251 #define MT_WF_CFG(ofs) (MT_WF_CFG_BASE + (ofs)) argument
260 #define MT_WF_AGG(ofs) (MT_WF_AGG_BASE + (ofs)) argument
291 #define MT_WF_ARB(ofs) (MT_WF_ARB_BASE + (ofs)) argument
387 #define MT_WF_DMA(ofs) (MT_WF_DMA_BASE + (ofs)) argument
405 #define MT_WF_PF(ofs) (MT_WF_PF_BASE + (ofs)) argument
[all …]
/linux/arch/xtensa/variants/test_mmuhifi_c3/include/variant/
A Dtie-asm.h37 xchal_sa_start \continue, \ofs
64 xchal_sa_start \continue, \ofs
98 xchal_sa_start \continue, \ofs
134 xchal_sa_start \continue, \ofs
168 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
170 .macro xchal_cp2_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
172 .macro xchal_cp3_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
174 .macro xchal_cp4_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
176 .macro xchal_cp5_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
178 .macro xchal_cp6_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
[all …]
/linux/drivers/mtd/maps/
A Dpci.c25 unsigned long (*translate)(struct map_pci_info *map, unsigned long ofs);
37 static map_word mtd_pci_read8(struct map_info *_map, unsigned long ofs) in mtd_pci_read8() argument
41 val.x[0]= readb(map->base + map->translate(map, ofs)); in mtd_pci_read8()
49 val.x[0] = readl(map->base + map->translate(map, ofs)); in mtd_pci_read32()
62 writeb(val.x[0], map->base + map->translate(map, ofs)); in mtd_pci_write8()
68 writel(val.x[0], map->base + map->translate(map, ofs)); in mtd_pci_write32()
124 intel_iq80310_translate(struct map_pci_info *map, unsigned long ofs) in intel_iq80310_translate() argument
126 unsigned long page_addr = ofs & 0x00400000; in intel_iq80310_translate()
138 ofs += 0x00800000; in intel_iq80310_translate()
141 return ofs; in intel_iq80310_translate()
[all …]
/linux/drivers/s390/char/
A Dhmcdrv_cache.c40 loff_t ofs; member
50 .ofs = -1,
71 if (ftp->ofs >= hmcdrv_cache_file.fsize) /* EOF ? */ in hmcdrv_cache_get()
74 if ((hmcdrv_cache_file.ofs < 0) || /* has content? */ in hmcdrv_cache_get()
81 len = hmcdrv_cache_file.fsize - ftp->ofs; in hmcdrv_cache_get()
89 pos = ftp->ofs - hmcdrv_cache_file.ofs; in hmcdrv_cache_get()
143 hmcdrv_cache_file.ofs = ftp->ofs; in hmcdrv_cache_do()
150 hmcdrv_cache_file.ofs = -1; /* invalidate content */ in hmcdrv_cache_do()
205 hmcdrv_cache_file.ofs = -1; in hmcdrv_cache_cmd()
251 hmcdrv_cache_file.ofs = -1; in hmcdrv_cache_shutdown()

Completed in 79 milliseconds

12345678910>>...12