/src/sys/arch/i386/pci/ |
opti82c700.c | 131 opti82c700_addr(int link, int *addrofs, int *ofs) 146 *ofs = (regofs & 3) << 3; 155 *ofs = regofs << 2; 199 int val, addrofs, ofs; local in function:opti82c700_get_intr 201 if (opti82c700_addr(clink, &addrofs, &ofs)) 205 val = (reg >> ofs) & FIRESTAR_CFG_PIRQ_MASK; 217 int addrofs, ofs; local in function:opti82c700_set_intr 223 if (opti82c700_addr(clink, &addrofs, &ofs)) 227 reg &= ~(FIRESTAR_CFG_PIRQ_MASK << ofs); 228 reg |= (irq << ofs); 238 int i, val, addrofs, ofs; local in function:opti82c700_get_trigger 284 int i, val, addrofs, ofs; local in function:opti82c700_set_trigger [all...] |
opti82c700.c | 131 opti82c700_addr(int link, int *addrofs, int *ofs) 146 *ofs = (regofs & 3) << 3; 155 *ofs = regofs << 2; 199 int val, addrofs, ofs; local in function:opti82c700_get_intr 201 if (opti82c700_addr(clink, &addrofs, &ofs)) 205 val = (reg >> ofs) & FIRESTAR_CFG_PIRQ_MASK; 217 int addrofs, ofs; local in function:opti82c700_set_intr 223 if (opti82c700_addr(clink, &addrofs, &ofs)) 227 reg &= ~(FIRESTAR_CFG_PIRQ_MASK << ofs); 228 reg |= (irq << ofs); 238 int i, val, addrofs, ofs; local in function:opti82c700_get_trigger 284 int i, val, addrofs, ofs; local in function:opti82c700_set_trigger [all...] |
/src/sys/external/bsd/drm/dist/shared-core/ |
sis_ds.h | 87 int ofs, size; member in struct:mem_block_t 105 return b->ofs; 117 memHeap_t *mmInit(int ofs, int size);
|
sis_ds.h | 87 int ofs, size; member in struct:mem_block_t 105 return b->ofs; 117 memHeap_t *mmInit(int ofs, int size);
|
mach64_state.c | 446 u32 head, tail, ofs; local in function:mach64_do_get_frames_queued 469 ofs = dev_priv->frame_ofs[i]; 470 DRM_DEBUG("frame_ofs[%d] ofs: %d\n", i, ofs); 471 if (ofs == ~0 || 472 (head < tail && (ofs < head || ofs >= tail)) || 473 (head > tail && (ofs < head && ofs >= tail))) {
|
/src/sys/ufs/chfs/ |
chfs_write.c | 285 off_t ofs; local in function:chfs_write_flash_dnode 300 ofs = bp->b_blkno * PAGE_SIZE; 301 len = MIN((vp->v_size - ofs), bp->b_resid); 311 dnode->offset = htole64(ofs); 334 fd->ofs = ofs; 502 dbg("FD->NREF vno: %llu, lnr: %u, ofs: %u\n", 510 dbg("FD->NREF vno: %llu, lnr: %u, ofs: %u\n",
|
chfs_write.c | 285 off_t ofs; local in function:chfs_write_flash_dnode 300 ofs = bp->b_blkno * PAGE_SIZE; 301 len = MIN((vp->v_size - ofs), bp->b_resid); 311 dnode->offset = htole64(ofs); 334 fd->ofs = ofs; 502 dbg("FD->NREF vno: %llu, lnr: %u, ofs: %u\n", 510 dbg("FD->NREF vno: %llu, lnr: %u, ofs: %u\n",
|
chfs_scan.c | 103 struct chfs_eraseblock *cheb, void *buf, off_t ofs) 142 nref->nref_offset = ofs; 279 struct chfs_eraseblock *cheb, void *buf, off_t ofs) 333 fd->nref->nref_offset = ofs; 352 struct chfs_eraseblock *cheb, void *buf, off_t ofs) 377 nref->nref_offset = CHFS_GET_OFS(ofs) | CHFS_UNCHECKED_NODE_MASK; 433 off_t ofs = 0; local in function:chfs_scan_eraseblock 444 while((ofs + CHFS_NODE_HDR_SIZE) < chmp->chm_ebh->eb_size) { 447 lnr, buf, ofs, CHFS_NODE_HDR_SIZE, &retlen); 469 ofs += CHFS_NODE_HDR_SIZE [all...] |
chfs_scan.c | 103 struct chfs_eraseblock *cheb, void *buf, off_t ofs) 142 nref->nref_offset = ofs; 279 struct chfs_eraseblock *cheb, void *buf, off_t ofs) 333 fd->nref->nref_offset = ofs; 352 struct chfs_eraseblock *cheb, void *buf, off_t ofs) 377 nref->nref_offset = CHFS_GET_OFS(ofs) | CHFS_UNCHECKED_NODE_MASK; 433 off_t ofs = 0; local in function:chfs_scan_eraseblock 444 while((ofs + CHFS_NODE_HDR_SIZE) < chmp->chm_ebh->eb_size) { 447 lnr, buf, ofs, CHFS_NODE_HDR_SIZE, &retlen); 469 ofs += CHFS_NODE_HDR_SIZE [all...] |
chfs_gc.c | 708 uint32_t ofs, crc; local in function:chfs_gcollect_pristine 717 ofs = CHFS_GET_OFS(nref->nref_offset); 720 ret = chfs_read_leb(chmp, nref->nref_lnr, data, ofs, totlen, &retlen); 803 ofs = chmp->chm_ebh->eb_size - chmp->chm_nextblock->free_size; 804 newnref->nref_offset = ofs; 810 ret = chfs_write_wbuf(chmp, &vec, 1, ofs, &retlen); 882 end = frag->ofs + frag->size; 884 start = frag->ofs; 1154 newfn->ofs = fn->ofs; [all...] |
/src/sys/fs/v7fs/ |
v7fs_inode.c | 223 v7fs_daddr_t blk, ofs; local in function:v7fs_inode_load 227 if (v7fs_inode_inquire_disk_location(fs, n, &blk, &ofs) != 0) 239 v7fs_inode_setup_memory_image(fs, p, di + ofs); 254 v7fs_daddr_t ofs; local in function:v7fs_inode_writeback 258 if (v7fs_inode_inquire_disk_location(fs, ino, &blk, &ofs) != 0) 269 di[ofs] = disk; /* structure copy; */ 284 v7fs_daddr_t ofs, blk; local in function:v7fs_inode_inquire_disk_location 288 ofs = (n - 1/*inode start from 1*/) * 290 blk = ofs >> V7FS_BSHIFT; 293 *offset = (ofs - blk * V7FS_BSIZE) [all...] |
v7fs_inode.c | 223 v7fs_daddr_t blk, ofs; local in function:v7fs_inode_load 227 if (v7fs_inode_inquire_disk_location(fs, n, &blk, &ofs) != 0) 239 v7fs_inode_setup_memory_image(fs, p, di + ofs); 254 v7fs_daddr_t ofs; local in function:v7fs_inode_writeback 258 if (v7fs_inode_inquire_disk_location(fs, ino, &blk, &ofs) != 0) 269 di[ofs] = disk; /* structure copy; */ 284 v7fs_daddr_t ofs, blk; local in function:v7fs_inode_inquire_disk_location 288 ofs = (n - 1/*inode start from 1*/) * 290 blk = ofs >> V7FS_BSHIFT; 293 *offset = (ofs - blk * V7FS_BSIZE) [all...] |
/src/sys/arch/hpc/stand/hpcboot/ |
file_http.cpp | 222 HttpFile::_read_from_cache(void *buf, size_t bytes, off_t ofs) 226 if (ofs >= _buffer_size) 229 transfer = ofs + bytes > _buffer_size ? _buffer_size - ofs : bytes; 231 memcpy(buf, &_buffer[ofs], transfer); 248 off_t ofs; local in function:HttpFile::read 251 ofs = offset; 253 ofs = _cur_pos; 258 return _read_from_cache(buf, bytes, ofs); 286 return _read_from_cache(buf, bytes, ofs); [all...] |
file_http.cpp | 222 HttpFile::_read_from_cache(void *buf, size_t bytes, off_t ofs) 226 if (ofs >= _buffer_size) 229 transfer = ofs + bytes > _buffer_size ? _buffer_size - ofs : bytes; 231 memcpy(buf, &_buffer[ofs], transfer); 248 off_t ofs; local in function:HttpFile::read 251 ofs = offset; 253 ofs = _cur_pos; 258 return _read_from_cache(buf, bytes, ofs); 286 return _read_from_cache(buf, bytes, ofs); [all...] |
memory.cpp | 323 vaddr_t ofs; local in function:MemoryManager_VirtualCopy::searchBank 350 ofs = checkMagicRegion(vaddr_t(ref), BLOCK_SIZE, _page_size); 359 if (ofs != ~0) { 360 pfound = paddr + ofs;
|
memory.cpp | 323 vaddr_t ofs; local in function:MemoryManager_VirtualCopy::searchBank 350 ofs = checkMagicRegion(vaddr_t(ref), BLOCK_SIZE, _page_size); 359 if (ofs != ~0) { 360 pfound = paddr + ofs;
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dsc/ |
rc_calc.h | 49 qp_set ofs; member in struct:rc_params
|
rc_calc.h | 49 qp_set ofs; member in struct:rc_params
|
/src/sbin/gpt/ |
migrate.c | 176 off_t ofs, rawofs; local in function:migrate_disklabel 199 ofs = le32toh(dl->d_partitions[i].p_offset) * 201 if (ofs < rawofs) 221 ofs = (le32toh(dl->d_partitions[i].p_offset) * 223 ofs = (ofs > 0) ? ofs - rawofs : 0; 224 ent->ent_lba_start = htole64((uint64_t)ofs); 225 ent->ent_lba_end = htole64((uint64_t)(ofs +
|
migrate.c | 176 off_t ofs, rawofs; local in function:migrate_disklabel 199 ofs = le32toh(dl->d_partitions[i].p_offset) * 201 if (ofs < rawofs) 221 ofs = (le32toh(dl->d_partitions[i].p_offset) * 223 ofs = (ofs > 0) ? ofs - rawofs : 0; 224 ent->ent_lba_start = htole64((uint64_t)ofs); 225 ent->ent_lba_end = htole64((uint64_t)(ofs +
|
/src/lib/libc/citrus/ |
citrus_db_factory.c | 267 size_t i, ofs, keyofs, dataofs, nextofs; local in function:_citrus_db_factory_serialize 270 ofs = 0; 273 dump_header(r, magic, &ofs, 0); 313 dump_header(r, magic, &ofs, df->df_num_entries); 324 put32(r, &ofs, de->de_hashvalue); 325 put32(r, &ofs, nextofs); 326 put32(r, &ofs, keyofs); 327 put32(r, &ofs, _region_size(&de->de_key)); 328 put32(r, &ofs, dataofs); 329 put32(r, &ofs, _region_size(&de->de_data)) [all...] |
citrus_db_factory.c | 267 size_t i, ofs, keyofs, dataofs, nextofs; local in function:_citrus_db_factory_serialize 270 ofs = 0; 273 dump_header(r, magic, &ofs, 0); 313 dump_header(r, magic, &ofs, df->df_num_entries); 324 put32(r, &ofs, de->de_hashvalue); 325 put32(r, &ofs, nextofs); 326 put32(r, &ofs, keyofs); 327 put32(r, &ofs, _region_size(&de->de_key)); 328 put32(r, &ofs, dataofs); 329 put32(r, &ofs, _region_size(&de->de_data)) [all...] |
/src/sys/arch/mac68k/nubus/ |
nubus.c | 334 u_long ofs, hdr; local in function:nubus_probe_slot 354 ofs = NBMEMSIZE; 358 ofs--; 360 if (!mac68k_bus_space_probe(bst, bsh, ofs, 1)) { 364 if (bus_space_read_1(bst, bsh, ofs) == 539 u_long ofs) 541 return bus_space_read_1(bst, bsh, ofs); 548 u_long ofs) 552 s = (nubus_read_1(bst, bsh, lanes, ofs) << 8); 553 ofs = nubus_adjust_ptr(lanes, ofs, 1) [all...] |
nubus.c | 334 u_long ofs, hdr; local in function:nubus_probe_slot 354 ofs = NBMEMSIZE; 358 ofs--; 360 if (!mac68k_bus_space_probe(bst, bsh, ofs, 1)) { 364 if (bus_space_read_1(bst, bsh, ofs) == 539 u_long ofs) 541 return bus_space_read_1(bst, bsh, ofs); 548 u_long ofs) 552 s = (nubus_read_1(bst, bsh, lanes, ofs) << 8); 553 ofs = nubus_adjust_ptr(lanes, ofs, 1) [all...] |
/src/usr.bin/csplit/ |
csplit.c | 370 long ofs; local in function:do_rexp 385 ofs = strtol(pofs, &ep, 10); 389 ofs = 0; 416 if (ofs <= 0) { 422 toomuch(ofp, -ofs + 1); 431 while (--ofs > 0 && (p = get_line()) != NULL)
|