Displaying 2 results from an estimated 2 matches for "nfilter".
Did you mean:
filter
2013 Apr 02
1
creating a loop if to create a column of 0 and 1.
...[[7]]<- GB2DCPOD[[8]]<- GB3ACPOD[[9]]<- GB3CCPOD[[10]]<- GB3DCPOD[[11]]<- GB4ACPOD[[12]]<- GB4CCPOD[[13]]<- GB4DCPOD[[14]]<- GB5ACPOD[[15]]<- GB5BCPOD[[16]]<- GB5CCPOD[[17]]<- GB5D
Each each file you can find a txt document that contains the columns: file, chuckend, Nfiltered, Nall, MinsOn and Presyabs. What I want to do is to create a loop for all the CPODs. If the row of the column Nfiltered is 0 then the row of the column Presyabs must be 0 if it is different than 0 then it must be 1.
I create this loop without success#Creating the loop (0-1 presence, absence)
fo...
2013 Oct 23
0
[PATCH] btrfs-progs: add filter for deleted but uncleanded subvolumes
...] = filter_by_parent,
+ [BTRFS_LIST_FILTER_DELETED] = filter_deleted,
};
struct btrfs_list_filter_set *btrfs_list_alloc_filter_set(void)
@@ -1222,6 +1228,11 @@ int btrfs_list_setup_filter(struct btrfs_list_filter_set **filter_set,
BUG_ON(filter >= BTRFS_LIST_FILTER_MAX);
BUG_ON(set->nfilters > set->total);
+ if (filter == BTRFS_LIST_FILTER_DELETED) {
+ set->only_deleted = 1;
+ return 0;
+ }
+
if (set->nfilters == set->total) {
size = set->total + BTRFS_LIST_NFILTERS_INCREASE;
size = sizeof(*set) + size * sizeof(struct btrfs_list_filter);
@@ -1254,6 +1265,...