Home
last modified time | relevance | path

Searched refs:ix (Results 1 – 15 of 15) sorted by relevance

/linux-4.19.296/fs/qnx4/
Ddir.c61 int ix, ino; in qnx4_readdir() local
74 ix = (ctx->pos >> QNX4_DIR_ENTRY_SIZE_BITS) % QNX4_INODES_PER_BLOCK; in qnx4_readdir()
75 for (; ix < QNX4_INODES_PER_BLOCK; ix++, ctx->pos += QNX4_DIR_ENTRY_SIZE) { in qnx4_readdir()
78 offset = ix * QNX4_DIR_ENTRY_SIZE; in qnx4_readdir()
87 ino = blknum * QNX4_INODES_PER_BLOCK + ix - 1; in qnx4_readdir()
Dinode.c79 int ix; in qnx4_block_map() local
93 ix = 0; in qnx4_block_map()
95 if ( ix == 0 ) { in qnx4_block_map()
108 block = try_extent(&xblk->xblk_xtnts[ix], &offset); in qnx4_block_map()
113 if ( ++ix >= xblk->xblk_num_xtnts ) { in qnx4_block_map()
115 ix = 0; in qnx4_block_map()
/linux-4.19.296/fs/ext4/
Dext4_extents.h225 static inline ext4_fsblk_t ext4_idx_pblock(struct ext4_extent_idx *ix) in ext4_idx_pblock() argument
229 block = le32_to_cpu(ix->ei_leaf_lo); in ext4_idx_pblock()
230 block |= ((ext4_fsblk_t) le16_to_cpu(ix->ei_leaf_hi) << 31) << 1; in ext4_idx_pblock()
252 static inline void ext4_idx_store_pblock(struct ext4_extent_idx *ix, in ext4_idx_store_pblock() argument
255 ix->ei_leaf_lo = cpu_to_le32((unsigned long) (pb & 0xffffffff)); in ext4_idx_store_pblock()
256 ix->ei_leaf_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) & in ext4_idx_store_pblock()
Dmigrate.c377 struct ext4_extent_idx *ix) in free_ext_idx() argument
384 block = ext4_idx_pblock(ix); in free_ext_idx()
391 ix = EXT_FIRST_INDEX(eh); in free_ext_idx()
392 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_idx()
393 retval = free_ext_idx(handle, inode, ix); in free_ext_idx()
413 struct ext4_extent_idx *ix; in free_ext_block() local
419 ix = EXT_FIRST_INDEX(eh); in free_ext_block()
420 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_block()
421 retval = free_ext_idx(handle, inode, ix); in free_ext_block()
Dextents.c771 struct ext4_extent_idx *chix, *ix; in ext4_ext_binsearch_idx() local
774 chix = ix = EXT_FIRST_INDEX(eh); in ext4_ext_binsearch_idx()
775 for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ix++) { in ext4_ext_binsearch_idx()
777 le32_to_cpu(ix->ei_block) <= le32_to_cpu(ix[-1].ei_block)) { in ext4_ext_binsearch_idx()
780 ix, EXT_FIRST_INDEX(eh)); in ext4_ext_binsearch_idx()
782 le32_to_cpu(ix->ei_block), in ext4_ext_binsearch_idx()
783 le32_to_cpu(ix[-1].ei_block)); in ext4_ext_binsearch_idx()
785 BUG_ON(k && le32_to_cpu(ix->ei_block) in ext4_ext_binsearch_idx()
786 <= le32_to_cpu(ix[-1].ei_block)); in ext4_ext_binsearch_idx()
787 if (block < le32_to_cpu(ix->ei_block)) in ext4_ext_binsearch_idx()
[all …]
/linux-4.19.296/drivers/s390/char/
Dcon3215.c175 int len, count, ix, lines; in raw3215_mk_write_req() local
200 ix = req->start; in raw3215_mk_write_req()
201 while (lines < RAW3215_MAX_NEWLINE && ix != raw->head) { in raw3215_mk_write_req()
202 if (raw->buffer[ix] == 0x15) in raw3215_mk_write_req()
204 ix = (ix + 1) & (RAW3215_BUFFER_SIZE - 1); in raw3215_mk_write_req()
206 len = ((ix - 1 - req->start) & (RAW3215_BUFFER_SIZE - 1)) + 1; in raw3215_mk_write_req()
213 req->delayable = (ix == raw->head) && (len < RAW3215_MIN_WRITE); in raw3215_mk_write_req()
215 ix = req->start; in raw3215_mk_write_req()
222 (__u32) __pa(raw->buffer + ix); in raw3215_mk_write_req()
224 if (ix + count > RAW3215_BUFFER_SIZE) in raw3215_mk_write_req()
[all …]
Dtty3270.c1448 tty3270_getpar(struct tty3270 *tp, int ix) in tty3270_getpar() argument
1450 return (tp->esc_par[ix] > 0) ? tp->esc_par[ix] : 1; in tty3270_getpar()
/linux-4.19.296/include/linux/
Dnet_dim.h156 net_dim_get_rx_moderation(u8 cq_period_mode, int ix) in net_dim_get_rx_moderation() argument
158 struct net_dim_cq_moder cq_moder = rx_profile[cq_period_mode][ix]; in net_dim_get_rx_moderation()
174 net_dim_get_tx_moderation(u8 cq_period_mode, int ix) in net_dim_get_tx_moderation() argument
176 struct net_dim_cq_moder cq_moder = tx_profile[cq_period_mode][ix]; in net_dim_get_tx_moderation()
/linux-4.19.296/fs/hpfs/
Dhpfs.h210 __le16 ix; /* index */ member
236 __le16 ix; /* index */ member
357 u8 ix; /* code page index (of filename), see member
/linux-4.19.296/include/linux/mlx5/
Ddriver.h1024 u32 ix) in mlx5_frag_buf_get_wqe() argument
1028 ix += fbc->strides_offset; in mlx5_frag_buf_get_wqe()
1029 frag = ix >> fbc->log_frag_strides; in mlx5_frag_buf_get_wqe()
1032 ((fbc->frag_sz_m1 & ix) << fbc->log_stride); in mlx5_frag_buf_get_wqe()
1036 mlx5_frag_buf_get_idx_last_contig_stride(struct mlx5_frag_buf_ctrl *fbc, u32 ix) in mlx5_frag_buf_get_idx_last_contig_stride() argument
1038 u32 last_frag_stride_idx = (ix + fbc->strides_offset) | fbc->frag_sz_m1; in mlx5_frag_buf_get_idx_last_contig_stride()
/linux-4.19.296/drivers/char/pcmcia/
Dcm4000_cs.c323 int ix, done; in parse_atr() local
336 ix = 1; in parse_atr()
354 ix += ((ch & 0x10) >> 4) /* no of int.face chars */ in parse_atr()
360 ch = dev->atr[ix]; in parse_atr()
373 ix, dev->atr[1] & 15, any_t1); in parse_atr()
374 if (ix + 1 + (dev->atr[1] & 0x0f) + any_t1 != dev->atr_len) { in parse_atr()
/linux-4.19.296/include/trace/events/
Drxrpc.h1422 TP_PROTO(struct rxrpc_call *call, int ix),
1424 TP_ARGS(call, ix),
1428 __field(int, ix )
1434 __entry->ix = ix;
1440 __entry->ix,
Dext4.h1569 struct ext4_extent *ux, struct ext4_extent *ix),
1571 TP_ARGS(inode, map, ux, ix),
1594 __entry->i_lblk = le32_to_cpu(ix->ee_block);
1595 __entry->i_len = ext4_ext_get_actual_len(ix);
1596 __entry->i_pblk = ext4_ext_pblock(ix);
/linux-4.19.296/drivers/media/dvb-frontends/
Ddib7000p.c2150 u8 ix = 0; in dib7000p_get_adc_power() local
2164 ix = (u8) ((mant - 1000) / 100); /* index of the LUT */ in dib7000p_get_adc_power()
2165 dprintk(" ix = %d\n", ix); in dib7000p_get_adc_power()
2167 pow_i = (lut_1000ln_mant[ix] + 693 * (exp - 20) - 6908); in dib7000p_get_adc_power()
Ddib8000.c1927 u32 ix = 0, tmp_val = 0, exp = 0, mant = 0; in dib8000_get_adc_power() local
1936 ix = (u8)((mant-1000)/100); /* index of the LUT */ in dib8000_get_adc_power()
1937 val = (lut_1000ln_mant[ix] + 693*(exp-20) - 6908); in dib8000_get_adc_power()