Home
last modified time | relevance | path

Searched refs:set_len (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/
Dtesting_helpers.c14 int i, set_len = 0, new_len, num, start = 0, end = -1; in parse_num_list() local
48 if (end + 1 > set_len) { in parse_num_list()
55 for (i = set_len; i < start; i++) in parse_num_list()
58 set_len = new_len; in parse_num_list()
68 *num_set_len = set_len; in parse_num_list()
Dtesting_helpers.h7 int parse_num_list(const char *s, bool **set, int *set_len);
/linux-6.1.9/rust/alloc/vec/
Dmod.rs1272 pub unsafe fn set_len(&mut self, new_len: usize) { in set_len() method
1322 self.set_len(len - 1); in swap_remove()
1374 self.set_len(len + 1); in insert()
1428 self.set_len(len - 1); in remove()
1491 unsafe { self.set_len(0) }; in retain_mut()
1525 self.v.set_len(self.original_len - self.deleted_cnt); in retain_mut()
1670 self.vec.set_len(len - dropped); in dedup_by()
1710 gap.vec.set_len(gap.write); in dedup_by()
1816 other.set_len(0); in append()
1881 self.set_len(start); in drain()
[all …]
Ddrain.rs125 source_vec.set_len(start + self.0.tail_len); in drop()
142 vec.set_len(old_len + drop_len + self.tail_len); in drop()
Ddrain_filter.rs131 self.drain.vec.set_len(self.drain.old_len - self.drain.del); in drop()
/linux-6.1.9/rust/alloc/
Dslice.rs202 self.vec.set_len(self.num_init); in to_vec()
219 vec.set_len(s.len()); in to_vec()
235 v.set_len(s.len()); in to_vec()
588 buf.set_len(buf_len * 2); in repeat()
608 buf.set_len(capacity); in repeat()
/linux-6.1.9/fs/ocfs2/
Drefcounttree.c1988 unsigned int set_len = 0; in __ocfs2_increase_refcount() local
2003 set_len = le32_to_cpu(rec.r_clusters); in __ocfs2_increase_refcount()
2016 set_len <= len) { in __ocfs2_increase_refcount()
2018 (unsigned long long)cpos, set_len, in __ocfs2_increase_refcount()
2032 set_len); in __ocfs2_increase_refcount()
2042 set_len = min((u64)(cpos + len), in __ocfs2_increase_refcount()
2043 le64_to_cpu(rec.r_cpos) + set_len) - cpos; in __ocfs2_increase_refcount()
2045 rec.r_clusters = cpu_to_le32(set_len); in __ocfs2_increase_refcount()
2050 set_len, le32_to_cpu(rec.r_refcount)); in __ocfs2_increase_refcount()
2061 cpos += set_len; in __ocfs2_increase_refcount()
[all …]
/linux-6.1.9/drivers/dma/
Ddmaengine.c1566 if (!desc->metadata_ops || !desc->metadata_ops->set_len) in dmaengine_desc_set_metadata_len()
1569 return desc->metadata_ops->set_len(desc, payload_len); in dmaengine_desc_set_metadata_len()
/linux-6.1.9/include/linux/
Ddmaengine.h575 int (*set_len)(struct dma_async_tx_descriptor *desc, member
/linux-6.1.9/drivers/dma/ti/
Dk3-udma.c3391 .set_len = udma_set_metadata_len,