Home
last modified time | relevance | path

Searched refs:coff (Results 1 – 17 of 17) sorted by relevance

/linux/fs/ocfs2/
H A Dextent_map.c73 unsigned int coff; in ocfs2_extent_map_lookup() local
81 coff = cpos - emi->ei_cpos; in ocfs2_extent_map_lookup()
82 *phys = emi->ei_phys + coff; in ocfs2_extent_map_lookup()
84 *len = emi->ei_clusters - coff; in ocfs2_extent_map_lookup()
521 u32 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_relative_extent_offsets() local
524 *p_cluster = *p_cluster + coff; in ocfs2_relative_extent_offsets()
527 *num_clusters = le16_to_cpu(rec->e_leaf_clusters) - coff; in ocfs2_relative_extent_offsets()
539 u32 coff; in ocfs2_xattr_get_clusters() local
580 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_xattr_get_clusters()
583 *p_cluster = *p_cluster + coff; in ocfs2_xattr_get_clusters()
[all …]
H A Dfile.c1713 u32 coff, range; in ocfs2_calc_trunc_pos() local
1742 coff = trunc_start - le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
1744 ocfs2_clusters_to_blocks(inode->i_sb, coff); in ocfs2_calc_trunc_pos()
H A Dalloc.c7216 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; in ocfs2_commit_truncate() local
7331 coff = new_highest_cpos - le32_to_cpu(rec->e_cpos); in ocfs2_commit_truncate()
7333 ocfs2_clusters_to_blocks(inode->i_sb, coff); in ocfs2_commit_truncate()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dgv100.c187 const u32 coff = (state == &sor->arm) * 0x8000 + sor->id * 0x20; in gv100_sor_state() local
188 u32 ctrl = nvkm_rd32(device, 0x680300 + coff); in gv100_sor_state()
365 const u32 coff = chan->chid.ctrl * 0x04; in gv100_disp_dmac_fini() local
366 nvkm_mask(device, 0x6104e0 + coff, 0x00000010, 0x00000000); in gv100_disp_dmac_fini()
368 nvkm_mask(device, 0x6104e0 + coff, 0x00000002, 0x00000000); in gv100_disp_dmac_fini()
379 const u32 coff = chan->chid.ctrl * 0x04; in gv100_disp_dmac_init() local
386 nvkm_mask(device, 0x6104e0 + coff, 0x00000010, 0x00000010); in gv100_disp_dmac_init()
388 nvkm_wr32(device, 0x6104e0 + coff, 0x00000013); in gv100_disp_dmac_init()
H A Dg94.c271 const u32 coff = sor->id * 8 + (state == &sor->arm) * 4; in g94_sor_state() local
272 u32 ctrl = nvkm_rd32(device, 0x610794 + coff); in g94_sor_state()
H A Dgf119.c307 const u32 coff = (state == &sor->asy) * 0x20000 + sor->id * 0x20; in gf119_sor_state() local
308 u32 ctrl = nvkm_rd32(device, 0x640200 + coff); in gf119_sor_state()
363 const u32 coff = (state == &dac->asy) * 0x20000 + dac->id * 0x20; in gf119_dac_state() local
364 u32 ctrl = nvkm_rd32(device, 0x640180 + coff); in gf119_dac_state()
H A Dnv50.c122 const u32 coff = pior->id * 8 + (state == &pior->arm) * 4; in nv50_pior_state() local
123 u32 ctrl = nvkm_rd32(device, 0x610b80 + coff); in nv50_pior_state()
234 const u32 coff = sor->id * 8 + (state == &sor->arm) * 4; in nv50_sor_state() local
235 u32 ctrl = nvkm_rd32(device, 0x610b70 + coff); in nv50_sor_state()
333 const u32 coff = dac->id * 8 + (state == &dac->arm) * 4; in nv50_dac_state() local
334 u32 ctrl = nvkm_rd32(device, 0x610b58 + coff); in nv50_dac_state()
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.c524 unsigned long coff; in nfp_nsp_command_buf_dma_sg() local
533 coff = 0; in nfp_nsp_command_buf_dma_sg()
535 coff = min_t(u64, arg->in_size - off, chunk_size); in nfp_nsp_command_buf_dma_sg()
536 memcpy(chunks[i].chunk, arg->in_buf + off, coff); in nfp_nsp_command_buf_dma_sg()
538 memset(chunks[i].chunk + coff, 0, chunk_size - coff); in nfp_nsp_command_buf_dma_sg()
/linux/drivers/media/pci/ddbridge/
H A Dddbridge-core.c455 output->dma->coff = 0; in ddb_output_start()
515 input->dma->coff = 0; in ddb_input_start()
580 (output->dma->size - output->dma->coff <= (2 * 188))) in ddb_output_free()
584 diff = off - output->dma->coff; in ddb_output_free()
601 len = output->dma->size - output->dma->coff; in ddb_output_write()
609 if (off > output->dma->coff) { in ddb_output_write()
610 len = off - output->dma->coff; in ddb_output_write()
620 output->dma->coff, in ddb_output_write()
630 output->dma->coff += len; in ddb_output_write()
631 if (output->dma->coff == output->dma->size) { in ddb_output_write()
[all …]
H A Dddbridge.h151 u32 coff; member
/linux/include/linux/power/
H A Dmax17042_battery.h198 u16 coff; /* 0x2F */ member
/linux/net/netfilter/
H A Dnf_nat_sip.c153 unsigned int coff, matchoff, matchlen; in nf_nat_sip() local
261 coff = 0; in nf_nat_sip()
263 while (ct_sip_parse_header_uri(ct, *dptr, &coff, *datalen, in nf_nat_sip()
H A Dnf_conntrack_sip.c1334 unsigned int matchoff, matchlen, coff = 0; in process_register_response() local
1361 ret = ct_sip_parse_header_uri(ct, *dptr, &coff, *datalen, in process_register_response()
/linux/drivers/media/dvb-frontends/
H A Ddib8000.c2298 const u16 *coff; in dib8000_set_sb_channel() local
2333 coff = &coff_thres_1seg[0]; in dib8000_set_sb_channel()
2338 coff = &coff_thres_3seg[0]; in dib8000_set_sb_channel()
2349 dib8000_write_word(state, 181+i, coff[i]); in dib8000_set_sb_channel()
2350 dib8000_write_word(state, 184+i, coff[i]); in dib8000_set_sb_channel()
/linux/scripts/
H A Dcheckpatch.pl1679 my $coff = $off - 1;
1745 $coff = $off + length($1) - 1;
1759 if ($level == 0 && $coff < $soff) {
1760 $coff = $off;
1797 my $condition = substr($blk, $soff, $coff - $soff + 1);
/linux/drivers/power/supply/
H A Dmax17042_battery.c748 max17042_override_por(map, MAX17042_COFF, config->coff); in max17042_override_por_values()
/linux/fs/xfs/
H A Dxfs_trace.h5318 __field(xfs_fileoff_t, coff)
5335 __entry->coff = curr->br_startoff;
5350 __entry->coff, __entry->cstart, __entry->ccount,