search for: add_list

Displaying 4 results from an estimated 4 matches for "add_list".

2004 Oct 25
9
Maildir unreliability
Looks like maildir can't be used very realiably without quite a lot of locking. Writing and scanning the directory would have to be locked, but reading wouldn't (as long as the file hasn't been renamed which would require scanning to find it). So much for "no locks needed".. The problem is that opendir()/readdir() may temporarily not return some files if there has been
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...add_to_list(struct resource_list_x *head, tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); if (!tmp) { - pr_warning("add_to_list: kmalloc() failed!\n"); + pr_warn("%s: kmalloc() failed!\n", __func__); return; } @@ -1050,8 +1052,7 @@ pci_assign_unassigned_resources(void) add_list.next = NULL; pci_try_num = max_depth + 1; - printk(KERN_DEBUG "PCI: max bus depth: %d pci_try_num: %d\n", - max_depth, pci_try_num); + pr_debug("max bus depth: %d pci_try_num: %d\n", max_depth, pci_try_num); again: /* Depth first, calculate sizes and alignments of all...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...add_to_list(struct resource_list_x *head, tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); if (!tmp) { - pr_warning("add_to_list: kmalloc() failed!\n"); + pr_warn("%s: kmalloc() failed!\n", __func__); return; } @@ -1050,8 +1052,7 @@ pci_assign_unassigned_resources(void) add_list.next = NULL; pci_try_num = max_depth + 1; - printk(KERN_DEBUG "PCI: max bus depth: %d pci_try_num: %d\n", - max_depth, pci_try_num); + pr_debug("max bus depth: %d pci_try_num: %d\n", max_depth, pci_try_num); again: /* Depth first, calculate sizes and alignments of all...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...add_to_list(struct resource_list_x *head, tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); if (!tmp) { - pr_warning("add_to_list: kmalloc() failed!\n"); + pr_warn("%s: kmalloc() failed!\n", __func__); return; } @@ -1050,8 +1052,7 @@ pci_assign_unassigned_resources(void) add_list.next = NULL; pci_try_num = max_depth + 1; - printk(KERN_DEBUG "PCI: max bus depth: %d pci_try_num: %d\n", - max_depth, pci_try_num); + pr_debug("max bus depth: %d pci_try_num: %d\n", max_depth, pci_try_num); again: /* Depth first, calculate sizes and alignments of all...