Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,987 for Devname (0.14 sec)

  1. pkg/proxy/ipvs/netlink_linux.go

    	}
    	return false, nil
    }
    
    // UnbindAddress makes sure IP address is unbound from the network interface.
    func (h *netlinkHandle) UnbindAddress(address, devName string) error {
    	dev, err := h.LinkByName(devName)
    	if err != nil {
    		return fmt.Errorf("error get interface: %s, err: %v", devName, err)
    	}
    	addr := netutils.ParseIPSloppy(address)
    	if addr == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 30 16:18:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/testing/fake.go

    	}
    	for i, addr := range h.localAddresses[devName] {
    		if addr == address {
    			// delete address from slice h.localAddresses[devName]
    			h.localAddresses[devName] = append(h.localAddresses[devName][:i], h.localAddresses[devName][i+1:]...)
    			return nil
    		}
    	}
    	// return error message if address is not found in slice h.localAddresses[devName]
    	return fmt.Errorf("address: %s is not found in interface: %s", address, devName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/netlink.go

    	EnsureAddressBind(address, devName string) (exist bool, err error)
    	// UnbindAddress unbind address from the interface
    	UnbindAddress(address, devName string) error
    	// EnsureDummyDevice checks if dummy device is exist and, if not, create one.  If the dummy device is already exist, return true.
    	EnsureDummyDevice(devName string) (exist bool, err error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 27 19:02:20 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. internal/disk/stat_linux.go

    		if err == nil {
    			devName := ""
    			diskstats, _ := bfs.ProcDiskstats()
    			for _, dstat := range diskstats {
    				// ignore all loop devices
    				if strings.HasPrefix(dstat.DeviceName, "loop") {
    					continue
    				}
    				if dstat.MajorNumber == info.Major && dstat.MinorNumber == info.Minor {
    					devName = dstat.DeviceName
    					break
    				}
    			}
    			if devName != "" {
    				info.Name = devName
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. pkg/volume/fc/attacher.go

    		if detachError != nil {
    			klog.V(4).Infof("fc: failed to detach disk %s (%s): %v", devName, deviceMountPath, detachError)
    			return false, nil
    		}
    		return true, nil
    	})
    	if err != nil {
    		return fmt.Errorf("fc: failed to detach disk: %s: %v", devName, detachError)
    	}
    
    	klog.V(2).Infof("fc: successfully detached disk: %s", devName)
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  6. internal/disk/disk.go

    // Free - free size of the volume / disk
    // Files - total inodes available
    // Ffree - free inodes available
    // FSType - file system type
    // Major - major dev id
    // Minor - minor dev id
    // Devname - device name
    type Info struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	Files      uint64
    	Ffree      uint64
    	FSType     string
    	Major      uint32
    	Minor      uint32
    	Name       string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. docs/debugging/reorder-disks/main.go

    			continue
    		}
    		mami, err := getMajorMinor(diskName)
    		if err != nil {
    			log.Printf("skipping `%s`, err: %v\n", diskName, err)
    			continue
    		}
    		devName := mountMap[mami]
    		uuid := uuidMap[devName]
    		fmt.Printf("UUID=%s\t%s\txfs\tdefaults,noatime\t0\t2\n", uuid, expectedDiskName)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. test/rename.go

    Emmanuel Odeke <******@****.***> 1460323946 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  9. releasenotes/notes/inbound-cluster-rename.yaml

    John Howard <******@****.***> 1606926239 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 02 16:23:59 UTC 2020
    - 232 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        String oldName = Thread.currentThread().getName();
        final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                assertEquals(Thread.currentThread().getName(), newName.get());
                return null;
              }
            };
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top