/linux-master/net/netfilter/ |
H A D | nf_tables_api.c | 731 static void __nft_reg_track_clobber(struct nft_regs_track *track, u8 dreg) argument 735 for (i = track->regs[dreg].num_reg; i > 0; i--) 736 __nft_reg_track_cancel(track, dreg - i); 739 static void __nft_reg_track_update(struct nft_regs_track *track, argument 743 track->regs[dreg].selector = expr; 744 track->regs[dreg].bitwise = NULL; 745 track->regs[dreg].num_reg = num_reg; 748 void nft_reg_track_update(struct nft_regs_track *track, argument 754 __nft_reg_track_clobber(track, dreg); 758 __nft_reg_track_update(track, exp 762 nft_reg_track_cancel(struct nft_regs_track *track, u8 dreg, u8 len) argument 775 __nft_reg_track_cancel(struct nft_regs_track *track, u8 dreg) argument 9553 nft_expr_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument 9562 struct nft_regs_track track = {}; local [all...] |
H A D | nft_lookup.c | 235 static bool nft_lookup_reduce(struct nft_regs_track *track, argument 241 nft_reg_track_cancel(track, priv->dreg, priv->set->dlen);
|
H A D | nft_osf.c | 131 static bool nft_osf_reduce(struct nft_regs_track *track, argument 137 if (!nft_reg_track_cmp(track, expr, priv->dreg)) { 138 nft_reg_track_update(track, expr, priv->dreg, NFT_OSF_MAXGENRELEN); 142 osf = nft_expr_priv(track->regs[priv->dreg].selector); 145 nft_reg_track_update(track, expr, priv->dreg, NFT_OSF_MAXGENRELEN); 149 if (!track->regs[priv->dreg].bitwise)
|
H A D | nft_ct.c | 679 static bool nft_ct_get_reduce(struct nft_regs_track *track, argument 685 if (!nft_reg_track_cmp(track, expr, priv->dreg)) { 686 nft_reg_track_update(track, expr, priv->dreg, priv->len); 690 ct = nft_expr_priv(track->regs[priv->dreg].selector); 692 nft_reg_track_update(track, expr, priv->dreg, priv->len); 696 if (!track->regs[priv->dreg].bitwise) 699 return nft_expr_reduce_bitwise(track, expr); 739 static bool nft_ct_set_reduce(struct nft_regs_track *track, argument 745 if (!track->regs[i].selector) 748 if (track [all...] |
/linux-master/include/net/netfilter/ |
H A D | nf_tables.h | 423 bool nft_expr_reduce_bitwise(struct nft_regs_track *track, 959 bool (*reduce)(struct nft_regs_track *track, 1834 void nft_reg_track_update(struct nft_regs_track *track, 1836 void nft_reg_track_cancel(struct nft_regs_track *track, u8 dreg, u8 len); 1837 void __nft_reg_track_cancel(struct nft_regs_track *track, u8 dreg); 1839 static inline bool nft_reg_track_cmp(struct nft_regs_track *track, argument 1842 return track->regs[dreg].selector && 1843 track->regs[dreg].selector->ops == expr->ops && 1844 track->regs[dreg].num_reg == 0;
|
/linux-master/drivers/ata/ |
H A D | libata-scsi.c | 1440 u32 sect, head, cyl, track; local 1446 track = (u32)block / dev->sectors; 1447 cyl = track / dev->heads; 1448 head = track % dev->heads;
|
H A D | libata-core.c | 793 u32 sect, head, cyl, track; local 803 track = (u32)block / dev->sectors; 804 cyl = track / dev->heads; 805 head = track % dev->heads; 4584 /* Number of sectors per track 1-255. Number of heads 1-16 */
|
/linux-master/drivers/block/ |
H A D | floppy.c | 34 * 28.02.92 - made track-buffering routines, based on the routines written 432 | Sectors per track 590 static unsigned char fsector_t; /* sector in track */ 848 (mode || drive_state[drive].track != NEED_1_RECAL)) 849 drive_state[drive].track = NEED_2_RECAL; 1257 output_byte(fdc, 0); /* pre-compensation from track 0 upwards */ 1387 pr_cont(": track %d, head %d, sector %d, size %d", 1465 drive_state[current_drive].track = NEED_2_RECAL; 1483 * selected, and the head is sitting on the right track). 1549 drive_state[current_drive].track 1598 int track; local 2141 setup_format_params(int track) argument 2149 unsigned char track, head, sect, size; member in struct:fparm 3616 short track; member in struct:compat_floppy_drive_struct 3641 unsigned char track[4]; member in struct:compat_floppy_fdc_state [all...] |
H A D | swim.c | 32 unsigned char track; member in struct:sector_header 186 int track; member in struct:floppy_state 426 static inline int swim_track(struct floppy_state *fs, int track) argument 431 ret = swim_seek(base, track - fs->track); 434 fs->track = track; 437 fs->track = 0; 458 int side, int track, 467 swim_track(fs, track); 457 swim_read_sector(struct floppy_state *fs, int side, int track, int sector, unsigned char *buffer) argument 500 int side, track, sector; local [all...] |
H A D | pktcdvd.c | 1565 static int pkt_get_track_info(struct pktcdvd_device *pd, __u16 track, __u8 type, track_information *ti) argument 1573 put_unaligned_be16(track, &cgc.cmd[4]); 1608 /* if this track is blank, try the previous. */ 1718 * 1 -- we can write to this track, 0 -- we can't 1727 /* The track is always writable on DVD+RW/DVD-RAM */ 1773 * for disc type 0xff we should probably reserve a new track. 1777 dev_notice(ddev, "unknown disc - no track?\n"); 1792 dev_err(ddev, "can't write to last track (reserved)\n"); 1806 int ret, track; local 1828 track [all...] |
H A D | ataflop.c | 28 * - Initialize track register when testing presence of floppy 51 * - increase gap size at start of track for HD/ED disks 94 #define FDCSELREG_TRA (0x82) /* track register */ 128 #define FDCCMDADD_U (0x10) /* update track register */ 163 int track; /* to be formatted */ member in struct:atari_format_descr 171 unsigned spt; /* sectors per track */ 174 unsigned stretch; /* track doubling ? */ 295 int track; /* current head position or -1 if member in struct:atari_floppy_struct 341 * operations. Second, a track buffer is used to cache a whole track 985 unsigned int track; local 1150 unsigned int track; local 1269 unsigned int track; local [all...] |
H A D | amiflop.c | 10 * - added support for 40 Track 5.25" drives, 80-track hopefully behaves 29 * - usage ioctl(d, RAW_TRACK, ptr); the raw track buffer (MFM-encoded data 93 #define DSKTRACK0 (0x1<<4) /* head at track zero when low */ 108 #define DSKSTEP (0x1) /* pulse low to step head 1 track */ 154 #define FD_RECALIBRATE 0x07 /* move to track 0 */ 155 #define FD_SEEK 0x0F /* seek track */ 160 #define FD_FORMAT 0x4D /* format one track */ 166 #define FLOPPY_MAX_SECTORS 22 /* Max. Number of sectors per track */ 170 int sects; /* sectors per track */ 171 int (*read_fkt)(int); /* read whole track */ 193 int track; /* current track (-1 == unknown) */ member in struct:amiga_floppy_struct 566 fd_seek(int drive, int track) argument 827 unsigned char track; member in struct:header 983 unsigned char track, /* 0-80 */ member in struct:dos_header 1423 get_track(int drive, int track) argument 1462 unsigned int cnt, block, track, sector; local [all...] |
/linux-master/drivers/s390/block/ |
H A D | dasd_eckd.c | 39 * raw track access always map to 64k in memory 40 * so it maps to 16 blocks of 4k per track 207 * calculate failing track from sense data depending if 211 sector_t *track) 226 "ESE error no valid track data\n"); 241 *track = cyl * private->rdc_data.trk_per_cyl + head; 417 * track based I/O it's the number of tracks 2161 "support raw-track access\n"); 2242 /* Locate record for the first 4 records on track 0. */ 2258 /* Locate record for the first record on track 210 dasd_eckd_track_from_irb(struct irb *irb, struct dasd_device *device, sector_t *track) argument [all...] |
H A D | dasd_int.h | 543 sector_t track; member in struct:dasd_format_entry
|
/linux-master/drivers/vfio/pci/mlx5/ |
H A D | main.c | 364 bool track) 400 if (track) 411 bool track) 425 if (track) { 463 ret = mlx5vf_add_stop_copy_header(migf, track); 628 mlx5vf_pci_save_device_data(struct mlx5vf_pci_core_device *mvdev, bool track) argument 671 ret = mlx5vf_prep_stop_copy(mvdev, migf, length, full_size, track); 675 if (track) { 688 ret = mlx5vf_cmd_save_vhca_state(mvdev, migf, buf, false, track); 363 mlx5vf_add_stop_copy_header(struct mlx5_vf_migration_file *migf, bool track) argument 408 mlx5vf_prep_stop_copy(struct mlx5vf_pci_core_device *mvdev, struct mlx5_vf_migration_file *migf, size_t state_size, u64 full_size, bool track) argument
|
H A D | cmd.h | 212 bool track);
|
H A D | cmd.c | 682 bool track) 700 migf->state == MLX5_MIGF_STATE_PRE_COPY_ERROR) && !track && !inc) 717 MLX5_SET(save_vhca_state_in, in, set_track, track); 721 async_data->stop_copy_chunk = (!track && !pre_copy_cleanup); 679 mlx5vf_cmd_save_vhca_state(struct mlx5vf_pci_core_device *mvdev, struct mlx5_vf_migration_file *migf, struct mlx5_vhca_data_buffer *buf, bool inc, bool track) argument
|
/linux-master/tools/perf/util/ |
H A D | evsel.c | 930 struct record_opts *opts, bool track) 1055 evsel->core.attr.mmap_data = track; 1133 int track = evsel->tracking; local 1193 attr->mmap_data = track; 1255 attr->task = track; 1256 attr->mmap = track; 1257 attr->mmap2 = track && !perf_missing_features.mmap2; 1258 attr->comm = track; 1259 attr->build_id = track && opts->build_id; 1266 attr->ksymbol = track 929 evsel__apply_config_terms(struct evsel *evsel, struct record_opts *opts, bool track) argument [all...] |
/linux-master/mm/kasan/ |
H A D | report.c | 264 static void print_track(struct kasan_track *track, const char *prefix) argument 267 u64 ts_nsec = track->timestamp; 274 prefix, track->pid, track->cpu, 277 pr_err("%s by task %u:\n", prefix, track->pid); 279 if (track->stack) 280 stack_depot_print(track->stack);
|
H A D | common.c | 51 void kasan_set_track(struct kasan_track *track, depot_stack_handle_t stack) argument 57 track->cpu = cpu; 58 track->timestamp = ts_nsec >> 9; 60 track->pid = current->pid; 61 track->stack = stack; 64 void kasan_save_track(struct kasan_track *track, gfp_t flags) argument 69 kasan_set_track(track, stack);
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon.h | 1041 void *track; member in struct:radeon_cs_parser 1161 * It keeps track of various data needed to take powermanagement decision. 1577 /* track UVD streams */
|
H A D | r100.c | 1315 struct r100_cs_track *track; local 1321 track = (struct r100_cs_track *)p->track; 1329 track->num_arrays = c; 1341 track->arrays[i + 0].esize = idx_value >> 8; 1342 track->arrays[i + 0].robj = reloc->robj; 1343 track->arrays[i + 0].esize &= 0x7F; 1352 track->arrays[i + 1].robj = reloc->robj; 1353 track->arrays[i + 1].esize = idx_value >> 24; 1354 track 1564 struct r100_cs_track *track; local 1922 struct r100_cs_track *track; local 2042 struct r100_cs_track *track; local 2132 r100_cs_track_cube(struct radeon_device *rdev, struct r100_cs_track *track, unsigned idx) argument 2163 r100_cs_track_texture_check(struct radeon_device *rdev, struct r100_cs_track *track) argument 2245 r100_cs_track_check(struct radeon_device *rdev, struct r100_cs_track *track) argument 2382 r100_cs_track_clear(struct radeon_device *rdev, struct r100_cs_track *track) argument [all...] |
H A D | evergreen_cs.c | 46 /* value we track */ 117 static void evergreen_cs_track_init(struct evergreen_cs_track *track) argument 122 track->cb_color_fmask_bo[i] = NULL; 123 track->cb_color_cmask_bo[i] = NULL; 124 track->cb_color_cmask_slice[i] = 0; 125 track->cb_color_fmask_slice[i] = 0; 129 track->cb_color_bo[i] = NULL; 130 track->cb_color_bo_offset[i] = 0xFFFFFFFF; 131 track->cb_color_info[i] = 0; 132 track 204 struct evergreen_cs_track *track = p->track; local 226 struct evergreen_cs_track *track = p->track; local 257 struct evergreen_cs_track *track = p->track; local 395 struct evergreen_cs_track *track = p->track; local 498 struct evergreen_cs_track *track = p->track; local 562 struct evergreen_cs_track *track = p->track; local 659 struct evergreen_cs_track *track = p->track; local 933 struct evergreen_cs_track *track = p->track; local 1095 struct evergreen_cs_track *track = (struct evergreen_cs_track *)p->track; local 1757 struct evergreen_cs_track *track = p->track; local 1775 struct evergreen_cs_track *track; local 2674 struct evergreen_cs_track *track; local [all...] |
/linux-master/mm/ |
H A D | slub.c | 157 * We track full slabs for debugging purposes though because otherwise we 322 struct track { struct 868 static struct track *get_track(struct kmem_cache *s, void *object, 871 struct track *p; 901 struct track *p = get_track(s, object, alloc); 922 struct track *p; 928 memset(p, 0, 2*sizeof(struct track)); 931 static void print_track(const char *s, struct track *t, unsigned long pr_time) 994 p += sizeof(struct track) * 2; 1007 p += sizeof(struct track) * 5867 add_location(struct loc_track *t, struct kmem_cache *s, const struct track *track, unsigned int orig_size) argument [all...] |
/linux-master/drivers/cdrom/ |
H A D | gdrom.c | 297 static int get_entry_lba(int track) argument 299 return (cpu_to_be32(track & 0xffffff00) - GD_SESSION_OFFSET); 302 static int get_entry_q_ctrl(int track) argument 304 return (track & 0x000000f0) >> 4; 307 static int get_entry_track(int track) argument 309 return (track & 0x0000ff00) >> 8; 315 int fentry, lentry, track, data, err; local 333 /* Find the first data track */ 334 track = get_entry_track(gd.toc->last); 336 data = gd.toc->entry[track [all...] |