Home
last modified time | relevance | path

Searched refs:next_off (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/fs/xfs/scrub/
Dreaddir.c101 unsigned int off, next_off, end; in xchk_dir_walk_block() local
110 for (off = geo->data_entry_offset; off < end; off = next_off) { in xchk_dir_walk_block()
119 next_off = off + be16_to_cpu(dup->length); in xchk_dir_walk_block()
124 next_off = off + xfs_dir2_data_entsize(mp, dep->namelen); in xchk_dir_walk_block()
125 if (next_off > end) in xchk_dir_walk_block()
/linux-6.6.21/fs/hfs/
Dbnode.c321 int i, rec_off, off, next_off; in hfs_bnode_find() local
374 for (i = 1; i <= node->num_recs; off = next_off, i++) { in hfs_bnode_find()
376 next_off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()
377 if (next_off <= off || in hfs_bnode_find()
378 next_off > tree->node_size || in hfs_bnode_find()
379 next_off & 1) in hfs_bnode_find()
381 entry_size = next_off - off; in hfs_bnode_find()
/linux-6.6.21/fs/hfsplus/
Dbnode.c471 int i, rec_off, off, next_off; in hfs_bnode_find() local
525 for (i = 1; i <= node->num_recs; off = next_off, i++) { in hfs_bnode_find()
527 next_off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()
528 if (next_off <= off || in hfs_bnode_find()
529 next_off > tree->node_size || in hfs_bnode_find()
530 next_off & 1) in hfs_bnode_find()
532 entry_size = next_off - off; in hfs_bnode_find()
/linux-6.6.21/include/uapi/linux/
Datm_zatm.h30 int offset,next_off; /* alignment optimizations: offset */ member
/linux-6.6.21/scripts/gdb/linux/
Ddmesg.py74 next_off = off + (prb_data_blk_lpos_type.get_type()['next'].bitpos // 8)
110 end = utils.read_ulong(desc, next_off) % text_data_sz
/linux-6.6.21/fs/smb/server/
Dsmb_common.c191 static char *next_dialect(char *dialect, int *next_off, int bcount) in next_dialect() argument
193 dialect = dialect + *next_off; in next_dialect()
194 *next_off = strnlen(dialect, bcount); in next_dialect()
195 if (dialect[*next_off] != '\0') in next_dialect()
Dsmb2pdu.c2674 int next_off = 0; in smb2_open() local
3363 next_off = conn->vals->create_lease_size; in smb2_open()
3383 *next_ptr = cpu_to_le32(next_off); in smb2_open()
3385 next_off = conn->vals->create_mxac_size; in smb2_open()
3401 *next_ptr = cpu_to_le32(next_off); in smb2_open()
3403 next_off = conn->vals->create_disk_id_size; in smb2_open()
3415 *next_ptr = cpu_to_le32(next_off); in smb2_open()
/linux-6.6.21/tools/lib/bpf/
Dbtf_dump.c861 int cur_off, int next_off, int next_align, in btf_dump_emit_bit_padding() argument
873 if (cur_off >= next_off) in btf_dump_emit_bit_padding()
899 if (new_off <= next_off) in btf_dump_emit_bit_padding()
903 if (new_off > cur_off && new_off <= next_off) { in btf_dump_emit_bit_padding()
914 (new_off == next_off && roundup(cur_off, next_align * 8) != new_off) || in btf_dump_emit_bit_padding()
915 (new_off != next_off && next_off - new_off <= new_off - cur_off)) in btf_dump_emit_bit_padding()
928 while (cur_off != next_off) { in btf_dump_emit_bit_padding()
929 bits = min(next_off - cur_off, pad_bits); in btf_dump_emit_bit_padding()
/linux-6.6.21/sound/soc/fsl/
Dfsl_sai.c650 sai->audio_config[tx].stride_fifos_dst = dl_cfg[dl_cfg_idx].next_off[tx]; in fsl_sai_hw_params()
653 sai->audio_config[tx].stride_fifos_src = dl_cfg[dl_cfg_idx].next_off[tx]; in fsl_sai_hw_params()
1258 cfg[0].next_off[0] = 0; in fsl_sai_read_dlcfg()
1263 cfg[0].next_off[1] = 0; in fsl_sai_read_dlcfg()
1296 cfg[i].next_off[0] = fsl_sai_calc_dl_off(rx); in fsl_sai_read_dlcfg()
1302 cfg[i].next_off[1] = fsl_sai_calc_dl_off(tx); in fsl_sai_read_dlcfg()
Dfsl_sai.h273 unsigned int next_off[2]; member
/linux-6.6.21/tools/testing/selftests/net/
Dgro.c108 int next_off; in setup_sock_filter() local
111 next_off = offsetof(struct iphdr, protocol); in setup_sock_filter()
113 next_off = offsetof(struct ipv6hdr, nexthdr); in setup_sock_filter()
114 ipproto_off = ETH_HLEN + next_off; in setup_sock_filter()
/linux-6.6.21/fs/ntfs3/
Dfsntfs.c1945 sbi->security.next_off = in ntfs_security_init()
2173 next = sbi->security.next_off & (SecurityDescriptorsBlockSize - 1); in ntfs_insert_security()
2179 sbi->security.next_off += SecurityDescriptorsBlockSize + left; in ntfs_insert_security()
2198 d_security->off = cpu_to_le64(sbi->security.next_off); in ntfs_insert_security()
2203 err = ntfs_sb_write_run(sbi, &ni->file.run, sbi->security.next_off, in ntfs_insert_security()
2209 mirr_off = sbi->security.next_off + SecurityDescriptorsBlockSize; in ntfs_insert_security()
2269 sbi->security.next_off += aligned_sec_size; in ntfs_insert_security()
Dntfs_fs.h292 u64 next_off; member
/linux-6.6.21/mm/
Dpercpu.c1074 int *next_off) in pcpu_is_populated() argument
1087 *next_off = end * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE; in pcpu_is_populated()
1114 int bit_off, bits, next_off; in pcpu_find_block_fit() local
1128 &next_off)) in pcpu_find_block_fit()
1131 bit_off = next_off; in pcpu_find_block_fit()
/linux-6.6.21/fs/jbd2/
Dtransaction.c2457 unsigned int next_off = curr_off + bh->b_size; in jbd2_journal_invalidate_folio() local
2460 if (next_off > stop) in jbd2_journal_invalidate_folio()
2472 curr_off = next_off; in jbd2_journal_invalidate_folio()
/linux-6.6.21/include/linux/
Dbpf.h470 u32 next_off = rec->fields[i].offset; in bpf_obj_memcpy() local
471 u32 sz = next_off - curr_off; in bpf_obj_memcpy()
500 u32 next_off = rec->fields[i].offset; in bpf_obj_memzero() local
501 u32 sz = next_off - curr_off; in bpf_obj_memzero()
/linux-6.6.21/fs/
Dbuffer.c1608 size_t next_off = curr_off + bh->b_size; in block_invalidate_folio() local
1614 if (next_off > stop) in block_invalidate_folio()
1622 curr_off = next_off; in block_invalidate_folio()
/linux-6.6.21/fs/reiserfs/
Dinode.c3151 unsigned int next_off = curr_off + bh->b_size; in reiserfs_invalidate_folio() local
3154 if (next_off > stop) in reiserfs_invalidate_folio()
3166 curr_off = next_off; in reiserfs_invalidate_folio()
/linux-6.6.21/drivers/block/
Drbd.c2288 u64 off, next_off; in rbd_obj_init_discard() local
2302 next_off = round_down(obj_req->ex.oe_off + obj_req->ex.oe_len, in rbd_obj_init_discard()
2304 if (off >= next_off) in rbd_obj_init_discard()
2309 off, next_off - off); in rbd_obj_init_discard()
2311 obj_req->ex.oe_len = next_off - off; in rbd_obj_init_discard()
/linux-6.6.21/kernel/bpf/
Dbtf.c3729 u32 next_off = 0, field_type_size; in btf_parse_fields() local
3757 if (info_arr[i].off < next_off) { in btf_parse_fields()
3761 next_off = info_arr[i].off + field_type_size; in btf_parse_fields()