Benign freebsd Download

atiixp.c

Source contains low-bit mask syntaxSysctl handler function signature
SHA-2562b703bc3a53e709f9d153d976e9a7b733666ec2532c90d7f161ffcd1b15bbd66

Evidence

English function-word token "the" lines 1–12
⋯4 lines
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must repr …
imports <dev/pci/pcireg.h> lines 55–75
55:19… hackery.
56 */
57
58#ifdef HAVE_KERNEL_OPTION_HEADERS
59#include "opt_snd.h"
60#endif
61
62#include <dev/sound/pcm/sound.h>
63#include <dev/sound/pcm/ac97.h>
64
65#include <dev/pci/pcireg.h>
66#include <dev/pci/pcivar.h>
67#include <sys/sysctl.h>
68#include <sys/endian.h>
69
70#include <dev/sound/pci/atiixp.h>
71
72#define ATI_IXP_DMA_RETRY_MAX 100
73
74#define ATI_IXP_BUFSZ_MIN 4096
75#define ATI_IXP_BUFSZ_MAX 65 …
Source contains low-bit mask syntax lines 707–718
707:2… atiixp_poll_callback, sc);
708
709 atiixp_unlock(sc);
710
711 if (trigger & 1)
712 chn_intr(sc->pch.channel);
713 if (trigger & 2)
⋯5 lines
Sysctl handler function signature lines 956–971
⋯4 lines
960
961static int
962sysctl_atiixp_polling(SYSCTL_HANDLER_ARGS)
963{
964 struct atiixp_info *sc;
⋯7 lines
C declares a character or byte buffer lines 1004–1013
1004:42… info *)arg;
1005 uint32_t subdev;
1006 int i, timeout, found, polling;
1007 char status[SND_STATUSLEN];
1008
1009 atiixp_lock(sc);
⋯4 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.