/kernel/linux/linux-5.10/net/netfilter/ipset/ |
H A D | ip_set_hash_netnet.c | 128 #define HOST_MASK 32 macro 134 e->cidr[0] = HOST_MASK; in hash_netnet4_init() 135 e->cidr[1] = HOST_MASK; in hash_netnet4_init() 148 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt() 149 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt() 151 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netnet4_kadt() 195 if (!e.cidr[0] || e.cidr[0] > HOST_MASK) in hash_netnet4_uadt() 201 if (!e.cidr[1] || e.cidr[1] > HOST_MASK) in hash_netnet4_uadt() 363 #undef HOST_MASK macro 366 #define HOST_MASK global() macro [all...] |
H A D | ip_set_hash_netportnet.c | 139 #define HOST_MASK 32 macro 145 e->cidr[0] = HOST_MASK; in hash_netportnet4_init() 146 e->cidr[1] = HOST_MASK; in hash_netportnet4_init() 159 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt() 160 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt() 162 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netportnet4_kadt() 223 if (e.cidr[0] > HOST_MASK) in hash_netportnet4_uadt() 229 if (e.cidr[1] > HOST_MASK) in hash_netportnet4_uadt() 430 #undef HOST_MASK macro 433 #define HOST_MASK global() macro [all...] |
H A D | ip_set_hash_netiface.c | 135 #define HOST_MASK 32 macro 163 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt() 169 e.cidr = HOST_MASK; in hash_netiface4_kadt() 202 struct hash_netiface4_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface4_uadt() 225 if (e.cidr > HOST_MASK) in hash_netiface4_uadt() 368 #undef HOST_MASK macro 371 #define HOST_MASK 128 macro 384 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt() 390 e.cidr = HOST_MASK; in hash_netiface6_kadt() 420 struct hash_netiface6_elem e = { .cidr = HOST_MASK, in hash_netiface6_uadt() [all...] |
H A D | ip_set_hash_net.c | 108 #define HOST_MASK 32 macro 119 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt() 126 e.cidr = HOST_MASK; in hash_net4_kadt() 140 struct hash_net4_elem e = { .cidr = HOST_MASK }; in hash_net4_uadt() 162 if (!e.cidr || e.cidr > HOST_MASK) in hash_net4_uadt() 278 #undef HOST_MASK macro 281 #define HOST_MASK 128 macro 293 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt() 300 e.cidr = HOST_MASK; in hash_net6_kadt() 313 struct hash_net6_elem e = { .cidr = HOST_MASK }; in hash_net6_uadt() [all...] |
H A D | ip_set_hash_netport.c | 124 #define HOST_MASK 32 macro 135 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport4_kadt() 140 e.cidr = HOST_MASK - 1; in hash_netport4_kadt() 158 struct hash_netport4_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport4_uadt() 184 if (!cidr || cidr > HOST_MASK) in hash_netport4_uadt() 340 #undef HOST_MASK macro 343 #define HOST_MASK 128 macro 355 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt() 360 e.cidr = HOST_MASK - 1; in hash_netport6_kadt() 378 struct hash_netport6_elem e = { .cidr = HOST_MASK in hash_netport6_uadt() [all...] |
H A D | ip_set_hash_ipportnet.c | 129 #define HOST_MASK 32 macro 140 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet4_kadt() 145 e.cidr = HOST_MASK - 1; in hash_ipportnet4_kadt() 164 struct hash_ipportnet4_elem e = { .cidr = HOST_MASK - 1 }; in hash_ipportnet4_uadt() 195 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt() 243 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt() 382 #undef HOST_MASK macro 385 #define HOST_MASK 128 macro 397 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet6_kadt() 402 e.cidr = HOST_MASK in hash_ipportnet6_kadt() [all...] |
H A D | ip_set_hash_ipmark.c | 75 #define HOST_MASK 32 macro 145 if (!cidr || cidr > HOST_MASK) in hash_ipmark4_uadt() 206 #undef HOST_MASK macro 209 #define HOST_MASK 128 macro 251 if (cidr != HOST_MASK) in hash_ipmark6_uadt()
|
H A D | ip_set_hash_ip.c | 73 #define HOST_MASK 32 macro 142 if (!cidr || cidr > HOST_MASK) in hash_ip4_uadt() 210 #undef HOST_MASK macro 213 #define HOST_MASK 128 macro 256 if (cidr != HOST_MASK) in hash_ip6_uadt()
|
H A D | ip_set_hash_ipportip.c | 85 #define HOST_MASK 32 macro 170 if (!cidr || cidr > HOST_MASK) in hash_ipportip4_uadt() 251 #undef HOST_MASK macro 254 #define HOST_MASK 128 macro 300 if (cidr != HOST_MASK) in hash_ipportip6_uadt()
|
H A D | ip_set_hash_ipport.c | 83 #define HOST_MASK 32 macro 163 if (!cidr || cidr > HOST_MASK) in hash_ipport4_uadt() 241 #undef HOST_MASK macro 244 #define HOST_MASK 128 macro 289 if (cidr != HOST_MASK) in hash_ipport6_uadt()
|
H A D | ip_set_hash_ipmac.c | 79 #define HOST_MASK 32 macro 186 #undef HOST_MASK macro 191 #define HOST_MASK 128 macro
|
H A D | ip_set_bitmap_ip.c | 36 #define HOST_MASK 32 macro 174 if (!cidr || cidr > HOST_MASK) in bitmap_ip_uadt() 280 if (cidr >= HOST_MASK) in bitmap_ip_create() 290 if (netmask > HOST_MASK) in bitmap_ip_create()
|
/kernel/linux/linux-6.6/net/netfilter/ipset/ |
H A D | ip_set_hash_netnet.c | 132 #define HOST_MASK 32 macro 138 e->cidr[0] = HOST_MASK; in hash_netnet4_init() 139 e->cidr[1] = HOST_MASK; in hash_netnet4_init() 152 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt() 153 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt() 155 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netnet4_kadt() 199 if (!e.cidr[0] || e.cidr[0] > HOST_MASK) in hash_netnet4_uadt() 205 if (!e.cidr[1] || e.cidr[1] > HOST_MASK) in hash_netnet4_uadt() 367 #undef HOST_MASK macro 370 #define HOST_MASK global() macro [all...] |
H A D | ip_set_hash_netportnet.c | 140 #define HOST_MASK 32 macro 146 e->cidr[0] = HOST_MASK; in hash_netportnet4_init() 147 e->cidr[1] = HOST_MASK; in hash_netportnet4_init() 160 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt() 161 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt() 163 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netportnet4_kadt() 224 if (e.cidr[0] > HOST_MASK) in hash_netportnet4_uadt() 230 if (e.cidr[1] > HOST_MASK) in hash_netportnet4_uadt() 431 #undef HOST_MASK macro 434 #define HOST_MASK global() macro [all...] |
H A D | ip_set_hash_netiface.c | 136 #define HOST_MASK 32 macro 164 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt() 170 e.cidr = HOST_MASK; in hash_netiface4_kadt() 203 struct hash_netiface4_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface4_uadt() 226 if (e.cidr > HOST_MASK) in hash_netiface4_uadt() 369 #undef HOST_MASK macro 372 #define HOST_MASK 128 macro 385 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt() 391 e.cidr = HOST_MASK; in hash_netiface6_kadt() 421 struct hash_netiface6_elem e = { .cidr = HOST_MASK, in hash_netiface6_uadt() [all...] |
H A D | ip_set_hash_netport.c | 125 #define HOST_MASK 32 macro 136 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport4_kadt() 141 e.cidr = HOST_MASK - 1; in hash_netport4_kadt() 159 struct hash_netport4_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport4_uadt() 185 if (!cidr || cidr > HOST_MASK) in hash_netport4_uadt() 341 #undef HOST_MASK macro 344 #define HOST_MASK 128 macro 356 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt() 361 e.cidr = HOST_MASK - 1; in hash_netport6_kadt() 379 struct hash_netport6_elem e = { .cidr = HOST_MASK in hash_netport6_uadt() [all...] |
H A D | ip_set_hash_net.c | 109 #define HOST_MASK 32 macro 120 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt() 127 e.cidr = HOST_MASK; in hash_net4_kadt() 141 struct hash_net4_elem e = { .cidr = HOST_MASK }; in hash_net4_uadt() 163 if (!e.cidr || e.cidr > HOST_MASK) in hash_net4_uadt() 279 #undef HOST_MASK macro 282 #define HOST_MASK 128 macro 294 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt() 301 e.cidr = HOST_MASK; in hash_net6_kadt() 314 struct hash_net6_elem e = { .cidr = HOST_MASK }; in hash_net6_uadt() [all...] |
H A D | ip_set_hash_ipportnet.c | 130 #define HOST_MASK 32 macro 141 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet4_kadt() 146 e.cidr = HOST_MASK - 1; in hash_ipportnet4_kadt() 165 struct hash_ipportnet4_elem e = { .cidr = HOST_MASK - 1 }; in hash_ipportnet4_uadt() 196 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt() 244 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt() 383 #undef HOST_MASK macro 386 #define HOST_MASK 128 macro 398 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet6_kadt() 403 e.cidr = HOST_MASK in hash_ipportnet6_kadt() [all...] |
H A D | ip_set_hash_ipmark.c | 76 #define HOST_MASK 32 macro 146 if (!cidr || cidr > HOST_MASK) in hash_ipmark4_uadt() 207 #undef HOST_MASK macro 210 #define HOST_MASK 128 macro 252 if (cidr != HOST_MASK) in hash_ipmark6_uadt()
|
H A D | ip_set_hash_ip.c | 76 #define HOST_MASK 32 macro 145 if (!cidr || cidr > HOST_MASK) in hash_ip4_uadt() 207 #undef HOST_MASK macro 210 #define HOST_MASK 128 macro 253 if (cidr != HOST_MASK) in hash_ip6_uadt()
|
H A D | ip_set_hash_ipport.c | 87 #define HOST_MASK 32 macro 175 if (!cidr || cidr > HOST_MASK) in hash_ipport4_uadt() 253 #undef HOST_MASK macro 256 #define HOST_MASK 128 macro 306 if (cidr != HOST_MASK) in hash_ipport6_uadt()
|
H A D | ip_set_hash_ipportip.c | 86 #define HOST_MASK 32 macro 171 if (!cidr || cidr > HOST_MASK) in hash_ipportip4_uadt() 252 #undef HOST_MASK macro 255 #define HOST_MASK 128 macro 301 if (cidr != HOST_MASK) in hash_ipportip6_uadt()
|
H A D | ip_set_hash_ipmac.c | 79 #define HOST_MASK 32 macro 186 #undef HOST_MASK macro 191 #define HOST_MASK 128 macro
|
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/ |
H A D | mach64_accel.c | 307 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); in atyfb_imageblit() 311 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); in atyfb_imageblit() 315 pix_width &= ~HOST_MASK; in atyfb_imageblit() 319 pix_width &= ~HOST_MASK; in atyfb_imageblit() 323 pix_width &= ~HOST_MASK; in atyfb_imageblit() 327 pix_width &= ~HOST_MASK; in atyfb_imageblit() 331 pix_width &= ~HOST_MASK; in atyfb_imageblit()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/ |
H A D | mach64_accel.c | 307 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); in atyfb_imageblit() 311 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); in atyfb_imageblit() 315 pix_width &= ~HOST_MASK; in atyfb_imageblit() 319 pix_width &= ~HOST_MASK; in atyfb_imageblit() 323 pix_width &= ~HOST_MASK; in atyfb_imageblit() 327 pix_width &= ~HOST_MASK; in atyfb_imageblit() 331 pix_width &= ~HOST_MASK; in atyfb_imageblit()
|