· 7 years ago · Oct 24, 2018, 09:44 AM
1[megaxlr@Mag-Ik-Op] ~/Downloads/linux-4.19 $ grep -r "crap"
2include/scsi/scsi_host.h: /* legacy crap */
3include/linux/netfilter/nf_conntrack_pptp.h:/* crap needed for nf_conntrack_compat.h */
4include/linux/ipmi-fru.h: * These structures match the unaligned crap we have in FRU1011.pdf
5include/linux/timer.h: * workqueue locking issues. It's not meant for executing random crap
6include/linux/platform_data/keypad-omap.h: * in order to workaround certain crappy HW designs that produce ghost
7scripts/mod/sumversion.c:static int strip_rcs_crap(char *version)
8scripts/mod/sumversion.c: if (strip_rcs_crap(version))
9scripts/spelling.txt:cryptocraphic||cryptographic
10block/partitions/sgi.c: u8 _unused0[48]; /* Device parameter useless crapola.. */
11Documentation/trace/postprocess/trace-pagealloc-postprocess.pl:# This is a POC (proof of concept or piece of crap, take your pick) for reading the
12Documentation/filesystems/caching/netfs-api.txt: entire in-cache hierarchy for this netfs will be scrapped and begun
13Documentation/driver-api/firmware/built-in-fw.rst:* The firmware may need to be scraped out from some device specific location
14Documentation/sound/alsa-configuration.rst:Note: This driver is really crappy. It's a porting from the
15Documentation/process/management-style.rst: a while, and you'll feel cleansed. Just don't crap too close to home.
16fs/btrfs/file.c: /* Make sure we aren't being give some crap mode */
17fs/reiserfs/inode.c: /* crap, we are writing to a hole */
18fs/nilfs2/sufile.h:void nilfs_sufile_do_scrap(struct inode *, __u64, struct buffer_head *,
19fs/nilfs2/sufile.h: * nilfs_sufile_scrap - make a segment garbage
20fs/nilfs2/sufile.h:static inline int nilfs_sufile_scrap(struct inode *sufile, __u64 segnum)
21fs/nilfs2/sufile.h: return nilfs_sufile_update(sufile, segnum, 1, nilfs_sufile_do_scrap);
22fs/nilfs2/recovery.c: err = nilfs_sufile_scrap(sufile, ent->segnum);
23fs/nilfs2/sufile.c:void nilfs_sufile_do_scrap(struct inode *sufile, __u64 segnum,
24fs/locks.c: * Scrapped free list which is redundant now that we allocate locks
25fs/jffs2/TODO:2. get_sb()->build_fs()->scan() path... Why get_sb() removes scan()'s crap in
26fs/jffs2/super.c: assumes that they're not aligned -- so it emits crappy
27fs/jffs2/gc.c: all the iget() crap anyway */
28fs/ext4/page-io.c: * provides compatibility with dmesg scrapers that look for a specific
29fs/nfsd/nfscache.c: * scraping this file for info should test the labels to ensure they're
30fs/xfs/xfs_reflink.c: /* Scrape out the old CoW reservations */
31tools/testing/selftests/net/psock_tpacket.c: /* Lets create some broken crap, that still passes
32tools/testing/ktest/config-bisect.pl: # crappy Perl way to pass in hashes.
33tools/testing/ktest/config-bisect.pl: # crappy Perl way to pass in hashes.
34tools/testing/ktest/config-bisect.pl: # crappy Perl way to pass in hashes.
35drivers/watchdog/jz4740_wdt.c: * Copyright (C) 2010, Paul Cercueil <paul@crapouillou.net>
36drivers/watchdog/jz4740_wdt.c:MODULE_AUTHOR("Paul Cercueil <paul@crapouillou.net>");
37drivers/scsi/dc395x.c: /* KG: Can this prevent crap sense data ? */
38drivers/scsi/aha1542.c: * the strategy handler takes care of that crap.
39drivers/scsi/pcmcia/sym53c500_cs.c: * section dealing with manufacturer IDs can be scrapped. --rct
40drivers/usb/serial/ezusb_convert.pl: my($lenstring, $addrstring, $typestring, $reststring, $doscrap) =
41drivers/hwmon/abituguru.c: * anyways. If we read sensors/pwms not there we'll just read crap
42drivers/clk/ingenic/jz4770-cgu.c: * Copyright 2018, Paul Cercueil <paul@crapouillou.net>
43drivers/media/dvb-core/dvb_frontend.c: * return crap, if they don't check if the data is available
44drivers/media/dvb-core/dvb_frontend.c: * return crap, if they don't check if the data is available
45drivers/media/dvb-core/dvb_frontend.c: * return crap, if they don't check if the data is available
46drivers/media/usb/cx231xx/cx231xx-417.c: /* FIXME: Review this crap */
47drivers/media/v4l2-core/v4l2-ioctl.c: * (or just really crappy memories). Regardless, this is really annoying
48drivers/media/pci/solo6x10/solo6x10-core.c: /* Undocumented crap */
49drivers/media/i2c/ov7670.c: * Weird crap seems to exist in the upper part of
50drivers/rtc/rtc-jz4740.c: * Copyright (C) 2010, Paul Cercueil <paul@crapouillou.net>
51drivers/block/umem.c: * That's crap, since doing that while some partitions are opened
52drivers/irqchip/irq-gic-v4.c: * confines the crap to a single location. And map/unmap really is
53drivers/misc/cs5535-mfgpt.c: * it turns out to be unreliable in the face of crappy BIOSes, we
54drivers/staging/comedi/drivers/das08.c: /* clear crap */
55drivers/staging/comedi/drivers/ni_labpc_cs.c: * PCMCIA crap is adapted from dummy_cs.c 1.31 2001/08/24 12:13:13
56drivers/staging/comedi/drivers/ni_daq_dio24.c: * PCMCIA crap at end of file is adapted from dummy_cs.c 1.31
57drivers/macintosh/windfarm_pm81.c: /* One more crappy race: I don't think we have any guarantee here
58drivers/macintosh/windfarm_pm91.c: /* One more crappy race: I don't think we have any guarantee here
59drivers/pnp/pnpbios/bioscalls.c:__visible u32 pnp_bios_is_utter_crap = 0;
60drivers/pnp/pnpbios/bioscalls.c: if (pnp_bios_is_utter_crap)
61drivers/pnp/pnpbios/bioscalls.c: if (pnp_bios_is_utter_crap) {
62drivers/char/agp/amd64-agp.c: /* Northbridge seems to contain crap. Try the AGP bridge. */
63drivers/parport/parport_pc.c: * Piles of crap below pretend to be a parser for module and kernel
64drivers/iommu/arm-smmu-v3.c: /* CR2 (random crap) */
65drivers/ata/libata-acpi.c: /* we always use the 0 slot for crap hardware */
66drivers/ata/pata_cmd640.c: * Of putting crap on the disk
67drivers/edac/ghes_edac.c: pr_info("This system has a very crappy BIOS: It doesn't even list the DIMMS.\n");
68drivers/mtd/chips/cfi_util.c: of optimising away all the crap for 'bankwidth' larger than
69drivers/mtd/chips/cfi_util.c: of optimising away all the crap for 'bankwidth' larger than
70drivers/net/wireless/ath/ath5k/desc.c: * WEP crap
71drivers/net/wireless/ath/ath5k/desc.c: * WEP crap
72drivers/net/wan/z85230.c: * Check if we crapped out.
73drivers/net/wan/dscc4.c: * - misc crapectomy.
74drivers/net/wan/dscc4.c: * If the driver ends sending crap on the wire, it
75drivers/net/ethernet/qlogic/qed/qed_sriov.c: * support them. Or this may be because someone wrote a crappy
76drivers/net/ethernet/qlogic/qla3xxx.h: u16 version_and_numPorts; /* together to avoid endianness crap */
77drivers/net/ethernet/sfc/efx.c:/* RSS contexts. We're using linked lists and crappy O(n) algorithms, because
78drivers/net/ethernet/3com/3c509.c: * Using disable_irq stops us crapping on other
79drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c: * support them. Or this may be because someone wrote a crappy
80drivers/net/ethernet/cortina/gemini.c: /* Oh, crap */
81drivers/net/ethernet/marvell/sky2.c: * to handle crap frames.
82drivers/net/hamradio/6pack.c: default: /* gcc oh piece-o-crap ... */
83drivers/pci/pci-driver.c: * horrible the crap we have to deal with is when we are awake...
84drivers/video/fbdev/sstfb.c: and as reading fbinit 6 will return crap (see FBIINIT6_DEFAULT) we just
85drivers/video/fbdev/sis/init301.c: /* This is a piece of typical SiS crap: They code the OEM LCD
86drivers/tty/serial/sunsu.c: * splitting all the OBP probing crap from the UART probing.
87drivers/tty/serial/pmac_zilog.c: * shadows so we don't write crap there before baud rate is
88drivers/tty/serial/serial_core.c: * In time, we want to scrap the "opening nonpresent ports"
89drivers/uwb/driver.c: * 1. Locking and life cycle management is crappy still. All entry
90drivers/ide/ide-probe.c: * have the same drive viewed twice. This occurs with crap CF adapters
91drivers/pwm/pwm-ep93xx.c: * Copyright (c) 2009 Matthieu Crapet <mcrapet@gmail.com>
92drivers/pwm/pwm-ep93xx.c:MODULE_AUTHOR("Matthieu Crapet <mcrapet@gmail.com>");
93drivers/ipack/devices/scc2698.h: u8 junk[8]; /* other crap for block control */
94drivers/ipack/devices/scc2698.h: u8 junk[8]; /* other crap for block control */
95drivers/pinctrl/pinctrl-ingenic.c: * Copyright (c) 2017 Paul Cercueil <paul@crapouillou.net>
96drivers/gpio/gpio-ingenic.c: * Copyright (c) 2017 Paul Cercueil <paul@crapouillou.net>
97drivers/gpio/gpio-ingenic.c:MODULE_AUTHOR("Paul Cercueil <paul@crapouillou.net>");
98drivers/gpio/gpio-cs5535.c: * it turns out to be unreliable in the face of crappy BIOSes, we
99drivers/md/md.c: * information must be scrapped.
100drivers/s390/cio/qdio_main.c: /* Inform the caller that they need to scrap */
101drivers/gpu/drm/nouveau/nouveau_drm.c: /*XXX: this is crap, but the fence/channel stuff is a little
102drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c: * 0x21000-0x40000: padding and some unknown crap
103drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c: * crappy set of available commands. You upload it to a small [512 insns]
104drivers/gpu/drm/i915/i915_drv.h: * crappiness (can't read out DPLL_MD for pipes B & C).
105drivers/gpu/drm/i915/i915_timeline.c: * All known fences are completed so we can scrap
106drivers/gpu/drm/radeon/ni.c:static const u32 scrapper_golden_registers[] =
107drivers/gpu/drm/radeon/ni.c: scrapper_golden_registers,
108drivers/gpu/drm/radeon/ni.c: (const u32)ARRAY_SIZE(scrapper_golden_registers));
109net/llc/llc_input.c: * When the interface is in promisc. mode, drop all the crap that it
110net/netfilter/xt_hashlimit.c:/* hash table crap */
111net/netfilter/nf_conntrack_ftp.c: else { /* Some other crap */
112net/sched/sch_cbq.c: * BTW cbq-2.0 has a crap in this
113net/rds/ib_cm.c: /* Even if len is crap *now* I still want to check it. -ASG */
114net/appletalk/ddp.c: * Size check to see if ddp->deh_len was crap
115net/sunrpc/clnt.c: * Scraping a connected socket failed, so we don't have a useable
116net/ipv4/tcp_input.c: /* Old crap is replaced with new one. 8)
117net/ipv4/ip_input.c: * new frame it queues. Still crap because
118net/ipv4/ip_input.c: /* When the interface is in promisc. mode, drop all the crap
119net/ipv4/ah4.c: case 0x85: /* Some "Extended Security" crap. */
120mm/vmscan.c: * scrape out the remaining cache.
121sound/usb/mixer.c: /* totally crap, return an error */
122sound/aoa/soundbus/i2sbus/core.c: * useless crap (ugh ugh ugh). We work around that here by calling
123sound/pci/au88x0/au88x0_core.c: // FIXME: get rid of this crap.
124sound/pci/azt3328.c: * Config switch, to use ALSA's AC97 layer instead of old custom mixer crap.
125sound/pci/es1968.c: /* parallel in crap, see maestro reg 0xC [8-11] */
126sound/pci/hda/patch_ca0132.c: { .name = "ScrappyKid",
127arch/powerpc/mm/tlb_low_64e.S: * r15 = crap (free to use)
128arch/powerpc/mm/tlb_low_64e.S: * r10 = crap (free to use)
129arch/powerpc/mm/tlb_low_64e.S: clrrdi r11,r16,12 /* Clear low crap in EA */
130arch/powerpc/mm/tlb_low_64e.S: clrldi r15,r15,12 /* Clear crap at the top */
131arch/powerpc/mm/tlb_low_64e.S: * r15 = crap (free to use)
132arch/powerpc/mm/tlb_low_64e.S: * r10 = crap (free to use)
133arch/powerpc/mm/tlb_low_64e.S: clrldi r15,r15,PAGE_SHIFT /* Clear crap at the top */
134arch/powerpc/mm/tlb_low_64e.S: /* We got a crappy address, just fault with whatever DEAR and ESR
135arch/powerpc/mm/tlb_low_64e.S: /* We got a crappy address, just fault */
136arch/powerpc/mm/tlb_low_64e.S: * r14 = crap (free to use)
137arch/powerpc/mm/tlb_low_64e.S: * r10 = crap (free to use)
138arch/powerpc/mm/tlb_low_64e.S: clrrdi r11,r16,12 /* Clear low crap in EA */
139arch/powerpc/mm/tlb_low_64e.S: clrldi r15,r11,12 /* Clear crap at the top */
140arch/powerpc/mm/tlb_low_64e.S: * r14 = crap (free to use)
141arch/powerpc/mm/tlb_low_64e.S: * r11 = crap (free to use)
142arch/powerpc/mm/tlb_low_64e.S: * r10 = crap (free to use)
143arch/powerpc/mm/tlb_low_64e.S: /* We got a crappy address, just fault with whatever DEAR and ESR
144arch/powerpc/mm/tlb_low_64e.S: /* We got a crappy address, just fault */
145arch/powerpc/mm/tlb_low_64e.S: * r11 = crap (free to use)
146arch/powerpc/mm/tlb_low_64e.S: * r10 = crap (free to use)
147arch/powerpc/mm/tlb_low_64e.S: * r15 = crap (free to use)
148arch/powerpc/mm/tlb_low_64e.S: * r11 = crap (free to use)
149arch/powerpc/mm/tlb_low_64e.S: * r10 = crap (free to use)
150arch/powerpc/platforms/powermac/smp.c: * crap to avoid giving people ideas that they can do the
151arch/powerpc/platforms/powermac/smp.c: * ideally, all that crap will be done in prom.c and the CPU left
152arch/powerpc/platforms/cell/spider-pic.c: * crap and we don't know on which BE iic interrupt we are hooked on at
153arch/powerpc/kernel/cpu_setup_power.S:/* Entry: r3 = crap, r4 = ptr to cputable entry
154arch/hexagon/kernel/smp.c: * (which is prior to any of our smp_prepare_cpu crap), in order to set
155arch/sh/kernel/cpu/sh5/entry.S: * (LINK) In case of syscall only it can be scrapped.
156arch/ia64/include/asm/pal.h:/* Machine Check related crap */
157arch/openrisc/mm/tlb.c: /* Was seeing bugs with the mm struct passed to us. Scrapped most of
158arch/mips/pci/fixup-ip32.c: * right if there exists such a broken piece of crap.
159arch/mips/kernel/vmlinux.lds.S: /* ABI crap starts here */
160arch/arm/mach-pxa/stargate2.c:/* An upcoming kernel change will scrap SFRM usage so these
161arch/arm/mach-pxa/pm.h: * ugly, but let's keep the crap minimum here, instead of direct
162arch/arm/kernel/head.S: * We're trying to keep crap to a minimum; DO NOT add any machine specific
163arch/arm/kernel/head.S: * crap here - that's what the boot loader (or in extreme, well justified
164arch/m68k/include/asm/sun3xflop.h:/* We don't need no stinkin' I/O port allocation crap. */
165arch/m68k/mac/config.c: * have to disable interrupts for this. Our IRQ handlers will crap
166arch/m68k/kernel/signal.c: /* that'll make sure that expansion won't crap over data */
167arch/x86/mm/extable.c: extern u32 pnp_bios_is_utter_crap;
168arch/x86/mm/extable.c: pnp_bios_is_utter_crap = 1;
169arch/x86/kernel/cpu/mcheck/mce.c: * by default and leave crap in there. Don't log:
170arch/x86/platform/efi/efi_64.c: * to virtual mode and would otherwise crap on us.
171arch/sparc/include/asm/floppy_32.h:/* We don't need no stinkin' I/O port allocation crap. */
172arch/sparc/mm/srmmu.c: /* Clear any crap from the cache or else... */
173arch/sparc/mm/srmmu.c: /* Clear any crap from the cache or else... */
174arch/sparc/kernel/viohs.c: * to be aware of this crap.
175arch/um/drivers/daemon_kern.c: /* We will free this pointer. If it contains crap we're burned. */
176arch/um/kernel/initrd.c: * This is necessary because alloc_bootmem craps out if you
177arch/um/kernel/um_arch.c: * TASK_SIZE needs to be PGDIR_SIZE aligned or else exit_mmap craps
178kernel/futex.c: * handing potential crap to lookup_pi_state.
179kernel/printk/printk.c: * trailing crap...
180kernel/sched/clock.c: * TSC to be unstable, any computation will be computing crap.
181kernel/sched/fair.c: * per rq 'load' arrray crap; XXX kill this.
182kernel/events/internal.h: /* poll crap */