Searched refs:filter (Results 1 – 12 of 12) sorted by relevance
458 let filter = |x: &SigInfo| !mask.contains(SigSet::from_bits_truncate(x.sig_no as u64)); in flush_by_mask() localVariable459 self.queue.q.retain(filter); in flush_by_mask()507 let filter = |x: &mut SigInfo| { in find_and_delete() localVariable522 let mut filter_result: Vec<SigInfo> = self.q.extract_if(filter).collect(); in find_and_delete()
111 .filter(|username| !username.is_empty()) in write_group_file()153 .filter(|username| !username.is_empty()) in write_gshadow_file()203 .filter(|&line| { in update_passwd_file()253 .filter(|&line| !line.contains(&info.username)) in update_shadow_file()378 .filter(|username| !username.is_empty()) in update_group_file()448 .filter(|username| !username.is_empty()) in update_gshadow_file()
416 let all_plics = fdt.all_nodes().filter(|x| { in riscv_sifive_plic_init()551 let nodes = fdt_ref.all_nodes().filter(|x| { in associate_irq_with_plic_domain()
618 let self_dep = self.0.chars().filter(|c| *c == '/').count(); in cmp()619 let othe_dep = other.0.chars().filter(|c| *c == '/').count(); in cmp()
707 let mut cwd_vec: Vec<_> = cwd.split('/').filter(|&x| !x.is_empty()).collect(); in chdir()708 let path_split = path.split('/').filter(|&x| !x.is_empty()); in chdir()
604 .filter(|seg| seg.p_type == elf::abi::PT_LOAD); in load()628 .filter(|seg| seg.p_type == elf::abi::PT_LOAD); in load()
389 let r = fdt.all_nodes().filter(move |x| { in find_node_by_compatible()
128 .filter(|&x| x.load(Ordering::Relaxed) != u64::MAX) in is_full()
916 .filter(move |v| v.lock_irqsave().region.intersect(&request).is_some()) in conflicts()1027 .filter(|(offset, size)| offset.data() + **size == region.start().data()) in unreserve_hole()
69 .filter(|x| futex_q.pcb.ptr_eq(&x.pcb) && x.key == futex_q.key) in contains()
885 .filter(|&x| !x.is_empty()) in check_groupname()
33 BSD systems, in order to filter packets in the kernel with tools such as101 eBPF has been initially designed to filter packets (now it has some other hooks