/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | r200.c | 150 struct r100_cs_track *track; in r200_packet0_check() local 160 track = (struct r100_cs_track *)p->track; in r200_packet0_check() 188 track->zb.robj = reloc->robj; in r200_packet0_check() 189 track->zb.offset = idx_value; in r200_packet0_check() 190 track->zb_dirty = true; in r200_packet0_check() 201 track->cb[0].robj = reloc->robj; in r200_packet0_check() 202 track->cb[0].offset = idx_value; in r200_packet0_check() 203 track->cb_dirty = true; in r200_packet0_check() 231 track->textures[i].robj = reloc->robj; in r200_packet0_check() 232 track->tex_dirty = true; in r200_packet0_check() [all …]
|
H A D | r600_cs.c | 299 static void r600_cs_track_init(struct r600_cs_track *track) in r600_cs_track_init() argument 304 track->sq_config = DX9_CONSTS; in r600_cs_track_init() 306 track->cb_color_base_last[i] = 0; in r600_cs_track_init() 307 track->cb_color_size[i] = 0; in r600_cs_track_init() 308 track->cb_color_size_idx[i] = 0; in r600_cs_track_init() 309 track->cb_color_info[i] = 0; in r600_cs_track_init() 310 track->cb_color_view[i] = 0xFFFFFFFF; in r600_cs_track_init() 311 track->cb_color_bo[i] = NULL; in r600_cs_track_init() 312 track->cb_color_bo_offset[i] = 0xFFFFFFFF; in r600_cs_track_init() 313 track->cb_color_bo_mc[i] = 0xFFFFFFFF; in r600_cs_track_init() [all …]
|
H A D | r300.c | 630 struct r100_cs_track *track; in r300_packet0_check() local 638 track = (struct r100_cs_track *)p->track; in r300_packet0_check() 670 track->cb[i].robj = reloc->robj; in r300_packet0_check() 671 track->cb[i].offset = idx_value; in r300_packet0_check() 672 track->cb_dirty = true; in r300_packet0_check() 683 track->zb.robj = reloc->robj; in r300_packet0_check() 684 track->zb.offset = idx_value; in r300_packet0_check() 685 track->zb_dirty = true; in r300_packet0_check() 728 track->textures[i].robj = reloc->robj; in r300_packet0_check() 729 track->tex_dirty = true; in r300_packet0_check() [all …]
|
H A D | evergreen_cs.c | 117 static void evergreen_cs_track_init(struct evergreen_cs_track *track) in evergreen_cs_track_init() argument 122 track->cb_color_fmask_bo[i] = NULL; in evergreen_cs_track_init() 123 track->cb_color_cmask_bo[i] = NULL; in evergreen_cs_track_init() 124 track->cb_color_cmask_slice[i] = 0; in evergreen_cs_track_init() 125 track->cb_color_fmask_slice[i] = 0; in evergreen_cs_track_init() 129 track->cb_color_bo[i] = NULL; in evergreen_cs_track_init() 130 track->cb_color_bo_offset[i] = 0xFFFFFFFF; in evergreen_cs_track_init() 131 track->cb_color_info[i] = 0; in evergreen_cs_track_init() 132 track->cb_color_view[i] = 0xFFFFFFFF; in evergreen_cs_track_init() 133 track->cb_color_pitch[i] = 0; in evergreen_cs_track_init() [all …]
|
H A D | r100.c | 1335 struct r100_cs_track *track; in r100_packet3_load_vbpntr() local 1341 track = (struct r100_cs_track *)p->track; in r100_packet3_load_vbpntr() 1349 track->num_arrays = c; in r100_packet3_load_vbpntr() 1361 track->arrays[i + 0].esize = idx_value >> 8; in r100_packet3_load_vbpntr() 1362 track->arrays[i + 0].robj = reloc->robj; in r100_packet3_load_vbpntr() 1363 track->arrays[i + 0].esize &= 0x7F; in r100_packet3_load_vbpntr() 1372 track->arrays[i + 1].robj = reloc->robj; in r100_packet3_load_vbpntr() 1373 track->arrays[i + 1].esize = idx_value >> 24; in r100_packet3_load_vbpntr() 1374 track->arrays[i + 1].esize &= 0x7F; in r100_packet3_load_vbpntr() 1386 track->arrays[i + 0].robj = reloc->robj; in r100_packet3_load_vbpntr() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | page_track.c | 53 struct intel_vgpu_page_track *track; in intel_vgpu_register_page_track() local 56 track = intel_vgpu_find_page_track(vgpu, gfn); in intel_vgpu_register_page_track() 57 if (track) in intel_vgpu_register_page_track() 60 track = kzalloc(sizeof(*track), GFP_KERNEL); in intel_vgpu_register_page_track() 61 if (!track) in intel_vgpu_register_page_track() 64 track->handler = handler; in intel_vgpu_register_page_track() 65 track->priv_data = priv; in intel_vgpu_register_page_track() 67 ret = radix_tree_insert(&vgpu->page_track_tree, gfn, track); in intel_vgpu_register_page_track() 69 kfree(track); in intel_vgpu_register_page_track() 85 struct intel_vgpu_page_track *track; in intel_vgpu_unregister_page_track() local [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nft_bitwise.c | 284 static bool nft_bitwise_reduce(struct nft_regs_track *track, in nft_bitwise_reduce() argument 293 if (!track->regs[priv->sreg].selector) in nft_bitwise_reduce() 296 bitwise = nft_expr_priv(track->regs[priv->dreg].selector); in nft_bitwise_reduce() 297 if (track->regs[priv->sreg].selector == track->regs[priv->dreg].selector && in nft_bitwise_reduce() 298 track->regs[priv->sreg].num_reg == 0 && in nft_bitwise_reduce() 299 track->regs[priv->dreg].bitwise && in nft_bitwise_reduce() 300 track->regs[priv->dreg].bitwise->ops == expr->ops && in nft_bitwise_reduce() 308 track->cur = expr; in nft_bitwise_reduce() 312 if (track->regs[priv->sreg].bitwise || in nft_bitwise_reduce() 313 track->regs[priv->sreg].num_reg != 0) { in nft_bitwise_reduce() [all …]
|
H A D | nft_fib.c | 166 bool nft_fib_reduce(struct nft_regs_track *track, in nft_fib_reduce() argument 189 if (!nft_reg_track_cmp(track, expr, priv->dreg)) { in nft_fib_reduce() 190 nft_reg_track_update(track, expr, priv->dreg, len); in nft_fib_reduce() 194 fib = nft_expr_priv(track->regs[priv->dreg].selector); in nft_fib_reduce() 197 nft_reg_track_update(track, expr, priv->dreg, len); in nft_fib_reduce() 201 if (!track->regs[priv->dreg].bitwise) in nft_fib_reduce()
|
H A D | nft_osf.c | 136 static bool nft_osf_reduce(struct nft_regs_track *track, in nft_osf_reduce() argument 142 if (!nft_reg_track_cmp(track, expr, priv->dreg)) { in nft_osf_reduce() 143 nft_reg_track_update(track, expr, priv->dreg, NFT_OSF_MAXGENRELEN); in nft_osf_reduce() 147 osf = nft_expr_priv(track->regs[priv->dreg].selector); in nft_osf_reduce() 150 nft_reg_track_update(track, expr, priv->dreg, NFT_OSF_MAXGENRELEN); in nft_osf_reduce() 154 if (!track->regs[priv->dreg].bitwise) in nft_osf_reduce()
|
H A D | nft_hash.c | 168 static bool nft_jhash_reduce(struct nft_regs_track *track, in nft_jhash_reduce() argument 173 nft_reg_track_cancel(track, priv->dreg, sizeof(u32)); in nft_jhash_reduce() 198 static bool nft_symhash_reduce(struct nft_regs_track *track, in nft_symhash_reduce() argument 204 if (!nft_reg_track_cmp(track, expr, priv->dreg)) { in nft_symhash_reduce() 205 nft_reg_track_update(track, expr, priv->dreg, sizeof(u32)); in nft_symhash_reduce() 209 symhash = nft_expr_priv(track->regs[priv->dreg].selector); in nft_symhash_reduce() 212 nft_reg_track_update(track, expr, priv->dreg, sizeof(u32)); in nft_symhash_reduce() 216 if (!track->regs[priv->dreg].bitwise) in nft_symhash_reduce()
|
H A D | nft_socket.c | 252 static bool nft_socket_reduce(struct nft_regs_track *track, in nft_socket_reduce() argument 258 if (!nft_reg_track_cmp(track, expr, priv->dreg)) { in nft_socket_reduce() 259 nft_reg_track_update(track, expr, priv->dreg, priv->len); in nft_socket_reduce() 263 socket = nft_expr_priv(track->regs[priv->dreg].selector); in nft_socket_reduce() 267 nft_reg_track_update(track, expr, priv->dreg, priv->len); in nft_socket_reduce() 271 if (!track->regs[priv->dreg].bitwise) in nft_socket_reduce() 274 return nft_expr_reduce_bitwise(track, expr); in nft_socket_reduce()
|
H A D | nft_xfrm.c | 262 static bool nft_xfrm_reduce(struct nft_regs_track *track, in nft_xfrm_reduce() argument 268 if (!nft_reg_track_cmp(track, expr, priv->dreg)) { in nft_xfrm_reduce() 269 nft_reg_track_update(track, expr, priv->dreg, priv->len); in nft_xfrm_reduce() 273 xfrm = nft_expr_priv(track->regs[priv->dreg].selector); in nft_xfrm_reduce() 278 nft_reg_track_update(track, expr, priv->dreg, priv->len); in nft_xfrm_reduce() 282 if (!track->regs[priv->dreg].bitwise) in nft_xfrm_reduce() 285 return nft_expr_reduce_bitwise(track, expr); in nft_xfrm_reduce()
|
/openbmc/linux/mm/kfence/ |
H A D | report.c | 108 const struct kfence_track *track = show_alloc ? &meta->alloc_track : &meta->free_track; in kfence_print_stack() local 109 u64 ts_sec = track->ts_nsec; in kfence_print_stack() 114 show_alloc ? "allocated" : "freed", track->pid, in kfence_print_stack() 115 track->cpu, (unsigned long)ts_sec, rem_nsec / 1000); in kfence_print_stack() 117 if (track->num_stack_entries) { in kfence_print_stack() 119 int i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL); in kfence_print_stack() 122 for (; i < track->num_stack_entries; i++) in kfence_print_stack() 123 seq_con_printf(seq, " %pS\n", (void *)track->stack_entries[i]); in kfence_print_stack() 282 static void kfence_to_kp_stack(const struct kfence_track *track, void **kp_stack) in kfence_to_kp_stack() argument 286 i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL); in kfence_to_kp_stack() [all …]
|
/openbmc/linux/drivers/block/ |
H A D | amiflop.c | 193 int track; /* current track (-1 == unknown) */ member 406 if (unit[drive].track % 2 != 0) in fd_select() 553 unit[drive].track = -1; in fd_calibrate() 558 unit[drive].track = 0; in fd_calibrate() 566 static int fd_seek(int drive, int track) in fd_seek() argument 572 printk("seeking drive %d to track %d\n",drive,track); in fd_seek() 576 if (unit[drive].track == track) { in fd_seek() 584 if (unit[drive].track < 0 && !fd_calibrate(drive)) { in fd_seek() 590 cnt = unit[drive].track/2 - track/2; in fd_seek() 593 if (track % 2 != 0) in fd_seek() [all …]
|
H A D | ataflop.c | 163 int track; /* to be formatted */ member 295 int track; /* current head position or -1 if member 367 #define IS_BUFFERED(drive,side,track) \ argument 368 (BufferDrive == (drive) && BufferSide == (side) && BufferTrack == (track)) 538 FDC_WRITE( FDCREG_TRACK, UD.track ); in fd_select_drive() 719 SUD.track = -1; in fd_error() 774 if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) { in do_format() 793 *p++ = desc->track; in do_format() 810 ReqTrack = desc->track; in do_format() 866 if (UD.track == -1) in do_fd_action() [all …]
|
H A D | swim.c | 32 unsigned char track; member 186 int track; member 426 static inline int swim_track(struct floppy_state *fs, int track) in swim_track() argument 431 ret = swim_seek(base, track - fs->track); in swim_track() 434 fs->track = track; in swim_track() 437 fs->track = 0; in swim_track() 458 int side, int track, in swim_read_sector() argument 467 swim_track(fs, track); in swim_read_sector() 487 if ((header.side != side) || (header.track != track) || in swim_read_sector() 500 int side, track, sector; in floppy_read_sectors() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/heaptrack/heaptrack/ |
H A D | 0001-track-Check-for-unw_set_caching_policy-before-using.patch | 4 Subject: [PATCH] track: Check for unw_set_caching_policy before using 12 src/track/trace_libunwind.cpp | 3 +++ 15 diff --git a/src/track/trace_libunwind.cpp b/src/track/trace_libunwind.cpp 17 --- a/src/track/trace_libunwind.cpp 18 +++ b/src/track/trace_libunwind.cpp
|
H A D | 0001-libheaptrack-Replace-__pid_t-with-pid_t.patch | 11 src/track/libheaptrack.cpp | 2 +- 14 diff --git a/src/track/libheaptrack.cpp b/src/track/libheaptrack.cpp 16 --- a/src/track/libheaptrack.cpp 17 +++ b/src/track/libheaptrack.cpp
|
H A D | 0002-heaptrack_inject-Include-dlfcn.h-for-dlopen-dlclose.patch | 11 src/track/heaptrack_inject.cpp | 6 ++++-- 14 diff --git a/src/track/heaptrack_inject.cpp b/src/track/heaptrack_inject.cpp 16 --- a/src/track/heaptrack_inject.cpp 17 +++ b/src/track/heaptrack_inject.cpp
|
H A D | 0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch | 12 src/track/heaptrack_preload.cpp | 26 ++++++++++++++++---------- 15 diff --git a/src/track/heaptrack_preload.cpp b/src/track/heaptrack_preload.cpp 17 --- a/src/track/heaptrack_preload.cpp 18 +++ b/src/track/heaptrack_preload.cpp
|
/openbmc/linux/drivers/of/unittest-data/ |
H A D | overlay.dtso | 25 track@30 { 29 track@40 { 48 ride_200_left: track@10 { 52 ride_200_right: track@20 {
|
/openbmc/linux/include/uapi/linux/ |
H A D | fd.h | 18 track, /* nr of tracks */ member 74 unsigned int device,head,track; member 217 short track; /* current track */ member 279 unsigned char track[4]; member 382 int track; member
|
/openbmc/linux/drivers/cdrom/ |
H A D | gdrom.c | 297 static int get_entry_lba(int track) in get_entry_lba() argument 299 return (cpu_to_be32(track & 0xffffff00) - GD_SESSION_OFFSET); in get_entry_lba() 302 static int get_entry_q_ctrl(int track) in get_entry_q_ctrl() argument 304 return (track & 0x000000f0) >> 4; in get_entry_q_ctrl() 307 static int get_entry_track(int track) in get_entry_track() argument 309 return (track & 0x0000ff00) >> 8; in get_entry_track() 315 int fentry, lentry, track, data, err; in gdrom_get_last_session() local 334 track = get_entry_track(gd.toc->last); in gdrom_get_last_session() 336 data = gd.toc->entry[track - 1]; in gdrom_get_last_session() 339 track--; in gdrom_get_last_session() [all …]
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | slab.py | 117 def add_location(loc_track, cache, track, orig_size): argument 119 age = jiffies - track['when'] 122 pid = int(track['pid']) 123 cpuid = int(track['cpu']) 124 addr = track['addr'] 126 handle = track['handle'] 131 if track['when']: 173 track = gdb.Value(p).cast(track_type.pointer()) 178 add_location(loc_track, cache, track, size)
|
/openbmc/qemu/hw/block/ |
H A D | fdc.c | 199 static int fd_sector_calc(uint8_t head, uint8_t track, uint8_t sect, in fd_sector_calc() argument 202 return (((track * num_sides) + head) * last_sect) + sect - 1; in fd_sector_calc() 208 return fd_sector_calc(drv->head, drv->track, drv->sect, drv->last_sect, in fd_sector() 226 static int fd_seek(FDrive *drv, uint8_t head, uint8_t track, uint8_t sect, in fd_seek() argument 232 if (track > drv->max_track || in fd_seek() 235 head, track, sect, 1, in fd_seek() 242 head, track, sect, 1, in fd_seek() 247 sector = fd_sector_calc(head, track, sect, drv->last_sect, NUM_SIDES(drv)); in fd_seek() 254 head, track, sect, 1, drv->max_track, in fd_seek() 260 if (drv->track != track) { in fd_seek() [all …]
|